Repository navigation
Experiments in Optimization
We are currently building out the functionality of SimpleCV.js and we are slowly attempting to replicate all of the functionality in the python version of SimpleCV. This is great except for the fact that SimpleCV builds upon the already existing (OpenCV)[http://www.opencv.org] library. OpenCV has been under development for over ten years and many of the core C/C++ algorithms have been optimized ad nauseum. In SimpleCV we take the raw python bindings provided by OpenCV, clean them up, and add our own secret sauce that makes them easy to use. Unfortunately, in CoffeeScript/JavaScript land we can't make use of these routines. There are no quick and easy was to cross compile C++ to java script or coffee script. To make matters worse many of the C++ routines in OpenCV are highly templated, which means it is non-trivial to take a chunk of working C++ image processing source code and modify so it looks like javascript or coffee script. To create a lot of the functionality we want in SimpleCV.js our only option is to re-invent the wheel.