Food Image Recognition 211

67 views
Skip to first unread message

Munshi Nadim

unread,
Jun 21, 2025, 6:53:19 AMJun 21
to fatsecret Platform API
Hello,

When I pass a base64 string of a food image taken via camera, I get a 211: Food not detected error. However, when I convert the string and use the recognition demo, the food is detected. Is there a specific format to follow when passing the string? Otherwise, how can I fix this bug?

seba...@fatsecret.com

unread,
Jun 21, 2025, 6:54:39 AMJun 21
to fatsecret Platform API
Hi there,
Thanks for reaching out. Has your API previously been correctly provisioned with access to Image Recognition?
If so, the demo and live API will return the same results/values.
Please also ensure the image is of the correct size i.e. max 1.09MB

Reply all
Reply to author
Forward
0 new messages