onemightyroar / angular-camera

Angular directive for easy webcam capture
GNU General Public License v2.0
62 stars 30 forks source link

Angular Camera Directive

An Angular directive for easily taking pictures from your webcam.

ngCamera in action

Getting started

  1. Install via Bower using bower install angular-camera
  2. Load the omr.directives module in your application: angular.module('app', ['omr.directives']);

Using ngCamera

<ng-camera
  type="photo"
  enabled="true"
  width="640"
  height="480"
  countdown="3"
  ng-model="media"
  overlay-src="http://example.com/photo-frame.png"
  capture="callback(media)"
  capture-message="Go!"></ng-camera>

Options

Built by Zach Dunn from work on the Robin Platform