File tree Expand file tree Collapse file tree 2 files changed +49
-24
lines changed Expand file tree Collapse file tree 2 files changed +49
-24
lines changed Original file line number Diff line number Diff line change 44
44
"cell_type" : " markdown" ,
45
45
"metadata" : {},
46
46
"source" : [
47
- " ## Object detection "
47
+ " ## Face API "
48
48
]
49
49
},
50
50
{
84
84
"cell_type" : " markdown" ,
85
85
"metadata" : {},
86
86
"source" : [
87
- " Process an image directly "
87
+ " Perform face detection "
88
88
]
89
89
},
90
90
{
146
146
]
147
147
},
148
148
{
149
- "cell_type" : " markdown" ,
149
+ "cell_type" : " code" ,
150
+ "execution_count" : 11 ,
150
151
"metadata" : {},
152
+ "outputs" : [
153
+ {
154
+ "data" : {
155
+ "text/plain" : [
156
+ " 2"
157
+ ]
158
+ },
159
+ "execution_count" : 11 ,
160
+ "metadata" : {},
161
+ "output_type" : " execute_result"
162
+ }
163
+ ],
151
164
"source" : [
152
- " ## Helper functions\n " ,
153
- " The package provides helper functions for extracting info out of deepstack predictions"
165
+ " len(dsface.predictions)"
154
166
]
155
167
},
156
168
{
157
- "cell_type" : " code" ,
158
- "execution_count" : null ,
169
+ "cell_type" : " markdown" ,
159
170
"metadata" : {},
160
- "outputs" : [],
161
171
"source" : [
162
- " # help(ds)"
172
+ " ## Helper functions\n " ,
173
+ " The package provides helper functions for extracting info out of deepstack predictions"
163
174
]
164
175
},
165
176
{
Original file line number Diff line number Diff line change 86
86
"cell_type" : " markdown" ,
87
87
"metadata" : {},
88
88
"source" : [
89
- " Process an image directly "
89
+ " Perform object detection "
90
90
]
91
91
},
92
92
{
156
156
]
157
157
},
158
158
{
159
- "cell_type" : " markdown" ,
159
+ "cell_type" : " code" ,
160
+ "execution_count" : 14 ,
160
161
"metadata" : {},
162
+ "outputs" : [
163
+ {
164
+ "data" : {
165
+ "text/plain" : [
166
+ " 3"
167
+ ]
168
+ },
169
+ "execution_count" : 14 ,
170
+ "metadata" : {},
171
+ "output_type" : " execute_result"
172
+ }
173
+ ],
161
174
"source" : [
162
- " ## Helper functions\n " ,
163
- " The package provides helper functions for extracting info out of deepstack predictions"
175
+ " len(dsobject.predictions)"
164
176
]
165
177
},
166
178
{
167
- "cell_type" : " code" ,
168
- "execution_count" : 8 ,
179
+ "cell_type" : " markdown" ,
169
180
"metadata" : {},
170
- "outputs" : [],
171
181
"source" : [
172
- " # help(ds)"
182
+ " ## Helper functions\n " ,
183
+ " The package provides helper functions for extracting info out of deepstack predictions"
173
184
]
174
185
},
175
186
{
284
295
},
285
296
{
286
297
"cell_type" : " code" ,
287
- "execution_count" : 13 ,
298
+ "execution_count" : 16 ,
288
299
"metadata" : {},
289
300
"outputs" : [
290
301
{
291
- "name" : " stdout" ,
292
- "output_type" : " stream" ,
293
- "text" : [
294
- " 1\n "
295
- ]
302
+ "data" : {
303
+ "text/plain" : [
304
+ " 1"
305
+ ]
306
+ },
307
+ "execution_count" : 16 ,
308
+ "metadata" : {},
309
+ "output_type" : " execute_result"
296
310
}
297
311
],
298
312
"source" : [
299
313
" CONFIDENCE_THRESHOLD = 0.9997\n " ,
300
- " print( len(ds.get_confidences_above_threshold(confidences, CONFIDENCE_THRESHOLD) ))"
314
+ " len(ds.get_confidences_above_threshold(confidences, CONFIDENCE_THRESHOLD))"
301
315
]
302
316
},
303
317
{
You can’t perform that action at this time.
0 commit comments