ximgproc_EdgeBoxes
import { ximgproc_EdgeBoxes } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Native object: release it with using or delete(). Factories can return null; check before calling methods. Inherits Algorithm.
Class implementing EdgeBoxes algorithm from [ZitnickECCV14edgeBoxes] :
Constructors and members
clone
Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.
clone(): this;The this result.
getBoundingBoxes
Returns array containing proposal boxes.
getBoundingBoxes(edge_map: Mat, orientation_map: Mat, boxes: RectVector, scores: Mat): void;2 available overloads
getBoundingBoxes(edge_map: Mat, orientation_map: Mat, boxes: RectVector): void;getBoundingBoxes(edge_map: Mat, orientation_map: Mat, boxes: RectVector, scores: Mat): void;edge_mapedge image.
orientation_maporientation map.
boxesOutput destination, filled by the native operation. proposal boxes.
scoresOutput destination, filled by the native operation. of the proposal boxes, provided a vector of float types.
getAlpha
Returns the step size of sliding window search.
getAlpha(): number;The number result.
setAlpha
Sets the step size of sliding window search.
setAlpha(value: number): void;valuevalue argument (number).
getBeta
Returns the nms threshold for object proposals.
getBeta(): number;The number result.
setBeta
Sets the nms threshold for object proposals.
setBeta(value: number): void;valuevalue argument (number).
getEta
Returns adaptation rate for nms threshold.
getEta(): number;The number result.
setEta
Sets the adaptation rate for nms threshold.
setEta(value: number): void;valuevalue argument (number).
getMinScore
Returns the min score of boxes to detect.
getMinScore(): number;The number result.
setMinScore
Sets the min score of boxes to detect.
setMinScore(value: number): void;valuevalue argument (number).
getMaxBoxes
Returns the max number of boxes to detect.
getMaxBoxes(): number;The number result.
setMaxBoxes
Sets max number of boxes to detect.
setMaxBoxes(value: number): void;valuevalue argument (number).
getEdgeMinMag
Returns the edge min magnitude.
getEdgeMinMag(): number;The number result.
setEdgeMinMag
Sets the edge min magnitude.
setEdgeMinMag(value: number): void;valuevalue argument (number).
getEdgeMergeThr
Returns the edge merge threshold.
getEdgeMergeThr(): number;The number result.
setEdgeMergeThr
Sets the edge merge threshold.
setEdgeMergeThr(value: number): void;valuevalue argument (number).
getClusterMinMag
Returns the cluster min magnitude.
getClusterMinMag(): number;The number result.
setClusterMinMag
Sets the cluster min magnitude.
setClusterMinMag(value: number): void;valuevalue argument (number).
getMaxAspectRatio
Returns the max aspect ratio of boxes.
getMaxAspectRatio(): number;The number result.
setMaxAspectRatio
Sets the max aspect ratio of boxes.
setMaxAspectRatio(value: number): void;valuevalue argument (number).
getMinBoxArea
Returns the minimum area of boxes.
getMinBoxArea(): number;The number result.
setMinBoxArea
Sets the minimum area of boxes.
setMinBoxArea(value: number): void;valuevalue argument (number).
getGamma
Returns the affinity sensitivity.
getGamma(): number;The number result.
setGamma
Sets the affinity sensitivity
setGamma(value: number): void;valuevalue argument (number).
getKappa
Returns the scale sensitivity.
getKappa(): number;The number result.
setKappa
Sets the scale sensitivity.
setKappa(value: number): void;valuevalue argument (number).
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.