Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Registration page with take picture in webcam snapshot in java

Status
Not open for further replies.

vanimca

Technical User
Sep 23, 2014
1
IN
I am developing a JSP project in JSF frame work.

In my guest registration page I need to access web cam for taking images of guests.

What I need is to perform is, in a page I could be able to take the snaps and display it either in the same or in next page.

The image which I take could be able to stored in a specified location( which can be a snaps folder in project root folder).

Since it is a JSP page, it could be able to access the available camera in the system which ever is opening the page( if the camera drivers are installed) .

Is it possible to perform this functions using JSP ?

Which will be the best way to perform this.

Please give me some tips and tricks for doing this.

Methods using java, JSP, html, java script or any other methods are welcomed.
 
Both JSP and JSF are server-side technologies. To access a local device you will need a client-side technology like Javascript and some extra security permissions from the user to access his local devices. You will also have to deal with the different drivers and software for each type of camera.

I'd suggest a simpler approach: let the user take the picture himself and just give him the option to upload it to your server. This topic is broadly covered, for example here



Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top