I'm attempting to do some real-time (sort-of-ish) web-cam video processing. In order to both grab all the frames and process them, I'm running my frame grabber and image processor as two separate processes. In order to have them communicate I'm trying to decide between using python 2.7's multiprocessing.queue
and multiprocessing.pipe
.
I don't understand the difference between these two classes. One uses put
and get
to share data. The other uses send
and receive
. Is there a use-case where one would prefer on method over the other? Should I prefer one method over the other?