gapi_ot_track1
import { gapi_ot_track1 } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Tracks objects with video frames. Overload of track(...) for frame as GFrame.
gapi_ot_track1(frame: GFrame, detected_rects: GArray_Rect, detected_class_labels: GArray_int, delta: number): tuple_GArray_Rect_and_GArray_int_end__and_GArray_uint64_t_end__and_GArray_int;frameInput frame.
detected_rectsDetected objects rectangles in the input frame.
detected_class_labelsDetected objects class labels in the input frame.
deltaFrame_delta_t Delta time between two consecutive tracking in seconds. The valid range is [0.005 ~ 0.5].
Tracking results of target objects. cv::GArraycv::Rect Array of rectangles for tracked objects. cv::GArray<int32_t> Array of detected objects labels. cv::GArray<uint64_t> Array of tracking IDs for objects. Numbering sequence starts from 1. The value 0 means the tracking ID of this object has not been assigned. cv::GArray<int> Array of tracking statuses for objects.
These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.