-
Notifications
You must be signed in to change notification settings - Fork 641
a error "Image is too small" occurs when detect face #104
Comments
Hi qinyuanpei, I'm facing the same issue right now. |
I submit this issue at last year, but I can't solve it yet. 😃 |
Ah okay, i'll just try a manual api call. thanks |
I am facing the same issue is there any fix to this problem yet |
@chetanyachopra Yes manual implementations work, can't recall what the issue was. I'd suggest to do all the calls manually though, not just this one. |
Just wondering, if there have been any updates for this issue. |
@chetanyachopra @fatahfattah @qinyuanpei @fadyanwar Is there any ways of resolving this issue? |
I see there is no solution here yet but want to share how we fix this on our side: We used to detect the face and then creating a person within a group right after detection. For these both operations we were using the same MemoryStream object so when I check the MemoryStream object right before the second operation I saw that the position of the stream was the end of the size. I just set the position to 0 again so everything started to work fine. Be cautious when we try to use the same MemoryStream object multiple times. At first usage, the position is 0 but for the next usages the position will be the end file and you need to set it to 0 again to be able to use. |
OK, there is a error "Image is too small" occurs when I try to detect face in image to upload
Here are results returned by API:
Actually, all width and height of these images are more than 640px.
These images can be handled when I upload them into your website, so I am so confused about this result. I write Python script as following:
So can you help me to resolve this issue? Thanks you.
The text was updated successfully, but these errors were encountered: