libfacedetection
libfacedetection copied to clipboard
Not getting proper rect
I just go through the ios example but I'm not getting proper rect values. The output is like this
Is there anything I'm missing
How about to resize your images to 320 pixels or similar?
I have the same issue, I am resizing the input image to 320 x 320. and it finds the correct number of faces (34), BUT the bounding boxes are wrong. There are 34 faces, each face is 100 pixels wide, after the resize. Bounding Box x, y, width, height FaceDetection: {23, 30, 256x193} FaceDetection: {21, 25, 103x251} FaceDetection: {21, 25, 154x42} FaceDetection: {21, 27, 154x96} FaceDetection: {23, 26, 43x102} FaceDetection: {26, 30, 97x92} FaceDetection: {21, 27, 263x91} FaceDetection: {22, 29, 208x141} FaceDetection: {23, 28, 201x39} FaceDetection: {24, 31, 201x90} FaceDetection: {23, 31, 256x250} //says face is close to the same size as the input FaceDetection: {20, 16, 215x7} FaceDetection: {23, 31, 263x142} FaceDetection: {21, 25, 154x248} FaceDetection: {24, 18, 151x12} FaceDetection: {15, 14, 114x6} FaceDetection: {17, 22, 59x212} FaceDetection: {17, 22, 155x208} FaceDetection: {22, 25, 146x154}