{"__v":1,"_id":"579c1c54dfab9d0e00861618","category":{"__v":0,"_id":"579c39a7f3f4d50e00b54784","project":"574723d2c333472000a7196f","version":"574723d2c333472000a71972","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-07-30T05:22:47.477Z","from_sync":false,"order":1,"slug":"images","title":"Image Detection"},"parentDoc":null,"project":"574723d2c333472000a7196f","user":"5796dd7afa1ff60e006a1292","version":{"__v":6,"_id":"574723d2c333472000a71972","project":"574723d2c333472000a7196f","createdAt":"2016-05-26T16:26:58.290Z","releaseDate":"2016-05-26T16:26:58.290Z","categories":["574723d2c333472000a71973","579c1f017a6aaa0e00756117","579c39a7f3f4d50e00b54784","579c39a9cbe2390e00c25e2b","579c39afc6625a0e00a887c8","579c3a87cbe2390e00c25e2c"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-07-30T03:17:40.635Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"code":"curl -X POST -H 'X-ApiKey: YOUR_API_KEY' -F \"s3_bucket=YOUR_S3_BUCKET\" -F \"s3_path=YOUR_S3_PATH\" https://api-testing.semantic.md/v1/image/train","language":"curl"},{"code":"curl -X POST -H 'X-ApiKey: YOUR_API_KEY' -d \"image_urls[]=https://www.com/images/class_a/0.jpg\" -d \"image_urls[]=https://www.com/images/class_a/1.jpg\" -d \"image_urls[]=https://www.com/images/class_b/0.jpg\" -d \"image_urls[]=https://www.com/images/class_b/1.jpg\" https://api-testing.semantic.md/v1/image/train","language":"curl"}]},"results":{"codes":[{"status":200,"language":"json","code":"{\n    \"job_id\": \"8a2c53fc-d2d0-4896-a2fc-26744b6c8a77\"\n}","name":""}]},"settings":"","auth":"required","params":[{"_id":"579c1c54dfab9d0e0086161a","ref":"","in":"body","required":false,"desc":"Amazon S3 bucket storing the images","default":"","type":"string","name":"s3_bucket"},{"_id":"579c1c54dfab9d0e00861619","ref":"","in":"body","required":false,"desc":"Amazon S3 folder path within the s3_bucket","default":"","type":"string","name":"s3_path"},{"_id":"579c3c7ec6625a0e00a887ca","ref":"","in":"body","required":false,"desc":"Image classes are derived from the folder name containing the image files on the remote server","default":"","type":"array_string","name":"image_urls"}],"url":"/v1/image/train"},"isReference":false,"order":0,"body":"","excerpt":"","slug":"image-training","type":"post","title":"Training"}

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

s3_bucket:
string
Amazon S3 bucket storing the images
s3_path:
string
Amazon S3 folder path within the s3_bucket
image_urls:
array of strings
Image classes are derived from the folder name containing the image files on the remote server

Examples


Result Format


User Information

Try It Out

post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}