Closed Yoshitaka-Fukushima closed 1 year ago
There is typo in current message. "samller" is "smaller".
Issue fixed in version 1.0.3 on 26.01.2023 Two restrictions still remain at upload time: file size <= 768kb and image size >=32*32
Thank you for comment. @alexnaicuorbnet Actually, limitation of file size( <= 768kb) and image size( >=32*32 ) are also not for whole image but cropped face region.
I think it is difficult to calculate the data size of cropped region. Is that correct ? If so, could you remove the limitation about file size ? In my experience, usually 512x512 jpeg file does not exceed 768kb.
Thanks @Yoshitaka-Fukushima Does the minimum size 32*32 include the 50% margin? As for the in-memory size of the cropped region -> I don't estimate it to take much effort.
Issue fixed in version 1.0.3 on 26.01.2023 Removed the restrictions for file size and added the minimum 32*32 (including 50% border) and memory size under 768 KB for the detected faces cropped images that get sent to AG.
Thank you for implementation, it is OK. We will check. @alexnaicuorbnet
Test version : v1.0.3 released on 27th,Jan. Fixed.
I want to just confirm for our testing.
The feature to show message when detected face is under 75 pixel is not implemented for upload photo screen for search. This has been implemented for face registration screen. Is it correct ?
@Yoshitaka-Fukushima Indeed, that feature is not implemented at upload images for search, only at face registration. Now in the upload images for search screen you are able to select images with size ranging from 3232 (including 50% border) to 512512 (including 50% border).
@alexnaicuorbnet I understand, current implementation is perfect. I close this ticket.
Test version: v1.0.3 released on 24th, Jan.
When we upload photo which resolution is more than 512 x 512, error message is shown.
This maximum size should be applied not for whole image but each cropped face area. Currently, this restriction causes much smaller face depending on the photo and result inaccurate search.
Based on previous discussion, currently, cropped face image includes 50% margin for left, right, top and bottom are added to the detected face by OpenCV as follows.
The maximum size case is as below and up to 256 pixel can be used detected by openCV (white rectangle).