Using the skills of this chapter, segment and identify all of the objects in the provided reference file. Assign each detected object a unique color and fill its area on a black background. Additionally, for each color ID, print out the following properties—area, perimeter length, object center, and curvature.
- [Instructor] Let's close out Chapter Three…by putting our skills to the test.…Specifically, let's take this fuzzy image…and segment out the objects and then redraw…them onto a new image with unique colors.…The specific goals are to only draw large objects…which have an area of larger than 1,000 square pixels.…Additionally, each object needs to have its own color.…To get started, there's an initial file…you can open under Chapter Three, Module 10.…In this file, we've already loaded in our fuzzy.png image…in full color and we're showing it using imshow.…
The rest is up to you to segment it how you please…and then redisplay the objects according to the challenge.…This exercise will take around five to 10 minutes.…When ready, you can move on to the next video…to see one solution to this problem.…
AuthorPatrick W. Crawford
- Installing and configuring OpenCV
- Data types and structures
- Image types
- Manipulating pixels
- Scaling and rotating images
- Using video inputs
- Creating custom interfaces
- Object detection
- Face and feature detection
- Template matching
Skill Level Intermediate
NumPy Data Science Essential Trainingwith Charles Kelly3h 54m Intermediate
Python: Programming Efficientlywith Michele Vallisneri2h 15m Intermediate
1. Install and Configure OpenCV
2. Basic Image Operations
3. Object Detection
4. Face and Feature Detection
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.