File tree Expand file tree Collapse file tree 2 files changed +53
-13
lines changed Expand file tree Collapse file tree 2 files changed +53
-13
lines changed Original file line number Diff line number Diff line change
1
+ ### Download the Models
1
2
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
3
4
4
5
sudo chmod a+x getModels.sh
5
6
./getModels.sh
6
7
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
13
8
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
16
37
./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
+
19
61
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
You can’t perform that action at this time.
0 commit comments