Closed guijuzhejiang closed 4 years ago
You need to find the address of your own IP camera stream.
For example, if you use an IP camera app on your phone, then it should give you a stream address that you can copy and enter in the client script.
Thanks for your answer, I want to use the camera on remote PC as a video stream, is it possible?
Yes - if you have the IP address of your remote PC camera.
Can you help me? I got an error File "C:\Users\duy.vonc\Desktop\Face recognition\People_counter 2 github\Flask-Multi-Camera-Streaming-With-YOLOv4-and-Deep-SORT\base_camera.py", line 90, in get_frame return BaseCamera.frame[unique_name] KeyError: ('yolo', '0')
The code is a little bit complicated so I can't debug it.
Can you help me? I got an error File "C:\Users\duy.vonc\Desktop\Face recognition\People_counter 2 github\Flask-Multi-Camera-Streaming-With-YOLOv4-and-Deep-SORT\base_camera.py", line 90, in get_frame return BaseCamera.frame[unique_name] KeyError: ('yolo', '0')
The code is a little bit complicated so I can't debug it.
I think that might be happening because no frames are being received. Could you check to see if your camera stream is working properly?
Can you help me? I got an error File "C:\Users\duy.vonc\Desktop\Face recognition\People_counter 2 github\Flask-Multi-Camera-Streaming-With-YOLOv4-and-Deep-SORT\base_camera.py", line 90, in get_frame return BaseCamera.frame[unique_name] KeyError: ('yolo', '0') The code is a little bit complicated so I can't debug it.
I think that might be happening because no frames are being received. Could you check to see if your camera stream is working properly?
Camera stream 1 was able to receive frames and displayed. But Yolo stream 1 was not. I have checked the key in the dictionary and just got [('camera', '0')]. Can you please find me a way to fix this. Thank so must
The yolo_frames method in camera_yolo.py takes the frames from the ('camera', '0') stream and then applies YOLO and tracking to each frame. These are then used in the yolo_thread method in base_camera.py.
If camera_yolo.py was successful, then the ('yolo', '0) stream should be working. I think maybe something is wrong within these steps somewhere since your camera stream has no issues?
I hope that makes sense - I think I've never had this issue before. Please let me know how it goes.
The yolo_frames method in camera_yolo.py takes the frames from the ('camera', '0') stream and then applies YOLO and tracking to each frame. These are then used in the yolo_thread method in base_camera.py.
If camera_yolo.py was successful, then the ('yolo', '0) stream should be working. I think maybe something is wrong within these steps somewhere since your camera stream has no issues?
I hope that makes sense - I think I've never had this issue before. Please let me know how it goes.
Thanks a lot, I will try to figure it out. I 'm feeling thankful when fixing bug and got some help
The yolo_frames method in camera_yolo.py takes the frames from the ('camera', '0') stream and then applies YOLO and tracking to each frame. These are then used in the yolo_thread method in base_camera.py. If camera_yolo.py was successful, then the ('yolo', '0) stream should be working. I think maybe something is wrong within these steps somewhere since your camera stream has no issues? I hope that makes sense - I think I've never had this issue before. Please let me know how it goes.
Thanks a lot, I will try to figure it out. I 'm feeling thankful when fixing bug and got some help
Hello Duy-Cao-Vo I have been having this same issue for some time now. Did you ever find a solution to this issue? That would be greatly appreciated.
In the camera_client_0.py,path = "rtsp://192.168.1.70:8080//h264_ulaw.sdp". How should I replace the entire path to my own camera.