Replies: 3 comments 1 reply
-
How did you attach the cameras? What is the speed of your USB bus? Can you really capture and send 50 * 7 = 350 FPS over your USB bus? USB 1.x? 2.x? 3.x? What software are you using to read from the cameras, and what FPS are you getting if you just read+discard the frames and don't use Darknet/YOLO? |
Beta Was this translation helpful? Give feedback.
-
I put this script together from others in the internet. When I run one inference it runs at 10 fps 20% GPU. When I run 2 it runs at 5 fps 20% GPU. How can I make the GPU give more performance like in multiprocessing.? import multiprocessing In screen FPS countertimeStamp=time.time() code constantsth1=5 imgerror = cv2.imread('/home/kc/Downloads/darknet/C.jpg') def Cam1(to_AI1,): # 1 camera loop
def Cam2(to_AI2,): # 1 camera loop
def inference1_AI(to_AI1,): # inference from can1
def inference2_AI(to_AI2,): # inference from can1
to_AI1 = multiprocessing.Queue() #contol AI #contol AI t1Cam.start() # cam start t2Cam.start() # cam start t1AI.start() # AI start |
Beta Was this translation helpful? Give feedback.
-
Hi, I am working on a cool autonomous machine powered by yolo. I have connected 7 USB camera module and they run at 50 FPS. However when I run the yolov4-tiny in each of their feed the FPS drops to 10. I put each camera in a different process using multiprocessing.Process but the FPS are steel low. It looks like the multiprocessing only helps the CPU. It is depressing to see the FPS at 10 and the GPU usage at 40%.
Is there any way I can utilize 100% of my RTX 2070 Super with yolo? Is it something that I can do or it depends on the yolo development? Can I use multiprocessing with the GPU?
Thanks for your attention.
Beta Was this translation helpful? Give feedback.
All reactions