Skip to content

arajajyothibabu/camerajs

Repository files navigation

camerajs

npm version

HTML5 video utility for client camera.

Features

  • Supports ES6
  • Take a Photo
  • Video in pipeline
  • More features yet to come

Usage

  • Install using NPM

      npm install camerajs --save
    
  • Import

      import Camera from 'camerajs'
    
  • Initializing Client Camera

      const Camera = new Camera({
          video: VideoElement,
          photo: photoElement,
          snapButton: snapButtonElement
      });
    
  • You can also download from lib folder.

NOTE: Library under development. Feel free to contribute :)