bencevans/megadetector-v5b
Detect Animals, Humans and Vehicles in Camera Trap Imagery with MegaDetector v5b
Run bencevans/megadetector-v5b with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| image |
string
|
Input image
|
|
| minimum_confidence_threshold |
number
|
0.2
Max: 1 |
Confidence Threshold
|
{
"type": "object",
"title": "Input",
"required": [
"image"
],
"properties": {
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Input image"
},
"minimum_confidence_threshold": {
"type": "number",
"title": "Minimum Confidence Threshold",
"default": 0.2,
"maximum": 1,
"minimum": 0,
"x-order": 1,
"description": "Confidence Threshold"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "object",
"title": "Output",
"required": [
"image",
"detections"
],
"properties": {
"image": {
"type": "object",
"title": "Image",
"required": [
"width",
"height"
],
"properties": {
"width": {
"type": "integer",
"title": "Width"
},
"height": {
"type": "integer",
"title": "Height"
}
}
},
"detections": {
"type": "array",
"items": {
"type": "object",
"required": [
"bbox",
"category",
"confidence"
],
"properties": {
"bbox": {
"type": "array",
"items": {
"type": "number"
},
"title": "Bbox"
},
"category": {
"type": "string",
"title": "Category"
},
"confidence": {
"type": "number",
"title": "Confidence"
}
}
},
"title": "Detections"
}
}
}