Open DarkYolo opened 5 years ago
If you can get video from your camera via VCL player, then yes, you can.
What URL do you use to get Video from your camera?
Yolo v3 COCO for net-videocam - Smart WebCam:
darknet.exe detector demo cfg/coco.data cfg/yolov3.cfg yolov3.weights http://192.168.0.80:8080/video?dummy=param.mjpg
My guess would be that you can't with GigE - it's a proprietary protocol - you will need to see what drivers are available to you for your camera and platform and go from there. Perhaps you will need to write a program to glue darknet and the driver together. I have a gigE camera that I use the ROS driver for which then passes the image to a ROS python wrapper around darknet.
@AlexeyAB, could you please share some details on the video streaming protocol used / expected by darknet when instrumented in this manner
darknet.exe detector demo cfg/coco.data cfg/yolov3.cfg yolov3.weights http://192.168.0.80:8080/video?dummy=param.mjpg
Is it RTSP?
Thanks!
@endo123 It can be RTSP or HTTP-mjpeg stream. Darknet uses OpenCV videocapture for this, so try to read about it in OpenCV documentation.
I'm trying to achieve the same result with uEye cameras. My current approach is installing pyueye and I will try to edit the code of darknet_video to get the frames obtained by this sdk.
EDIT: This code seems to work https://es.ids-imaging.com/programming-examples.html?file=tl_files/downloads/programmingexamples/uEye_SimpleLive_PyuEye_OpenCV.zip
I'm using an IDS camera which uses the GigE protocol. Still trying to figure out how to change the input resolution though
I want to detect objects with YOLO. Using Gige vision camera, that connected through the Ethernet and having IP address. How can i do it?