Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Uploading a live Photo in JSF

 
Lav Bull
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello guys,
I have a JSF (ICEFACES) application in which I want to allow my user of my application the feature of uploading his/her image/photo. Currently a user can browse his/her computer and upload photo. Now my requirement is that I also want to give him the feature of uploading his Profile Picture using his webcam or some similar kind of device. (In other words a live photo upload to be implemented in JSF or ICEFACES).

I want to know if this kind of thing can be implemented. If yes how can I achieve this?

Reference: (Similar kind of functionality can also be seen in Facebook where we can upload a live photo!!)

Any help would greatly be appreciated. :)

 
Tim Holloway
Saloon Keeper
Pie
Posts: 18094
48
Android Eclipse IDE Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Lav!

Actually, for less than $100, I once bought a webcam system that included a USB camera with night-lighting capabilities plus a matchbox-sized control unit that was an entire server. It could run 2 USB cameras, act as a website for the webcams, email images when motion was detected, restrict access to authorized users and do much, much more. I was really disappointed when it died, since apparently it isn't being manufactured any more.

For security reasons, no web server can take control of a client computer's webcam and operate it remotely. I think the common work-around to that is to download a Flash app that talks to the camera and uploads to the server.
 
Lav Bull
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Tim for the reply. I will give a try to use a Flash app and integrate it with my application. Will again pester you if I get stuck... ;)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic