Scene classification JSON

POST {{ask-filerobot-server}}/images/scene-classification

Request Body

{"files_urls"=>[{"url"=>"http://sample.li/tesla.jpg"}, {"url"=>"http://sample.li/face.png"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Filerobot-TokenstringFilerobot project identifier, aka token
Filerobot-KeystringFilerobot API key

RESPONSES

status: Created

{"status":"success","version":"2.9.4","result":[{"source":"cache-file","sha1":"cc9a4427c90ba5881e5be8d3521724cfcfc9f5b8","predictions":{"environment":"outdoor","scene_categories":[{"category":"driveway","probability":0.199},{"category":"field_road","probability":0.198},{"category":"parking_lot","probability":0.175},{"category":"raceway","probability":0.076},{"category":"forest_road","probability":0.073}],"scene_attributes":["natural light","open area","trees","foliage","vegetation","man-made","leaves","grass","no horizon"]},"request_uuid":"4e10f551-0aac-4ef6-89f9-fad304147339"},{"source":"cache-file","sha1":"b5d07a2d7648df181c94b2e2c8616ff7a91ca8c0","predictions":{"environment":"outdoor","scene_categories":[{"category":"park","probability":0.374},{"category":"wheat_field","probability":0.085},{"category":"rainforest","probability":0.072},{"category":"orchard","probability":0.069},{"category":"bamboo_forest","probability":0.048}],"scene_attributes":["natural light","no horizon","open area","foliage","cloth","trees","vegetation","leaves","natural"]},"request_uuid":"4784d1b5-ad1d-4d13-9547-8103cf86b4e5"}]}