This is a simple Demo-Project for ngx-webcam.
It shows how to use the Webcam-Component from ngx-webcam
in a simple use-case, including parameters and event-bindings.
Try the Live-Demo to see everything in action.
To see how ngx-webcam
is being used, take a closer look at these files:
- package.json: Add the latest version of
ngx-webcam
to your project. - app.module.ts: See how the
WebcamModule
is imported into the Angular project. - app.component.ts: The snapshot-trigger and event-handler for the
WebcamComponent
are placed here. - app.component.html: The
<webcam>
-tag binds it all together - parameters and event-handlers. It displays the live view of the user's webcam.
Please open issues at the original ngx-webcam repository.