Displaying an Image
Explore how to display images in Python with OpenCV by learning to read image files, display them on screen, and use key functions like imread, imshow, and waitKey for control.
We'll cover the following...
We'll cover the following...
A bit about the RGB model
Computer graphics often use the three primary colors of light to create other colors. The primary colors are red, green, and blue and using them this way is known as the RGB model. RGB colors usually have values of 0–255, where 0 means the color isn’t present at all, and 255 means all the colors are present. The RGB values for the color red are:
255, 0 , 0 ...