Performs object detection on an encoded image (JPEG/PNG).
Used by cloud providers (e.g., HuggingFace) that accept binary image uploads.
ParametersimageJpgOrPngEncoded image bytes in JPEG or PNG format.
ctCancellation token for aborting the operation.
ReturnsJSON string containing detection results with boxes, scores, and labels.