Script to Generate Bounding Boxes from Segmentation Masks and Depth/Flow Data

#3
by vsham001 - opened

Hi, I’m working on a project with object detection with this dataset. Do you happen to have a script or method that handles bounding box generation for multiple object classes using depth, flow, surface normal and segmentation masks? I’d appreciate any advice or example code you could share

I think it’s best to generate the bounding boxes from the segmentation masks. If you want to create them, have a look at this (especially 7.a):
https://docs.opencv.org/4.x/dd/d49/tutorial_py_contour_features.html

It explains how to use boundingRect() to generate bounding boxes.

But maybe I misunderstood, feel free to clarify!

Sign up or log in to comment