Performs object detection on any Texture input (e.g., Texture2D or RenderTexture) using the Unity Inference Engine.
The model runs entirely on-device, producing bounding boxes, scores, and class IDs, which are filtered via GPU-based Non-Maximum Suppression (NMS) and returned as a compact binary result.
ParameterssrcThe source Texture to process. Must be readable on GPU.
ctOptional CancellationToken to abort inference if needed.
ReturnsA binary-encoded byte array containing filtered detections in the format: [count][x,y,w,h,score,classId,label] per detection.