{"__v":2,"_id":"579c3a41d46f960e0029a88e","category":{"__v":0,"_id":"579c39afc6625a0e00a887c8","project":"574723d2c333472000a7196f","version":"574723d2c333472000a71972","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-07-30T05:22:55.740Z","from_sync":false,"order":4,"slug":"objects","title":"Object Detection"},"parentDoc":null,"project":"574723d2c333472000a7196f","user":"5796dd7afa1ff60e006a1292","version":{"__v":8,"_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","592472080f7f402f00161c82","592c84e03c94230f006169d4"],"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-30T05:25:21.125Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"code":"curl -X POST -H 'X-ApiKey: YOUR_API_KEY' -d :::at:::annotation_data.json https://api-testing.semantic.md/v1/image/object/train","language":"curl"}]},"method":"post","results":{"codes":[{"name":"","code":"{\n    \"job_id\": \"8a2c53fc-d2d0-4896-a2fc-26744b6c8a77\"\n}","language":"json","status":200}]},"settings":"","auth":"required","params":[{"_id":"579c3c34fefb1d0e00c94ec6","ref":"","in":"body","required":false,"desc":"","default":"","type":"object","name":"annotation_data"}],"url":"/v1/image/object/train"},"isReference":false,"order":0,"body":"[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{'annotations': \\n [{'name': 'brainbleed',\\n   'url': 'http://images.radiopaedia.org/images/3922/727ed334e18fa56fa3a0838698eec3_big_gallery.jpg',\\n   'x1': 0.2,\\n   'x2': 0.45,\\n   'y1': 0.3,\\n   'y2': 0.35},\\n  {'name': 'brainbleed',\\n   'url': 'http://images.radiopaedia.org/images/3922/727ed334e18fa56fa3a0838698eec3_big_gallery.jpg',\\n   'x1': 0.55,\\n   'x2': 0.6,\\n   'y1': 0.55,\\n   'y2': 0.6},\\n  {'name': 'brainbleed',\\n   'url': 'http://images.radiopaedia.org/images/3922/727ed334e18fa56fa3a0838698eec3_big_gallery.jpg',\\n   'x1': 0.25,\\n   'x2': 0.34,\\n   'y1': 0.53,\\n   'y2': 0.79}]}\",\n      \"language\": \"json\",\n      \"name\": \"annotation_data\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"object-detection-training","type":"endpoint","title":"Training"}

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

annotation_data:
object

Examples


Result Format


Documentation

[block:code] { "codes": [ { "code": "{'annotations': \n [{'name': 'brainbleed',\n 'url': 'http://images.radiopaedia.org/images/3922/727ed334e18fa56fa3a0838698eec3_big_gallery.jpg',\n 'x1': 0.2,\n 'x2': 0.45,\n 'y1': 0.3,\n 'y2': 0.35},\n {'name': 'brainbleed',\n 'url': 'http://images.radiopaedia.org/images/3922/727ed334e18fa56fa3a0838698eec3_big_gallery.jpg',\n 'x1': 0.55,\n 'x2': 0.6,\n 'y1': 0.55,\n 'y2': 0.6},\n {'name': 'brainbleed',\n 'url': 'http://images.radiopaedia.org/images/3922/727ed334e18fa56fa3a0838698eec3_big_gallery.jpg',\n 'x1': 0.25,\n 'x2': 0.34,\n 'y1': 0.53,\n 'y2': 0.79}]}", "language": "json", "name": "annotation_data" } ] } [/block]

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 }}