You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here you go my friend, just extending the webcam.setup() parameter in the example code snippet worked perfectly for me: await webcam.setup({ facingMode: "environment" });
Alternatively use facingMode: "user" for front camera.
Have a good day and, in case of interest, make sure to read my answer here to make the webcam work on iOS devices as well. Just two extra-lines of code :-)
I'm trying to use the back camera. However, I'm unable to find the fix to use the back camera for mobile. Webcam seems to work.
The text was updated successfully, but these errors were encountered: