Advice needed: Realtime smile detection that controls a relay

Hi! So I need to build a machine that only works when you smile for a school project. Basically, when a smile is detected a relay turns on the machine until the smile is not detected anymore.

I was wondering if anyone has any advice for me how to achieve this as simply as possible? I would like to mount the device and camera inside the machine and preferably run on battery for an hour or two.

I was looking at mediapipe and a raspberry pi, but then I thought about Edge impulse and was wondering if it is possible/reasonable to do here?

What platform would be good to run it on? Also raspberry pi? or something else?

Thanks,
Jonas

Hello @Instant_exit,

You might want to check this video from Kwabena:

You’ll still need to implement your custom logic once you’ve detected a smile to perform any action.
For this use case, you can use most of the Edge Impulse supported board that have a camera, it should be easy to implement.

Let me know if you have any other questions.

Regards,

Louis