I have a Python project which will receive stream of image data (sent as message pack rpc) from another embedded system. My application then will process these images and stream out information about the particles in the images. It also have other communication command/message channels.
I am learning Python for this project and hope to learn more through working on this project. I have experience working with image processing on LabVIEW but not much in Python. I understand that I need to create a thread to read in the image data, then passing these data to a queue. Another thread will read the data from the queue the process it. One more thread will stream these data out. There are also other threads to receive message/command then process and response to these message.
I need your experience to guide me which design-pattern or architecture I should use for my project.
Should I use multi-threading or multiprocessing in this case?
Thanks in advance.
Aucun commentaire:
Enregistrer un commentaire