getBoundingBoxes method

(VecRect, VecF32) getBoundingBoxes(
  1. InputArray edge_map,
  2. InputArray orientation_map
)

Implementation

(VecRect boxes, VecF32 scores) getBoundingBoxes(InputArray edge_map, InputArray orientation_map) {
  final pvr = VecRect();
  final pvf = VecF32();
  cvRun(
    () => ccontrib.cv_ximgproc_EdgeBoxes_getBoundingBoxes(
      ref,
      edge_map.ref,
      orientation_map.ref,
      pvr.ptr,
      pvf.ptr,
      ffi.nullptr,
    ),
  );
  return (pvr, pvf);
}