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 4444 "cell_type" : " markdown" ,
4545 "metadata" : {},
4646 "source" : [
47- " ## Object detection "
47+ " ## Face API "
4848 ]
4949 },
5050 {
8484 "cell_type" : " markdown" ,
8585 "metadata" : {},
8686 "source" : [
87- " Process an image directly "
87+ " Perform face detection "
8888 ]
8989 },
9090 {
146146 ]
147147 },
148148 {
149- "cell_type" : " markdown" ,
149+ "cell_type" : " code" ,
150+ "execution_count" : 11 ,
150151 "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+ ],
151164 "source" : [
152- " ## Helper functions\n " ,
153- " The package provides helper functions for extracting info out of deepstack predictions"
165+ " len(dsface.predictions)"
154166 ]
155167 },
156168 {
157- "cell_type" : " code" ,
158- "execution_count" : null ,
169+ "cell_type" : " markdown" ,
159170 "metadata" : {},
160- "outputs" : [],
161171 "source" : [
162- " # help(ds)"
172+ " ## Helper functions\n " ,
173+ " The package provides helper functions for extracting info out of deepstack predictions"
163174 ]
164175 },
165176 {
Original file line number Diff line number Diff line change 8686 "cell_type" : " markdown" ,
8787 "metadata" : {},
8888 "source" : [
89- " Process an image directly "
89+ " Perform object detection "
9090 ]
9191 },
9292 {
156156 ]
157157 },
158158 {
159- "cell_type" : " markdown" ,
159+ "cell_type" : " code" ,
160+ "execution_count" : 14 ,
160161 "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+ ],
161174 "source" : [
162- " ## Helper functions\n " ,
163- " The package provides helper functions for extracting info out of deepstack predictions"
175+ " len(dsobject.predictions)"
164176 ]
165177 },
166178 {
167- "cell_type" : " code" ,
168- "execution_count" : 8 ,
179+ "cell_type" : " markdown" ,
169180 "metadata" : {},
170- "outputs" : [],
171181 "source" : [
172- " # help(ds)"
182+ " ## Helper functions\n " ,
183+ " The package provides helper functions for extracting info out of deepstack predictions"
173184 ]
174185 },
175186 {
284295 },
285296 {
286297 "cell_type" : " code" ,
287- "execution_count" : 13 ,
298+ "execution_count" : 16 ,
288299 "metadata" : {},
289300 "outputs" : [
290301 {
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"
296310 }
297311 ],
298312 "source" : [
299313 " 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))"
301315 ]
302316 },
303317 {
You can’t perform that action at this time.
0 commit comments