Relative Content

Tag Archive for python-3.xopencvtkinter

How to pass tkimage raw data to cv2 functions?

TLDR I am writing a video recorder with tkinter and cv2. How to pass tkimage raw data to cv2.VideoWriter, cv2.circle, and so on? Current approach I using a numpy array (self.data) as a middle man. But this way I need to create a new tkimage each time. So, after creating it once, I want to […]