Skip to content

Commit e7d012f

Browse files
Updated Readme and make it more comprehensible
1 parent 5ae27a4 commit e7d012f

File tree

2 files changed

+53
-13
lines changed

2 files changed

+53
-13
lines changed

ObjectDetection-YOLO/README

Lines changed: 53 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,61 @@
1+
### Download the Models
12

2-
Run the getModels.sh file from command line to download the needed model files
3+
Run the **getModels.sh** file from command line to download the needed model files
34

45
sudo chmod a+x getModels.sh
56
./getModels.sh
67

7-
Python:
8-
Commandline usage for object detection using YOLOv3
9-
a single image:
10-
python3 object_detection_yolo.py --image=bird.jpg
11-
a video file:
12-
python3 object_detection_yolo.py --video=run.mp4
138

14-
C++:
15-
a single image:
9+
10+
### How to run the code
11+
12+
Command line usage for object detection using YOLOv3
13+
14+
* Python
15+
16+
* A single image:
17+
18+
19+
```bash
20+
python3 object_detection_yolo.py --image=bird.jpg
21+
```
22+
23+
* A video file:
24+
25+
```bash
26+
python3 object_detection_yolo.py --video=run.mp4
27+
```
28+
29+
30+
31+
* C++:
32+
33+
* A single image:
34+
35+
36+
```bash
1637
./object_detection_yolo.out --image=bird.jpg
17-
a video file:
18-
./object_detection_yolo.out --video=run.mp4
38+
```
39+
40+
41+
42+
* A video file:
43+
44+
```bash
45+
./object_detection_yolo.out --video=run.mp4
46+
```
47+
48+
49+
50+
### Compilation examples
51+
52+
```bash
53+
g++ -ggdb pkg-config --cflags --libs /usr/local/Cellar/opencv3/3.4.2/lib/pkgconfig/opencv.pc object_detection_yolo.cpp -o object_detection_yolo.out
54+
```
55+
56+
57+
58+
### Results of YOLOv3
59+
60+
1961

20-
Compilation examples:
21-
g++ -ggdb `pkg-config --cflags --libs /usr/local/Cellar/opencv3/3.4.2/lib/pkgconfig/opencv.pc` object_detection_yolo.cpp -o object_detection_yolo.out
236 KB
Loading

0 commit comments

Comments
 (0)