Get Started         Best Practices         Developer Guide         FAQ        
Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

cannot get results from image recognition api if the score is 41

joe Mar 24, 2015

Hi there,

I can get results when the score is 41 or 23 for image recognition on image recognition tester page. But cannot get results through api, while I can get results when the score is 100 via api. Can you please suggest how I can get result via api when the score is not high? Thanks.


( Agent )
Tomasz Adamek

Mar 25, 2015

Hi Joe,

There is a subtle difference in how the query images are treated when you use the recognition test page and the REST API. In the test page, if the image has the shorter edge longer than 480 pixels, we downscale it, to avoid dealing with unnecessarily large images. In the REST API we do not perform any resizing of the incoming query images. Sometimes this extra step causes small fluctuations in scores, and for dificult cases, where the score falls below certain threshold, the result may be eliminated.

However, this does not explain the fluctuations that you are reporting.

How do you send the images to our REST API? Do you resize or prepare them in any special way? If yes, I recommend that you check our recommendations for it:

Is it possible that you are using our mobile SDK or the python library? In them we prepare the images in a way that is optimal for most use cases by resizing them and compressing (balancing good recognition and small file sizes). As a result you may see worse recognition performance with queries where the objects to be recognised are small (since the image resolution is lower than in the test page). If this is your case we can help you changing those default settings.

Best regards,

0 rated

This question has received the maximum number of answers.

Couldn't find what you were looking for?
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found