gouldtv,
Look into the Windows Image Acquisition scripting model. Should be fairly straight forward.
-Joe
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)
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.
gouldtv,
Just wondering how you made out with this issue? Did you ever find a solution to your needs?
-Joe
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?
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
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.


RSS
