Skip to content

ximgproc_EdgeBoxes

Extended image processingclassOpenCV 5.0.0
import { ximgproc_EdgeBoxes } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSConstructor or factory
CLASSximgproc_EdgeBoxes
RETURN TYPEOwned native handle
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

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;
Returns

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_map

edge image.

orientation_map

orientation map.

boxes

Output destination, filled by the native operation. proposal boxes.

scores

Output 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;
Returns

The number result.

setAlpha

Sets the step size of sliding window search.

setAlpha(value: number): void;
value

value argument (number).

getBeta

Returns the nms threshold for object proposals.

getBeta(): number;
Returns

The number result.

setBeta

Sets the nms threshold for object proposals.

setBeta(value: number): void;
value

value argument (number).

getEta

Returns adaptation rate for nms threshold.

getEta(): number;
Returns

The number result.

setEta

Sets the adaptation rate for nms threshold.

setEta(value: number): void;
value

value argument (number).

getMinScore

Returns the min score of boxes to detect.

getMinScore(): number;
Returns

The number result.

setMinScore

Sets the min score of boxes to detect.

setMinScore(value: number): void;
value

value argument (number).

getMaxBoxes

Returns the max number of boxes to detect.

getMaxBoxes(): number;
Returns

The number result.

setMaxBoxes

Sets max number of boxes to detect.

setMaxBoxes(value: number): void;
value

value argument (number).

getEdgeMinMag

Returns the edge min magnitude.

getEdgeMinMag(): number;
Returns

The number result.

setEdgeMinMag

Sets the edge min magnitude.

setEdgeMinMag(value: number): void;
value

value argument (number).

getEdgeMergeThr

Returns the edge merge threshold.

getEdgeMergeThr(): number;
Returns

The number result.

setEdgeMergeThr

Sets the edge merge threshold.

setEdgeMergeThr(value: number): void;
value

value argument (number).

getClusterMinMag

Returns the cluster min magnitude.

getClusterMinMag(): number;
Returns

The number result.

setClusterMinMag

Sets the cluster min magnitude.

setClusterMinMag(value: number): void;
value

value argument (number).

getMaxAspectRatio

Returns the max aspect ratio of boxes.

getMaxAspectRatio(): number;
Returns

The number result.

setMaxAspectRatio

Sets the max aspect ratio of boxes.

setMaxAspectRatio(value: number): void;
value

value argument (number).

getMinBoxArea

Returns the minimum area of boxes.

getMinBoxArea(): number;
Returns

The number result.

setMinBoxArea

Sets the minimum area of boxes.

setMinBoxArea(value: number): void;
value

value argument (number).

getGamma

Returns the affinity sensitivity.

getGamma(): number;
Returns

The number result.

setGamma

Sets the affinity sensitivity

setGamma(value: number): void;
value

value argument (number).

getKappa

Returns the scale sensitivity.

getKappa(): number;
Returns

The number result.

setKappa

Sets the scale sensitivity.

setKappa(value: number): void;
value

value 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.