detr-resnet-50 Beta
Object Detection • facebookDEtection TRansformer (DETR) model trained end-to-end on COCO 2017 object detection (118k annotated images).
Usage
Workers - TypeScript
curl
Parameters
Input
-
0
stringThe image to use for detection
-
1
object-
image
arrayAn array of integers that represent the image data constrained to 8-bit unsigned integer values
-
items
numberA value between 0 and 255 (unsigned 8bit)
-
-
Output
-
items
object-
score
numberConfidence score indicating the likelihood that the detection is correct
-
label
stringThe class label or name of the detected object
-
box
objectCoordinates defining the bounding box around the detected object
-
xmin
numberThe x-coordinate of the top-left corner of the bounding box
-
ymin
numberThe y-coordinate of the top-left corner of the bounding box
-
xmax
numberThe x-coordinate of the bottom-right corner of the bounding box
-
ymax
numberThe y-coordinate of the bottom-right corner of the bounding box
-
-
API Schemas
The following schemas are based on JSON Schema