Home

Awesome

opencv-express

This is an example of how to use opencv4nodejs in your web apps with express.js or any other serverside node.js framework. A minimalistic docker image is provided with opencv-3.4.1 and opencv_contrib-3.4.1 + node.js environment set up (opencv4nodejs globally installed).

Build the image:

docker-compose build

Run:

docker-compose up

Docker image:

~353mb (compressed size: ~124mb)

Set up your own image:

If you want to build your own docker image or use a different OpenCV version, you can pull one of the OpenCV 3.x base images: https://hub.docker.com/u/justadudewhohacks/.