Aug-31-2021, 07:20 AM
I'm trying to create an object detection program through a multi-thread socket server.
![[Image: attachment.php?aid=1243]](https://python-forum.io/attachment.php?aid=1243)
When request a stream to a socket, the server attempts to detect objects from the thread that generated the thread.
When detect an object in a thread, get a slow screen, not a live screen.
The thread performance is not good, so if I use object detection using Subprocess, the performance is good. However, I am worried that GPU memory is increasing according to N requests.
Is it possible to detect images without delay, objects through Socket?
When request a stream to a socket, the server attempts to detect objects from the thread that generated the thread.
When detect an object in a thread, get a slow screen, not a live screen.
The thread performance is not good, so if I use object detection using Subprocess, the performance is good. However, I am worried that GPU memory is increasing according to N requests.
Is it possible to detect images without delay, objects through Socket?