Hi all,
I have been tasked to create a face detection app, which should be able to take a photo/screenshot when a face is center of the camera and placed symmetrically.
(The logic for when a face is symmetrically placed has not jet been decided).
After some googeling and youtubeing I find that the face-api.js library is quite convenient, as it runs on the client-side.
I did try the opencv library in anvil but since it’s running on the server side it is not an option.
Has anyone worked with the face-api.js library with anvil? The example app below works on desktop browsers like chrome, brave and safari. But I cannot get the camera to work properly on mobile; using safari and/or chrome.
I would also appreciate feedback if my “approach” using javascript is correct or not.
Fyi, the app is still under construction
Link to live app
https://wide-eyed-jubilant-kid.anvil.app
https://anvil.works/build#clone:E4CU4XETGPHJUBON=DFZ7C7XILQ375HYPQTRJKMMU