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
Смотрите видео Detect Rectangles and Blur In Images with CV2 Computer Vision. Case of Food Packages. DEMO. онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Data Science Garage 19 Декабрь 2019, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,647 раз и оно понравилось 11 людям.