i'm working on a project with computer vision on a raspberry pi where I can't get my head around how to solve the folloing problem:
i need a script where if it's the first time today that it detects my face then it needs to do something otherwise if it's not the first time today that it discovers my face then do nothing. i have the script for face detection but my problem is that I don't know how to write the code for the function if its the first time today that it detects my face then do X otherwise Y