0
I need to make an algorithm that reads the color code and opens a window with the color.
I know I need to use the library cv, but I don’t know how you do it and I can’t find anything like it on the internet
Someone knows how to help?
0
I need to make an algorithm that reads the color code and opens a window with the color.
I know I need to use the library cv, but I don’t know how you do it and I can’t find anything like it on the internet
Someone knows how to help?
0
from tkinter import messagebox
import cv2
image = cv2.imread("sample.jpg")
color = int(image[300, 300])
messagebox.showinfo("Cor em BGR", color)
Browser other questions tagged python python-3.x opencv rgb
You are not signed in. Login or sign up in order to post.
See if this answer helping.
– danieltakeshi