Hi there!
I’m trying to optimise the workings of ofxCvHaarFinder by feeding it a lower resolution camera image - 160x90 instead of 1280x720. This is what the code looks like:
colorImg.setFromPixels(camera.getPixelsRef());
colorImg.resize(faceFinderWidth, faceFinderHeight);
grayImg = colorImg;
faceFinder.findHaarObjects(grayImg);
It all works fine, recognising all I need and the framerate does go up to 30+ instead of 0.7, but I get this continuous stream of messages in the console:
[notice ] ofxCvColorImage: setFromPixels(): reallocating to match dimensions: 160 90 [notice ] ofxCvColorImage: setFromPixels(): reallocating to match dimensions: 160 90 [notice ] ofxCvColorImage: setFromPixels(): reallocating to match dimensions: 160 90
What is it that I’m doing wrong here?
Thanks!!!