Skip to content

Commit 66d5a5f

Browse files
committed
Changed formatting of argumentes
1 parent 8cfed50 commit 66d5a5f

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,20 @@ When it comes to object detection, popular detection frameworks are
3838

3939
`$ python yolo_opencv.py --input rtsp://xxxxx:1935/live/sys.stream --framestart 100 --framelimit 100 --config cfg/yolov3-tiny.cfg --weights yolov3-tiny.weights --classes cfg/yolov3.txt`
4040

41-
**Command format**
41+
**Arguments**
4242

43-
_$ python yolo_opencv.py --input /path/to/input/stream --outputfile /path/to/outputfile --outputdir /path/to/outputdir --framestart 0 (start detecting at frame x (int)) --framelimit 0 (stop after x (int) frames and save the video in case of streams. 0 no limit) --config /path/to/config/file --weights /path/to/weights/file --classes /path/to/classes/file_--invertcolor true|false (in case of BGR streams)
43+
| parameter | type | description |
44+
| --------- | ------- | ------------------------------------------------ |
45+
| `input` | String | /path/to/input/stream |
46+
| `outputfile` | String | /path/to/outputfile |
47+
| `outputdir` | String | /path/to/outputdir |
48+
| `framestart` | Int | start detecting at frame x (int) |
49+
| `framelimit` | Int | stop after x (int) frames and save the video in case of streams. 0 no limit |
50+
| `config` | String | /path/to/config/file |
51+
| `weights` | String | /path/to/weights/file |
52+
| `classes` | String | /path/to/classes/file |
53+
| `invertcolor` | String | in case of BGR streams |
54+
| `fpsthrottle` | String | in case of slower machines to keep up with a stream |
4455

4556
### sample output :
4657
![](object-detection.png)

0 commit comments

Comments
 (0)