@title Face detection F=get_prop 8 if F <> 2 then goto "error" :loop t=0 md_detect_motion 3, 3, 9, 60000, 20, 128, 1, t, 0, 1, 1, 3, 3, 0, 5, 5000 if t>0 then shoot goto "loop" end :error print "No face detection mode" end