module pixeltable.functions.yolox
YOLOX object detection functions.
udf yolo_to_coco()
Converts the output of a YOLOX object detection model to COCO format.
Parameters:
detections (Json): The output of a YOLOX object detection model, as returned by yolox.
Returns:
Json: A dictionary containing the data from detections, converted to COCO format.
Examples:
Add a computed column that converts the output tbl.detections to COCO format, where tbl.image is the image for which detections were computed:
udf yolox()
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
Parameters:
model_id (String): one of: yolox_nano, yolox_tiny, yolox_s, yolox_m, yolox_l, yolox_x
threshold (Float): the threshold for object detection
Returns:
Json: A dictionary containing the output of the object detection model.
Examples:
Add a computed column that applies the model yolox_m to an existing Pixeltable column tbl.image of the table tbl:
Last modified on January 15, 2026