It's not working with my Webcam

Mar 23, 2009 at 4:16 AM
Edited Mar 23, 2009 at 4:35 AM
Hi Mike

I have a very bad image of my cam when I run TouchlessDemo, image with poins running. I think it's not recognizing my cam. Does it have any soluction or I have to buy other webcam?
I'm from Brazil, then sorry for any error :)



Maybe it is becouse my webcam is not DirectShow, isn't it?
Mar 25, 2009 at 4:39 AM
Hi dario2,

I'm sorry that you're having trouble with Touchless.
I'm not sure what you mean by "image with points running".
Does TouchlessDemo start, or does it ask you to plug in a webcam?
Can you try using a friend's computer and/or webcam to see which is the problem?
Do you know the webcam model, can you try finding the latest drivers?

If your webcam doesn't work with DirectShow, then sadly it won't work with Touchless.
I'm sorry that I can't be of more help. Thanks for trying Touchless anyway!

- Mike
Mar 25, 2009 at 5:55 AM
Hi touchless community,

I'm starting to work with the Touchless SDK and it's awesome!The applications that can be made using this SDK are endless, congratulations to Mike and this hardworking community for sharing all your knowledge.

I'm having almost the same trouble as dario2, I have a 1.3  Megapixels HD webcam and a 2.0 Megapixels laptop integrated webcam. Altough the Touchless Demo and the samples I've created do recognize my webcams and present my images, I have experienced the following issues with it:

-The video stream appears ok, but then a progressive delay starts to appear while running.
-The markers I define are hardly recognized, and I have to play a lot with the Treshold value, bringing it almost to 0 in order to recognize a marker.
-And also, when it does recognize my marker, when I use the drawing example it always draws random points within the borders of my marker, in other words it doesnt recognize my markers as a whole object.

What I've seen in most of the videos of the Touchless SDK is that it runs in a very smooth way, so I would like to know what are the minimun characteristics of your webcam/system, to guide myself if I have to get a new webcam or maybe a new computer...which I hope not. And if someone could explain to me what is the function of the Treshold in the image capture.



Mar 27, 2009 at 2:14 AM
Edited Mar 28, 2009 at 12:37 AM
Image with points running is like a TV with no signal. I don'k know how to say it in English. I'll try with a friend's cam and I'll come back to say if it's working.
Mar 29, 2009 at 9:35 AM
I've tested with a friend's webcam. TouchlessDemo worked well, no errors. So, I'm gonna buy a new webcam.

Thank you Mike :)
Apr 27, 2009 at 3:43 AM
Greetings Touchless community, I was testing the sdk and decided to create my own sample from the WalkhroughSample that comes with the demo, and I started to have all the troubles that I listed before. But the real problem that I had was the size of my picturebox, the form component that shows the camera output. Maybe it was because the marker selection is done just by clicking in the image instead of selecting an area, and also the bigger the picturebox more fuzzy is the marker selection. Although in the complete demo the picturebox is pretty big but the marker selection mode is done by selecting an area.

But the point is that since I reduced the size of the picturebox, it works very smoothly. I hope it works for someone, and it works fine in both of my webcams.

Apr 28, 2009 at 4:20 AM
Hi Fernando, please let me know if these tips help:

TouchlessDemo scales the video display from 320x240 to 640x480 for visual clarity. TouchlessLib requires a simple translation in coordinates when the user clicks on the image, and TouchlessDemo records the location. I believe that your predominant problem is likely the mismatch in display space and image space coordinates. For example, using the same scaling as TouchlessDemo, if the user selects a point at 100,100 in the windows forms picturebox, the code should send the point 50,50 to TouchlessLib to get the same point in the image.

However, you're correct in noting that using a single point with a predefined radius to add markers is not the best technique. Touchless relies heavily upon the selected area to properly track the marker. Using a very tight fitting circle around a relatively round marker is the most well supported scenario. You definitely want to match the marker area when adding for proper functionality.

Thanks for your interest and trying Touchless SDK!
- Mike