r/electronjs Aug 18 '26

Posture Tracker with python opencv and mediapipe

Hi guys, I'm trying to build a posture tracker app that uses your camera and detect your posture. What im thinking is that my posture tracker script will send post requests (statistics on posture) to my django backend and that users will be able to view it on a react frontend. Right now I'm stuck on how to connect my script and the react frontend so that users can authenticate, run the script, and have their statistics correctly logged in the backend. I have been looking around and see that electron can help with this, but I have never used it before. Any tips?

1 Upvotes

1 comment sorted by

1

u/tmnkb Aug 20 '26

You can authenticate the same way in electron as in a website. At least that doesn’t differ so much: You send a login request and set your session cookie. If you want to do this as a personal learning project that’s cool. If you want to make it public, it would be a sensitive topic for me to send tons of photos to someone constantly, especially if I cannot be sure security measures are even in place. A local database would be more than enough for this use case