Skip to content

Commit

Permalink
set source to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
mikel authored and mikel committed Aug 3, 2023
1 parent 06cfcb2 commit d6122cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/track.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def parse_opt():
parser.add_argument('--reid-model', type=Path, default=WEIGHTS / 'mobilenetv2_x1_4_dukemtmcreid.pt')
parser.add_argument('--tracking-method', type=str, default='deepocsort',
help='deepocsort, botsort, strongsort, ocsort, bytetrack')
parser.add_argument('--source', type=str, default='/home/mikel.brostrom/Downloads/test.avi',
parser.add_argument('--source', type=str, default='0',
help='file/dir/URL/glob, 0 for webcam')
parser.add_argument('--imgsz', '--img', '--img-size', nargs='+', type=int, default=[640],
help='inference size h,w')
Expand Down Expand Up @@ -167,7 +167,7 @@ def parse_opt():
help='save tracking results in a single txt file')
parser.add_argument('--line-width', default=None, type=int,
help='The line width of the bounding boxes. If None, it is scaled to the image size.')
parser.add_argument('--per-class', action='store_true',
parser.add_argument('--per-class', default=False, action='store_true',
help='not mix up classes when tracking')
parser.add_argument('--verbose', default=True, action='store_true',
help='print results per frame')
Expand Down

0 comments on commit d6122cd

Please sign in to comment.