Re: Gtuner IV 1.07 PUBLIC RELEASE: Computer Vision
Posted: Fri Apr 30, 2021 3:24 pm
one way to convert something to greyscale:
grey = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
when you use image template matching you may need to use the same image format/depth to be able to use the functions, something like that may help then
fakecolor = cv2.cvtColor(grey, cv2.COLOR_BGR2RGB)
grey = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
when you use image template matching you may need to use the same image format/depth to be able to use the functions, something like that may help then
fakecolor = cv2.cvtColor(grey, cv2.COLOR_BGR2RGB)