Skip to content

Can't optimize Imshow in thread #1

@Sir-Branch

Description

@Sir-Branch

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions