2020-05-05 04:04:26 -0600 | received badge | ● Popular Question (source) |
2016-01-13 05:17:13 -0600 | asked a question | Python & OpenCV 3.1: imshow fail when called in different thread Hi guys, I'm trying to build a multi-threading application. Each thread captures a video and display each frame of the video with imshow till the end. However, the script fails with: xcb] Unknown request in queue while dequeuing [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called [xcb] Aborting, sorry about that. python: ../../src/xcb_io.c:179: dequeue_pending_request: assertion "!xcb_xlib_unknown_req_in_deq" failed. Any idea on how to solve this with Python? |