UDFs
yolo_to_coco()
udf
Converts the output of a YOLOX object detection model to COCO format.
Signature:
detections
(Json): The output of a YOLOX object detection model, as returned byyolox
.
- Json: A dictionary containing the data from
detections
, converted to COCO format.
tbl.detections
to COCO format, where tbl.image
is the image for which detections were computed:
yolox()
udf
Computes YOLOX object detections for the specified image. model_id
should reference one of the models
defined in the YOLOX documentation.
Requirements:
pip install pixeltable-yolox
model_id
(String): one of:yolox_nano
,yolox_tiny
,yolox_s
,yolox_m
,yolox_l
,yolox_x
threshold
(Float): the threshold for object detection
- Json: A dictionary containing the output of the object detection model.
yolox_m
to an existing Pixeltable column tbl.image
of the table tbl
: