Close

Search found 2 matches

Return to advanced search

Re: Getting an empty 'objects' array when sending inline ima

Got some more information from the error log:

error: ERROR_MEDIA_DATA
reasonCode: 40005
Reason: Wrong encoded image: data:image/jpeg;base64,<data>

where <data> is the Base64 encoded image.
by chiaramail
Tue Mar 15, 2016 4:45 pm
 
Forum: Technical Support
Topic: Getting an empty 'objects' array when sending inline image
Replies: 1
Views: 1237

Getting an empty 'objects' array when sending inline image

I essentially copied the sample Detection API Java code that shows how to upload a photo and get back results showing gender. This works fine as long as the image is referenced by a URL, but if instead I send the image inline, after reading it from disk and Base64 encoding it, although I get a HTML ...
by chiaramail
Mon Mar 14, 2016 11:07 pm
 
Forum: Technical Support
Topic: Getting an empty 'objects' array when sending inline image
Replies: 1
Views: 1237

Return to advanced search