WebCam Snaps through WebPage

  • Tags : flash, webcam, snaps
  • Latest : 0.1
  • Last Updated: 05 August 2010
  • Grails version : 1.3.2 > *
  • Authors : null
3 votes
Dependency :
compile ":web-snaps:0.1"

Documentation

Summary

Installation

grails install-plugin web-snaps

Description

Introduction

User can take the snap-shots using Webcam through the browser.

Example Usage

Create a grails application TestPlugin using command

grails create-app TestPlugin

move to TestPlugin Directory using following command

cd TestPlugin

and install the plugin using following command

grails install-plugin web-snaps

Edit the index.gsp in TestPlugingrails-appviews in notepad or any editer.

Add the following line in <head> tag

<webcam:head/>

Then whereever you require the webcam snap functionality add the following line of code.

<webcam:webcamAnchor/>

Thats it. run the application

Once application is running access the following url

http://localhost:8080/TestPlugin

you have a webcam image click on that image, it will open pop-up window.

click on snap button for taking the snap shot

click on the save button for saving the image in your desktop

you can upload this image by normal file upload.

TODOS

  • Identifying the flashplayer9 installed or not. if not provide Express Installation.
  • Identify whether user has webcam or not.
  • Create a Demo Apllication with spring security to provide user to take the snap-shot and upload of image while registration.

Author

chandra sekhar reddy

chandrasmailbox@gmail.com

License

Licensed under the Apache License, Version 2.0. See http://www.apache.org/licenses/LICENSE-2.0.

Tested on firefox 3 + ,Windows Vista

Flash9 player Required in your browser.