Here I quickly demonstrating how I use CV2 Python module for detecting rectangles that frames data of nutritious, vitamins, other components and ingredients on food packages.
For this I used Canny Algorithm for detecting edges in original image. After this CV2 detect rectangles, draw it on a given image and deliver its coordinates. Then apply CV2 Blur filter on inside boundaries of rectangles.
I think that it is a good approach for image pre-processing for labeling images for your object detection model, such as YOLO, Faster R-CNN or other one project in the field of deep learning for computer vision.
Vytautas.
#detectrectangles
#opencvblur
#opencvfindobjects
Watch video Detect Rectangles and Blur In Images with CV2 Computer Vision. Case of Food Packages. DEMO. online without registration, duration hours minute second in high quality. This video was added by user Data Science Garage 19 December 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,647 once and liked it 11 people.