ayooshkathuria / pytorch-yolo-v3

A PyTorch implementation of the YOLO v3 object detection algorithm
3.29k stars 1.06k forks source link

is there anyone who implements yolo on webrtc? #87

Open ChrisDongWooKim opened 5 years ago

ChrisDongWooKim commented 5 years ago

Hello.

Recently, I'm trying to implement Yolo on WebRTC streaming. So I have been looking for some articles to help it but I couldn't find anything. Actually, I want to do that as like cam_demo.py. cuz it's very smooth and shows streaming like almost real-time. to be honest, I already implement Yolo on WebRTC but I did different way. For example, I took a pics using raspi-camera and sent pics to web-server where has GPU for processing Yolo and after processing, sent pics to web-browser for showing streaming. but the thing is that it has very low FPS and only provide P2P single connection for streaming

So I want to know how to implement Yolo on WebRTC media server(I'd like to use janus media server). if you know how, plz let me know.

Thanks in advance.

fourth-archive commented 5 years ago

@ChrisDongWooKim recommend this repository. It has a webcam option in detect.py, and it also has a realtime YOLOv3 iPhone app that runs at up to 15 FPS on iPhone XS, or 25 FPS on iPad Pros: https://github.com/ultralytics/yolov3



ChrisDongWooKim commented 5 years ago

@fourth-archive thxs to reply. Actually, I'm looking for how to implement yolo on WebRTC media server. it is a little bit different what you posted. But I'm gonna look into it when I have to develop an apps :D

SHikumo commented 4 years ago

I found this tutorial webRTC with tensorflow. Hope it help. Basically you just have to find the way to grab video feed from WebRTC stream pipeline link: https://webrtchacks.com/webrtc-cv-tensorflow/