getBoundingBoxes method
Returns array containing proposal boxes.
Implementation
(VecRect boxes, VecF32 scores) getBoundingBoxes(InputArray edge_map, InputArray orientation_map) {
final pvr = calloc<cvg.VecRect>();
final pvf = calloc<cvg.VecF32>();
cvRun(
() => ccontrib.cv_ximgproc_EdgeBoxes_getBoundingBoxes(
ref,
edge_map.ref,
orientation_map.ref,
pvr,
pvf,
ffi.nullptr,
),
);
return (VecRect.fromPointer(pvr), VecF32.fromPointer(pvf));
}