Capture Image via webcam
-
I’m new to this framework. But i want to know how to access webcam in quasar. as anyone access webcam with quasar in here? can you help me?
thank you -
From my knowledge, there is nothing in quasar for that. You can read about webRTC implementation.
-
you could look for vue based cam plugins. First google result:
https://github.com/VinceG/vue-web-cam
Or even better ( it has quasar support) try capacitor camera plugin
https://quasar.dev/quasar-cli/developing-capacitor-apps/capacitor-api#Capacitor-APIs
-
thank you for your suggestion. I will try and report the result.
more question: can i just use get usermedia from html5 to access the webcam? -
Yes you can, this is what used in webrtc.
You can look at this sample: https://webrtc.github.io/samples/src/content/getusermedia/gum/
It shows how to display an user’s webcam.