libfacedetection icon indicating copy to clipboard operation
libfacedetection copied to clipboard

Not getting proper rect

Open priyanka6692 opened this issue 4 years ago • 2 comments

I just go through the ios example but I'm not getting proper rect values. The output is like this IMG-0355 Is there anything I'm missing

priyanka6692 avatar Apr 24 '20 12:04 priyanka6692

How about to resize your images to 320 pixels or similar?

ShiqiYu avatar May 20 '20 14:05 ShiqiYu

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}

lynnwilliam avatar Nov 14 '22 02:11 lynnwilliam