Home > other >  Python tkinter canvas video flicker
Python tkinter canvas video flicker

Time:09-22

Interface, using tkinter do opencv image processing, image displayed on the canvas, continues to show, will show the method of direct binding keys, showed no flicker phenomenon, but will show the way into the thread, then through key binding thread, display, flicker, per frame, which plagued the

CodePudding user response:

Whether the landlord to solve this problem, I also have the same problem in the development, canvas in a thread, and once every frame to display the first picture of the picture

CodePudding user response:

No, single thread to run

CodePudding user response:

Me too, need not multithreading is no problem, use the multithreading began to shake

CodePudding user response:

reference 3 floor Ciri in response:
me too, need not multithreading is no problem, use the multithreading began shaking

Behind me changed, is still a single thread, but increased the number of flag judgment, realize the interaction

CodePudding user response:

reference 1st floor qq_42471773 response:
the original poster is the solution to this problem, I also have the same problem in the development, canvas in a thread, and the earliest or per frame to display a picture of the picture

I changed the way, using the single thread, add more than one flag to judge, realize the interaction
  • Related