We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
This is the documentation for the SmartSight API.
Takes an image as input and returns predictions.
curl -X POST -H 'Content-Type: multipart/form-data' -F 'file=@pizza.jpg' http://localhost:3000/classify
{ "meta": { "type": "success", "code": 200 }, "data": "[{\"class\": \"pizza, pizza pie\", \"score\": 0.884148}, {\"class\": \"butcher shop, meat market\", \"score\": 0.002444}, {\"class\": \"carbonara\", \"score\": 0.00208}, {\"class\": \"trifle\", \"score\": 0.002078}, {\"class\": \"pomegranate\", \"score\": 0.001326}]" }
{ "error": { "code": 405, "message": "No file specified (expect jpg, jpeg)" } }