Skip to content

Commit 8ee00d6

Browse files
Update README.md
Added steps to run external camera or webcam directly.
1 parent af83917 commit 8ee00d6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,15 @@ python detect.py --weights yolov7.pt --source "your video.mp4"
4949
#if you want to change source file
5050
python detect_and_track.py --weights yolov7.pt --source "your video.mp4"
5151
52+
#for WebCam
53+
python detect_and_track.py --weights yolov7.pt --source 0
54+
55+
#for External Camera
56+
python detect_and_track.py --weights yolov7.pt --source 1
57+
58+
#For LiveStream (Ip Stream URL Format i.e "rtsp://username:pass@ipaddress:portno/video/video.amp")
59+
python detect_and_track.py --source "your IP Camera Stream URL" --device 0
60+
5261
#for specific class (person)
5362
python detect_and_track.py --weights yolov7.pt --source "your video.mp4" --classes 0
5463

0 commit comments

Comments
 (0)