Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered Mar 30 '19

berak gravatar image

you should never try do that !

opencv's gui functions HAVE to stay on the main thread.

click to hide/show revision 2
No.2 Revision

you should never try do that !

opencv's gui functions functions, like namedWindow, imshow, waitKey HAVE to stay on the main thread.

and be careful with multithreading in general. most of opencv's functionality is NOT THREADSAFE !

click to hide/show revision 3
No.3 Revision

you should never try to do that !

opencv's gui functions, like namedWindow, imshow, waitKey HAVE to stay on the main thread.

and be careful with multithreading in general. most of opencv's functionality is NOT THREADSAFE !

click to hide/show revision 4
No.4 Revision

you should never try to do that !

opencv's gui functions, like namedWindow, imshow, waitKey HAVE to stay on the main thread.

and be careful with multithreading in general. most of opencv's functionality is NOT THREADSAFE by design !