Skip to content

Commit d60a997

Browse files
committed
ssd_mobilenet_v2_coco
1 parent f748bf9 commit d60a997

File tree

4 files changed

+4851
-0
lines changed

4 files changed

+4851
-0
lines changed

Diff for: detect_objects_by_dnn_mobilenet.php

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
$blob = \CV\DNN\blobFromImage($src, 0.017, new \CV\Size(300,300), new Scalar(127.5, 127.5, 127.5), true, false); // convert image to 4 dimensions matrix
1313
//var_export($blob);
1414

15+
//$net = \CV\DNN\readNetFromTensorflow('models/ssd_mobilenet_v2_coco/frozen_inference_graph.pb', 'models/ssd_mobilenet_v2_coco/ssd_mobilenet_v2_coco.pbtxt');
1516
//$net = \CV\DNN\readNetFromTensorflow('models/ssd_mobilenet_v1_coco/frozen_inference_graph.pb', 'models/ssd_mobilenet_v1_coco/ssd_mobilenet_v1_coco.pbtxt');
1617
$net = \CV\DNN\readNetFromTensorflow('models/ssdlite_mobilenet_v2_coco/frozen_inference_graph.pb', 'models/ssdlite_mobilenet_v2_coco/ssdlite_mobilenet_v2_coco.pbtxt');
1718
$net->setInput($blob, "");

Diff for: models/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ Sources:
88
* mobilenet - https://github.com/shicai/MobileNet-Caffe
99
* ssd_mobilenet_v1_coco - https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md
1010
* ssdlite_mobilenet_v2_coco - https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md
11+
* ssd_mobilenet_v2_coco - https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md

Diff for: models/ssd_mobilenet_v2_coco/classes.txt

+183
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,183 @@
1+
unclassified
2+
person
3+
bicycle
4+
car
5+
motorcycle
6+
airplane
7+
bus
8+
train
9+
truck
10+
boat
11+
traffic
12+
fire
13+
street
14+
stop
15+
parking
16+
bench
17+
bird
18+
cat
19+
dog
20+
horse
21+
sheep
22+
cow
23+
elephant
24+
bear
25+
zebra
26+
giraffe
27+
hat
28+
backpack
29+
umbrella
30+
shoe
31+
eye
32+
handbag
33+
tie
34+
suitcase
35+
frisbee
36+
skis
37+
snowboard
38+
sports
39+
kite
40+
baseball
41+
baseball
42+
skateboard
43+
surfboard
44+
tennis
45+
bottle
46+
plate
47+
wine
48+
cup
49+
fork
50+
knife
51+
spoon
52+
bowl
53+
banana
54+
apple
55+
sandwich
56+
orange
57+
broccoli
58+
carrot
59+
hot
60+
pizza
61+
donut
62+
cake
63+
chair
64+
couch
65+
potted
66+
bed
67+
mirror
68+
dining
69+
window
70+
desk
71+
toilet
72+
door
73+
tv
74+
laptop
75+
mouse
76+
remote
77+
keyboard
78+
cell
79+
microwave
80+
oven
81+
toaster
82+
sink
83+
refrigerator
84+
blender
85+
book
86+
clock
87+
vase
88+
scissors
89+
teddy
90+
hair
91+
toothbrush
92+
hair
93+
banner
94+
blanket
95+
branch
96+
bridge
97+
building-other
98+
bush
99+
cabinet
100+
cage
101+
cardboard
102+
carpet
103+
ceiling-other
104+
ceiling-tile
105+
cloth
106+
clothes
107+
clouds
108+
counter
109+
cupboard
110+
curtain
111+
desk-stuff
112+
dirt
113+
door-stuff
114+
fence
115+
floor-marble
116+
floor-other
117+
floor-stone
118+
floor-tile
119+
floor-wood
120+
flower
121+
fog
122+
food-other
123+
fruit
124+
furniture-other
125+
grass
126+
gravel
127+
ground-other
128+
hill
129+
house
130+
leaves
131+
light
132+
mat
133+
metal
134+
mirror-stuff
135+
moss
136+
mountain
137+
mud
138+
napkin
139+
net
140+
paper
141+
pavement
142+
pillow
143+
plant-other
144+
plastic
145+
platform
146+
playingfield
147+
railing
148+
railroad
149+
river
150+
road
151+
rock
152+
roof
153+
rug
154+
salad
155+
sand
156+
sea
157+
shelf
158+
sky-other
159+
skyscraper
160+
snow
161+
solid-other
162+
stairs
163+
stone
164+
straw
165+
structural-other
166+
table
167+
tent
168+
textile-other
169+
towel
170+
tree
171+
vegetable
172+
wall-brick
173+
wall-concrete
174+
wall-other
175+
wall-panel
176+
wall-stone
177+
wall-tile
178+
wall-wood
179+
water-other
180+
waterdrops
181+
window-blind
182+
window-other
183+
wood

0 commit comments

Comments
 (0)