Connecting OpenCV and Node.js inside Cloud9 IDE
Cloud image processing using OpenCV and Node.js
A long time ago i was playing with cloud-based image processing. The first reason why i didn’t shared a reciple how to compile OpenCV as native app for windows azure cloud was trycky build process. It was too complicated and this tutorial will become outdated very quickly. The second one - Azure hosting wants a lot of money. So i put my research in this area on hold for better times.
And i think the time has come. You probably heard about Node.js - server-side asynchronous Java Script library. I have very small experience with Java-Script, but Node.js attracted me so strong i decided to study it. In this post i will describe how to connect Node.js and OpenCV together. On server-side OpenCV libary can be used for many things - generating CAPTCHA’s recognizing scans, counting people in video streams.. So i beleive my tutorial will come in handy to people who is looking how to do image processing in the cloud environment.
Node.js is written in Java-script, and follows asynchronous programming model, where events and callbacks plays dominant role. OpenCV is a C++ library written in good old C and C++ and it don’t bother with asynchronous and event-based programming model. Fortunately Node.js can interop with external modules written in C++. It’s made via V8 engine which is a core of Node.js.
Success-story: Fueling ARBasketball up with NEON
Book review: Instant OpenCV Starter
A Instant OpenCV Starter is a short (56 pages) guidebook to help you to start developing apps with OpenCV library. This guide is aimed for developers who are not familiar with OpenCV or want to improve their experience. Instant OpenCV Starter will teach you how to set-up developer environment and build projects that use OpenCV library for both Windows and Linux platforms.