MTCNN-light icon indicating copy to clipboard operation
MTCNN-light copied to clipboard

1080p iamge is process error

Open xyt2008 opened this issue 7 years ago • 3 comments

when i use this code to process 1080p image ,it has an error.640*480 iamge is normal.

xyt2008 avatar Jun 16 '17 10:06 xyt2008

You need check the error,confirm your image is right. In fact,the picture named 4.jpg is not 640*480, it also can be processed. May be, 1080p image can not be displayed normally.

AlphaQi avatar Jun 17 '17 06:06 AlphaQi

I met the same problems.when read 640*480 video ,is normal ,but read 1080P ,the error is "the feature2MatrixInit failed!!" how can I fix it? Thaks

Ghustwb avatar Jun 28 '17 02:06 Ghustwb

I am sorry for this problem, now, it has been solved, I added some codes to mtcnn.cpp. if you set the minsize too small, the resize scale will be small too, if the smallest scale *maxside of image<12, error occurred , because the Pnet input size is 12.

AlphaQi avatar Jun 28 '17 03:06 AlphaQi