AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.65k stars 7.96k forks source link

How can I feed input from Multiple IP camera in Darknet? (Using Single Darknet Instance) #8368

Open blackShine-2 opened 2 years ago

blackShine-2 commented 2 years ago

I am using Darknet YOLOv4 for my project. For working with multiple IP Camera, multiple darknet instances can be made. However isn't it possible to use single darknet instance for multiple camera feeding?

stephanecharette commented 2 years ago

1) Yes. 2) https://www.ccoderun.ca/programming/darknet_faq/#json_output

blackShine-2 commented 2 years ago

@stephanecharette Thank you sir for your response. I can do multiple images detection through YOLO. HOwever, for multiple IP camera input, does darkHelp help?

stephanecharette commented 2 years ago

Does it help with what specifically?

blackShine-2 commented 2 years ago

I want to do object detection using multiple IP cameras. I am not sure how to do that. Because in the command, I have to give the IP Address and passowrd of one camera. So, what should I do for multiple cameras?

stephanecharette commented 2 years ago

You'll have to use the API if you want to read frames from multiple sources but only have 1 neural network instance. The CLI only supports very simple situations.