How can I delete the background outside the drawn contours? My main goal is measure size of ONLY cardboard boxes. I have 2 differend code.
First code measuring EVERYTHING with aruco marker.
Second code is detecting boxes with yolo.(I need this because measure code detects everything)
Both of them drawn contours.
My measure code is measuring everything thats why i want to remove background except contoured objects.
how can i manage this?
Please help.
