PS: I’m still very busy with master thesis.

PS: I’m still very busy with master thesis.

Trying to train cascade classifiers for my HoG based detector takes up the entire CPU resources and the whole day to train a sample version. Thus I ended up diverting my attention to University’s PC instead, however compiling OpenCV and making opencv_traincascade run without error is not a simple task. Let’s see how it goes.

The HoG detector works though, just that it’s too slow without using cascade classifier. Continue reading

Configuring Sublime to work with OpenCV on Mac

So, I just bought Sublime Text fromĀ http://www.sublimetext.com, which is supposed to be a very good cross platform text editor. I’ve been programming OpenCV applications using XCode, but rarely using editor or even compiling it from command line.

However, after tinkering a bit, I’ve managed to create a this built system for Sublime, which should allow you to compile and run OpenCV / C++ application from it. Just go to Tools > Build System > New Build System

My OpenCV was installed using HomeBrew, which has pkg-config information for opencv already created insideĀ /usr/Local/Cellar/opencv/2.4.4/lib/pkgconfig/, thus you can utilize pkg-config to generate the include and library flags for g++ from it.

Continue reading