I'm doing a project where the pi sits inside a box, with the camera pointed to the bottom. When there is an object inside this box, the raspberry pi is supposed to post to facebook every 10 minutes. When the object is taken out, the posts should stop.
I'm not exactly sure how I should tackle this. How does one recognise the presence of an object through the camera, and then use this to trigger a python script?
I have the NOIR camera with the PI zero Thank you for the help!