Back to Browse

Python OpenCV Color Detection Example

55.4K views
Jun 26, 2019
6:21

Join PyQt6 13 Hours Course in Udemy https://www.udemy.com/course/python-gui-development-with-pyqt6/?referralCode=75818923A830BA4367E1 Support me in Patreon https://www.patreon.com/parwizforogh My Affiliate Books: Mastering OpenCV4 with Python https://amzn.to/385qNoz Learn OpenCV4 with Python https://amzn.to/38afjAh In this Python OpenCV video i want to show you Python OpenCV Color Detection. How does color work on a computer? So we represent colors on a computers by color-space or color models which basically describes range of colors as tuples of numbers. Instead of going for each color, we’ll discuss most common color-space we use .i.e. RGB(Red, Green, Blue) and HSV (Hue, Saturation, Value). RGB basically describes color as a tuple of three components. Each component can take a value between 0 and 255, where the tuple (0, 0, 0) represents black and (255, 255, 255) represents white. For example, if we were to show a pure blue pixel on-screen, then the R value would be 0, the G value would be 0, and the B value would be 255. Source code: https://codeloop.org/opencv-python-color-detection-example/

Download

0 formats

No download links available.

Python OpenCV Color Detection Example | NatokHD