You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+35-38Lines changed: 35 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,12 +96,13 @@ In future, I may make the config.ini auto-generated from CMake options.
96
96
*`Location` (string) -> Points to the file location in which the logs are stored. Default is `log.txt`.
97
97
*`DLIB`
98
98
*`ReferenceFile` (string) -> Specifies the file containing reference face data for face recognition. iot-facerecognition-server will try to find faces that are specified in this file in the input stream. Default is `faces.json`. This file must be in JSON format. See below for example:
99
-
100
-
[
99
+
100
+
[
101
101
{
102
102
"tag": "trump",
103
103
"photos": [
104
-
"trump.jpg", "trump2.jpg"
104
+
"trump.jpg",
105
+
"trump2.jpg"
105
106
]
106
107
},
107
108
{
@@ -128,36 +129,34 @@ Sample face recognition result:
128
129
129
130
```json
130
131
[
131
-
{
132
-
"tag": "trump",
133
-
134
-
"x": 10,
135
-
"y": 200,
136
-
"width": 128,
137
-
"height": 128
138
-
},
139
-
{
140
-
"tag": "",
141
-
142
-
"x": 35,
143
-
"y": 50,
144
-
"width": 64,
145
-
"height": 86
146
-
},
132
+
{
133
+
"tag": "trump",
134
+
"x": 10,
135
+
"y": 200,
136
+
"width": 128,
137
+
"height": 128
138
+
},
139
+
{
140
+
"tag": "",
141
+
"x": 35,
142
+
"y": 50,
143
+
"width": 64,
144
+
"height": 86
145
+
}
147
146
]
148
147
```
149
148
150
149
Sample object recognition result:
151
150
```json
152
151
[
153
-
{
154
-
"label": "King penguin",
155
-
"prediction": 0.15
156
-
},
157
-
{
158
-
"label": "Chihuahua",
159
-
"prediction": 0.0005
160
-
},
152
+
{
153
+
"label": "King penguin",
154
+
"prediction": 0.15
155
+
},
156
+
{
157
+
"label": "Chihuahua",
158
+
"prediction": 0.0005
159
+
}
161
160
]
162
161
```
163
162
@@ -274,17 +273,15 @@ An example command (the command that contains facial recognition results):
0 commit comments