Found Faces is always 0, when using C++ ,linux SDK in raspberrypi


#1

Hello,
I have written the code for detection of emotion in C++ , in raspberrypi.
The code is compiled successfully, but after running the program the Found faces are always 0.
I tried with all resolutions of images, ranging from 100100 to 10241024. But it is not able to detect the faces. For getting image data i am using Cool Image library(far better than ImageMagick), but number of faces displaying is always 0.


#2

My best guess is that there might be a problem in the way you are creating a Frame object from your image data. Take a close look at the format of the raw image data that you have, and the parameters you are passing to the Frame constructor.