feat: add rtmp support (#1009)

* feat: add rtmp support

* Update detect.py

pass tuple to source.startswith()

Co-authored-by: ryan.fu <ryan.fu@aylaasia.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
authored and GitHub committed 2020-09-22 11:37:49 -07:00
1 parent 4fce0096fa
commit b8f656742d
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -77,6 +77,7 @@ $ python detect.py --source 0 # webcam
path/ # directory
path/*.jpg # glob
rtsp://170.93.143.139/rtplive/470011e600ef003a004ee33696235daa # rtsp stream
rtmp://192.168.1.105/live/test # rtmp stream
http://112.50.243.8/PLTV/88888888/224/3221225900/1.m3u8 # http stream
```