Skip to content

Commit 39fdfd6

Browse files
committed
init commit
0 parents  commit 39fdfd6

File tree

612 files changed

+98052
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

612 files changed

+98052
-0
lines changed

.coveragerc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[run]
2+
omit = test/*

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/ckpt
2+
/Images1

.travis.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
dist: trusty
2+
sudo: required
3+
4+
language: python
5+
python:
6+
- "3.6"
7+
8+
cache:
9+
directories:
10+
- bin #cache .weights files
11+
12+
# command to install dependencies
13+
install:
14+
- pip install -r test/requirements-testing.txt
15+
- pip install -e .
16+
17+
# command to run tests
18+
script: pytest -x --cov=./
19+
20+
#Upload code coverage statistics
21+
after_success:
22+
- codecov

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 Arnav Deep
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Leopard Detection
2+
Leopard detection is done through Custom Object Detection using YOLO. Darkflow simplifies the use of YOLO and makes custom object detection simple and easier. Step-by-step how to use Darkflow can be found here [here](https://github.com/Boltuzamaki/Custom-Object-Detection-Using-Darkflow-Simplified-).
3+
4+
## The Motivation
5+
IIITDM Jabalpur campus is located right beside Dumna Nature Reserve. Dumna Nature Reserve is home to many faunae. Out of all of the faunae, Leopards and Deer have frequented the campus by jumping over the boundary walls. These Leopards pose a threat to the other rsidents of the lush green campus.
6+
7+
To make an IoT device that would alert authorities and people nearby about the prresence of a leopard, Custom Object Detection is used.
8+
9+
##

bin/yolotiny.weights

42.9 MB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

cfg/coco.names

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
person
2+
bicycle
3+
car
4+
motorbike
5+
aeroplane
6+
bus
7+
train
8+
truck
9+
boat
10+
traffic light
11+
fire hydrant
12+
stop sign
13+
parking meter
14+
bench
15+
bird
16+
cat
17+
dog
18+
horse
19+
sheep
20+
cow
21+
elephant
22+
bear
23+
zebra
24+
giraffe
25+
backpack
26+
umbrella
27+
handbag
28+
tie
29+
suitcase
30+
frisbee
31+
skis
32+
snowboard
33+
sports ball
34+
kite
35+
baseball bat
36+
baseball glove
37+
skateboard
38+
surfboard
39+
tennis racket
40+
bottle
41+
wine glass
42+
cup
43+
fork
44+
knife
45+
spoon
46+
bowl
47+
banana
48+
apple
49+
sandwich
50+
orange
51+
broccoli
52+
carrot
53+
hot dog
54+
pizza
55+
donut
56+
cake
57+
chair
58+
sofa
59+
pottedplant
60+
bed
61+
diningtable
62+
toilet
63+
tvmonitor
64+
laptop
65+
mouse
66+
remote
67+
keyboard
68+
cell phone
69+
microwave
70+
oven
71+
toaster
72+
sink
73+
refrigerator
74+
book
75+
clock
76+
vase
77+
scissors
78+
teddy bear
79+
hair drier
80+
toothbrush

cfg/extraction.cfg

Lines changed: 206 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,206 @@
1+
[net]
2+
batch=128
3+
subdivisions=1
4+
height=224
5+
width=224
6+
max_crop=320
7+
channels=3
8+
momentum=0.9
9+
decay=0.0005
10+
11+
learning_rate=0.1
12+
policy=poly
13+
power=4
14+
max_batches=1600000
15+
16+
[convolutional]
17+
batch_normalize=1
18+
filters=64
19+
size=7
20+
stride=2
21+
pad=1
22+
activation=leaky
23+
24+
[maxpool]
25+
size=2
26+
stride=2
27+
28+
[convolutional]
29+
batch_normalize=1
30+
filters=192
31+
size=3
32+
stride=1
33+
pad=1
34+
activation=leaky
35+
36+
[maxpool]
37+
size=2
38+
stride=2
39+
40+
[convolutional]
41+
batch_normalize=1
42+
filters=128
43+
size=1
44+
stride=1
45+
pad=1
46+
activation=leaky
47+
48+
[convolutional]
49+
batch_normalize=1
50+
filters=256
51+
size=3
52+
stride=1
53+
pad=1
54+
activation=leaky
55+
56+
[convolutional]
57+
batch_normalize=1
58+
filters=256
59+
size=1
60+
stride=1
61+
pad=1
62+
activation=leaky
63+
64+
[convolutional]
65+
batch_normalize=1
66+
filters=512
67+
size=3
68+
stride=1
69+
pad=1
70+
activation=leaky
71+
72+
[maxpool]
73+
size=2
74+
stride=2
75+
76+
[convolutional]
77+
batch_normalize=1
78+
filters=256
79+
size=1
80+
stride=1
81+
pad=1
82+
activation=leaky
83+
84+
[convolutional]
85+
batch_normalize=1
86+
filters=512
87+
size=3
88+
stride=1
89+
pad=1
90+
activation=leaky
91+
92+
[convolutional]
93+
batch_normalize=1
94+
filters=256
95+
size=1
96+
stride=1
97+
pad=1
98+
activation=leaky
99+
100+
[convolutional]
101+
batch_normalize=1
102+
filters=512
103+
size=3
104+
stride=1
105+
pad=1
106+
activation=leaky
107+
108+
[convolutional]
109+
batch_normalize=1
110+
filters=256
111+
size=1
112+
stride=1
113+
pad=1
114+
activation=leaky
115+
116+
[convolutional]
117+
batch_normalize=1
118+
filters=512
119+
size=3
120+
stride=1
121+
pad=1
122+
activation=leaky
123+
124+
[convolutional]
125+
batch_normalize=1
126+
filters=256
127+
size=1
128+
stride=1
129+
pad=1
130+
activation=leaky
131+
132+
[convolutional]
133+
batch_normalize=1
134+
filters=512
135+
size=3
136+
stride=1
137+
pad=1
138+
activation=leaky
139+
140+
[convolutional]
141+
batch_normalize=1
142+
filters=512
143+
size=1
144+
stride=1
145+
pad=1
146+
activation=leaky
147+
148+
[convolutional]
149+
batch_normalize=1
150+
filters=1024
151+
size=3
152+
stride=1
153+
pad=1
154+
activation=leaky
155+
156+
[maxpool]
157+
size=2
158+
stride=2
159+
160+
[convolutional]
161+
batch_normalize=1
162+
filters=512
163+
size=1
164+
stride=1
165+
pad=1
166+
activation=leaky
167+
168+
[convolutional]
169+
batch_normalize=1
170+
filters=1024
171+
size=3
172+
stride=1
173+
pad=1
174+
activation=leaky
175+
176+
[convolutional]
177+
batch_normalize=1
178+
filters=512
179+
size=1
180+
stride=1
181+
pad=1
182+
activation=leaky
183+
184+
[convolutional]
185+
batch_normalize=1
186+
filters=1024
187+
size=3
188+
stride=1
189+
pad=1
190+
activation=leaky
191+
192+
[convolutional]
193+
filters=1000
194+
size=1
195+
stride=1
196+
pad=1
197+
activation=leaky
198+
199+
[avgpool]
200+
201+
[softmax]
202+
groups=1
203+
204+
[cost]
205+
type=sse
206+

0 commit comments

Comments
 (0)