Can't optimize Imshow in thread due to opencv not letting imshow run in a thread that's not the main.
From what I've read this is due to a conflict with the cv.waitkey(1) command.
Also python can't run threads on multiple cores due to GIL (global interpreter lock), should be able to optimize with multiprocessing
https://stackoverflow.com/questions/7542957/is-python-capable-of-running-on-multiple-cores
Can't optimize Imshow in thread due to opencv not letting imshow run in a thread that's not the main.
From what I've read this is due to a conflict with the cv.waitkey(1) command.
Also python can't run threads on multiple cores due to GIL (global interpreter lock), should be able to optimize with multiprocessing
https://stackoverflow.com/questions/7542957/is-python-capable-of-running-on-multiple-cores