Detect Rectangles and Blur In Images with CV2 Computer Vision. Case of Food Packages. DEMO. @DataScienceGarage
Detect Rectangles and Blur In Images with CV2 Computer Vision. Case of Food Packages. DEMO.  @DataScienceGarage
Uploaded December 2019 | Updated September 2026, 2 weeks ago
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.Download Images as JPG from URL List with Python. EXPLAINEDMotion Detector and Motion Graph in HTML with PythonHow to use Youtube API to extract YT channel data with Python (Step by step)Neuroimaging: Visualize 3D MRI Brain Scans with PythonGithub Action with AWS ECR for you ML project -  full tutorialROC Curve and AUC. Simple Explanation (with Example)Tenerife 2015 HolidayBi-Directional Attention diff. from Self-AttentionPython tutorial: Import 3rd party module package to Python (example with glob2 module)Stop using range() for loops in Python. Use enumerate()AI project with Flask. Deployed Keras model - Google Cloud. Jupyter Notebook to Web application
Data Science Garage |

Detect Rectangles and Blur In Images with CV2 Computer Vision. Case of Food Packages. DEMO.

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER