OPENCV & C++ TUTORIALS - 42 | boundingRect() | Draw rectangles for contours

Опубликовано: 31 Октябрь 2024
на канале: Computer Vision Lab
1,598
17

boundingRect() function helps us to draw bounding rectangles for each contour we detected. It gives us starting point of rectangles and width and height as output. We can use that to draw rectangles or other purposes.

🌠 I will continue to this tutorial series with this plan : https://docs.opencv.org/4.3.0/d7/dbd/...

🌠 You may want to watch also:    • OPENCV & C++ TUTORIAL - 3 | EROSION A...  

🌠 Stackoverflow: https://stackoverflow.com/users/11048...

🌠 Github: https://github.com/yunus-temurlenk?ta...

🌠 Twitter:   / code_enjoy  

▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬

0:00 - Introduction
1:31 - Code Preparation
4:01 - Results

If you see any mistake and any advice please comment. Thanks for watching...

#opencv, #boundingRect, #tutorial