A starter template for Node.js with OpenCV bindings.
This project lets you to quickly prototype a REST API in a Node.js for a image processing service written in C++.
# Get the latest snapshot
$ git clone —depth=1 --branch 0.0.1 https://github.com/CloudCV/cloudcv-bootstrap.git myproject
$ cd myproject
$ git remote rm origin
# Install NPM dependencies
$ npm install
# Start local server
$ npm start
After starting local webserver, navigate to http://localhost:3000 where you should see similar page:
Here you can drop arbitrary image to extract dominant colors using REST-API.
npm start
npm test
Explore the series of blog posts:
- https://computer-vision-talks.com/introducing-cloudcv-bootstrap/
- https://computer-vision-talks.com/marshalling-data-in-nodejs-c-modules/
- https://computer-vision-talks.com/how-to-debug-nodejs-addons-in-visual-studio/
CloudCV bootstrap is free software/open source, and is distributed under the BSD license. It contains third-party code, see the included third-party.txt
file for the license information on third-party code.
CloudCV bootstrap is created and maintained by Eugene Khvedchenya (Twitter: @cvtalks). Follow the official Twitter stream @cvtalks to get the frequent development updates.