Closed jonmatthis closed 1 year ago
Tried this, but couldn't quite get it working. Left the abortive attempt on branch jon/fiddling_with_data_sharing_strats
After conversation with @endurance, we can probably fix the underlying issue (frame queue filling up with more cams) by pulling the 'frame grabbing' responsibility off the main process ( i.e. #21 )
Replace use of
queues
to share image data from camera process toshared_memory
solution similar to the one in this article -https://medium.com/analytics-vidhya/using-numpy-efficiently-between-processes-1bee17dcb01
https://github.com/bml1g12/benchmarking_multiprocessing_np_array_comms