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(
() => cffi.ximgproc_EdgeBoxes_getBoundingBoxes(ref, edge_map.ref, orientation_map.ref, pvr, pvf),
);
return (VecRect.fromPointer(pvr), VecF32.fromPointer(pvf));
}