You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Trying to change from Python multithreading to multiprocessing.
I can queue the frames using threads queue (queue.Queue) but I'll get pickling error during usage of multiprocessor.Queue.
I think the reason is that thread queues are skipping serialization in some cases while multiprocessor queues always serialize.
I did notice that the issue does not occur once the frame is resized using cv2.resize. I did not have a closer look why though.
But for a quick&dirty test, resizing the image with the original resolution does work.
Hi,
Trying to change from Python multithreading to multiprocessing.
I can queue the frames using threads queue (queue.Queue) but I'll get pickling error during usage of multiprocessor.Queue.
I think the reason is that thread queues are skipping serialization in some cases while multiprocessor queues always serialize.
I've tried to make a copy of nd array, e.g. cv_img2 = cv_img.copy(), with the same error.
The text was updated successfully, but these errors were encountered: