I have a code using opencv that predicts how many fingers do I show to the camera in real time. I also have a small gui that includes a few buttons in a tkinter window. I want that prediction from cv2window to generate an event to the buttons from the tkinter window. When i show 1, to be pressed the first button in real time.

How can I make that connection between them and also to be displayed both camera frame and window in the same time?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.