KwickClips Artificial Intelligence · 41 sec · free
Why turn photos grey first?
Short answer. Less data and faster work.
Which flag converts to grey?
COLOR_BGR2GRAY.
Remember
| cvtColor + COLOR_BGR2GRAY |
| 3 channels become 1 |
Why do AI programs turn photos grey first? CvtColor converts blue green red to grey. Three channels become one. Less data, faster work. Remember two things. Use cvtColor with B G R to gray. Three channels become one.
This clip is from the full lesson: Image Processing with OpenCV in Python — 9 minutes, with the tables, the quick answers and the whole lesson in text.
Useful for: CBSE Class 10 Artificial Intelligence (417), CBSE Class 12 Artificial Intelligence (843)
More KwickClips from this lesson
Why does import opencv fail?38 sec
Why did my resized photo stretch?41 sec
What does the 0 in imread do?40 secVoice-over is AI-generated; the script is written and checked by Kajal Ma'am. Confirm anything you plan around against your official board document. We never ask for a password or an OTP.

