gapi_parseSSD
import { gapi_parseSSD } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
namespace nn Parses output of SSD network.
Extracts detection information (box, confidence, label) from SSD output and filters it by given confidence and label.
Note: Function textual ID is "org.opencv.nn.parsers.parseSSD_BL"
gapi_parseSSD(in_: GMat, inSz: GOpaque_Size, confidenceThreshold: number, filterLabel: number): tuple_GArray_Rect_and_GArray_int;3 available overloads
gapi_parseSSD(in_: GMat, inSz: GOpaque_Size): tuple_GArray_Rect_and_GArray_int;gapi_parseSSD(in_: GMat, inSz: GOpaque_Size, confidenceThreshold: number): tuple_GArray_Rect_and_GArray_int;gapi_parseSSD(in_: GMat, inSz: GOpaque_Size, confidenceThreshold: number, filterLabel: number): tuple_GArray_Rect_and_GArray_int;in_Input CV_32F tensor with {1,1,N,7} dimensions.
inSzSize to project detected boxes to (size of the input image).
confidenceThresholdIf confidence of the detection is smaller than confidence threshold, detection is rejected.
filterLabelIf provided (!= -1), only detections with given label will get to the output.
a tuple with a vector of detected boxes and a vector of appropriate labels.
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.