How can I assign to a global variable from inside a function? How do I reset a painted-over image with CV2?
I’m working on a small program that open an image and lets the user click on points to draw lines.
I’m working on a small program that open an image and lets the user click on points to draw lines.