OUR NETWORK:MediaSmart Home Sansa Community TechLore SlingCommunity RoboCommunity About UsAdvertiseContact Us

 
Learn about scoring Forum's Raw Score: 58820.6
November 12, 2008 11:30 PM
Rating (0 votes)
  • 1
  • 2
  • 3
  • 4
  • 5
Rate This!

Member Avatar

gouldtv

Member
Joined: 10/31/2008

I'm sure I'd have to go through a security popup first, but can anyone tell me if there's a way to make a web-page that can control the camera on the TouchSmart?  I'd like to create a web-page that can take the user's picture and save it as a JPEG to a host-server.  (with the user's permission)

Discussion:    Add a Comment | Comments 1-6 of 6 | Latest Comment

November 19, 2008 4:04 PM

gouldtv,

Look into the Windows Image Acquisition scripting model. Should be fairly straight forward.

-Joe

November 20, 2008 4:50 PM

I should have also mentioned that if WIA does not list the device, which it may not, you might have to enumerate the devices through DirectX. There are a couple ways to do this, all of which are out of the scope of a forum thread.

November 27, 2008 3:14 AM

gouldtv,

Just wondering how you made out with this issue? Did you ever find a solution to your needs?

-Joe

November 27, 2008 10:35 PM

All of the Windows Image Acquisition scripting model examples appear to be VBScript oriented, which doesn't seem to be something I could use in a host-based web-page environment. I was hoping for something more like a Flash application that could run in a browser. I did see your second note about DirectX, and was wondering if perhaps an ActiveX plugin could be written to access this. Is the web-cam embedded in these HP TouchSmart machines just like a LogicTech webcam that you'd buy from Best Buy and attach via USB?

November 27, 2008 11:03 PM

I'm not sure what you mean. Javascript can be run in a web browser, you do not need to use vbscript. In any event, you should first find out if the WIA supports the HP webcam, I don't know if it does, but you can enumerate the devices with probably as few lines of code to find out. If you find out that it does not, then you will need to use DirectX, probably DirectShow with a filter graph. You could go the route of using an ActiveX component, but if this is something that is going to be run locally, you could always run an xbap in the browser for this as well.

-Joe

November 29, 2008 12:51 AM

http://www.sillywebcam.com/scene.asp?template=0-427-600-simpsons_TV_set-126_1...

Good news! It looks like Flash's native camera-control functions work with the HP TouchSmart camera.

I'm still learning more about how to control WIA via Javascript, however, and if it can do the same thing with a few lines of code, then I'm tempted to go the JS route.

Discussion:    Add a Comment | Back to Top | Comments 1-6 of 6 | Latest Comment

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window