Hello can someone help me in coding,
I don't know how I can create a program that will record the number of seconds that the object is not detected.
import time
import recognition # ...I guess?
start = time.time()
face = recognition.Facial()
while not face.detected():
time.sleep(0.01)
print("It took {0} seconds.".format(time.time() - start))