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
An Angular directive for easily taking pictures from your webcam.
4
+
5
+

6
+
7
+
## Getting started
8
+
9
+
1. Install via Bower using `bower install angular-camera`
10
+
2. Load the `omr.directives` module in your application: `angular.module('app', ['omr.directives']);`
11
+
12
+
## Using ngCamera
13
+
14
+
```html
15
+
<ng-camera
16
+
type="photo"
17
+
enabled="cameraActive"
18
+
width="640"
19
+
height="480"
20
+
countdown="3"
21
+
ng-model="media"
22
+
overlay-src="photoFrame"
23
+
capture="publish()"
24
+
capture-message="SMILE!"></ng-camera>
25
+
```
26
+
27
+
The captured photo will save a Base64 version of itself to the ng-model's definition. Overlay an optional picture frame via `overlay-src` to have it stitched onto the final image.
28
+
29
+
More extensive documentation to follow.
30
+
31
+
_Built by [Zach Dunn](https://github.com/zachdunn) from work on the [Robin Platform](http://getrobin)_
0 commit comments