Wanli
commited on
Commit
·
4ae02a3
1
Parent(s):
c6644c1
update and modify documentation (#161)
Browse files
README.md
CHANGED
@@ -28,7 +28,7 @@ Run the following command to try the demo:
|
|
28 |
# detect on camera input
|
29 |
python demo.py
|
30 |
# detect on an image
|
31 |
-
python demo.py --input /path/to/image
|
32 |
|
33 |
# get help regarding various parameters
|
34 |
python demo.py --help
|
@@ -40,13 +40,13 @@ Install latest OpenCV and CMake >= 3.24.0 to get started with:
|
|
40 |
|
41 |
```shell
|
42 |
# A typical and default installation path of OpenCV is /usr/local
|
43 |
-
cmake -B build -D OPENCV_INSTALLATION_PATH
|
44 |
cmake --build build
|
45 |
|
46 |
# detect on camera input
|
47 |
./build/demo
|
48 |
# detect on an image
|
49 |
-
./build/demo -i=/path/to/image
|
50 |
# get help messages
|
51 |
./build/demo -h
|
52 |
```
|
|
|
28 |
# detect on camera input
|
29 |
python demo.py
|
30 |
# detect on an image
|
31 |
+
python demo.py --input /path/to/image -v
|
32 |
|
33 |
# get help regarding various parameters
|
34 |
python demo.py --help
|
|
|
40 |
|
41 |
```shell
|
42 |
# A typical and default installation path of OpenCV is /usr/local
|
43 |
+
cmake -B build -D OPENCV_INSTALLATION_PATH=/path/to/opencv/installation .
|
44 |
cmake --build build
|
45 |
|
46 |
# detect on camera input
|
47 |
./build/demo
|
48 |
# detect on an image
|
49 |
+
./build/demo -i=/path/to/image -v
|
50 |
# get help messages
|
51 |
./build/demo -h
|
52 |
```
|