File tree 3 files changed +59
-21
lines changed
3 files changed +59
-21
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ ### Download the Models
2
+
3
+ Run the ** getModels.sh** file from command line to download the needed model files
4
+
5
+ sudo chmod a+x getModels.sh
6
+ ./getModels.sh
7
+
8
+
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
37
+ ./object_detection_yolo.out --image=bird.jpg
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
+ < img src = " https://github.com/gulshan-mittal/learnopencv/blob/dev1/ObjectDetection-YOLO/bird_yolo_out_py.jpg" width = 400 height = 300/>
You can’t perform that action at this time.
0 commit comments