Webcam Based Laser Tracking for Human-Computer Interaction

Sign in to queue

The Discussion

  • User profile image
    Joe

    Could you please make it as .exe file to work under Vista. Thank you very much!

  • User profile image
    Clint

    @Joe, download Visual Studio Express and try it out ofr yourself!  Just hit F5 to compile it.

  • User profile image
    Nick

    Ashish, your project is great indeed!

    When I tested it I found some details with my webcam (A4 Tech).

    If I set via wmcap.exe the exposure manually to low value (-12 as minimum) I get fps (~17).

    If the exposure is at maximum (-10) - fps is approximatelly 6-7.

    In auto exposure mode I can reach all 30.5 fps if I do capture near very bright surfice (for example monitor screen) but for all that the webcam seems to be very hot by touch.

    Could you explain this behavior?

    Regards,

    Nick

  • User profile image
    JPF321

    @Coding4Fun .. thanks for the quick response.  Thanks!

  • User profile image
    Clint

    @JPF321 Ashwin's code could do this with an ink control in .net but after PDC (Nov 17 to 19th, 2009) we'll have an article being released that can do this too but with XNA and WPF written by Jeremiah Morrill.

  • User profile image
    JPF321

    Ashish, thanks for the wonderful work and blog!

    I'm wondering what mods/tweaks were needed to this codebase to write "Hello World" as you did in your demo. It seems that, as is, it only makes mouse-click when laser goes OFF. So how did you get to click & drag lift pen and then click & drag again?

    I'm a newbie, but I think my question is a good one

    Thanks,

    jpf

  • User profile image
    Clint

    @Mike  http://laserinteraction.codeplex.com/SourceControl/ListDownloadableCommits.aspx  click the download link on the right side.

  • User profile image
    Mike

    The download link isn't working Sad

    There is no current recommended release for this Project

    Please help

  • User profile image
    Clint

    @Ian, just tried, codeplex loaded.

  • User profile image
    IAN

    the download link isn't working a got an error message

    "Sorry, the page you requested was not found"

    Sad

  • User profile image
    Clint

    @builtinengineer

    did a quick search and this is a C++ solution it seems like.  I did not however test or verify the code.  We have c# examples on this.  http://www.hytherion.com/beattidp/comput/pport.htm

  • User profile image
    builtinengi​neer

    can anyone help me to access parallel port using c?

  • User profile image
    shobika

    please send the source code to shobikapearl@gmail.com

  • User profile image
    Clint

    @shobika download link is labeled "Download"  Smiley  Can be found over at http://www.codeplex.com/laserinteraction

  • User profile image
    Andy Lui

    Great project!

    I'm not a programer..

    How can I download the software and try with my fast camera and laser?

  • User profile image
    Clint

    @Andy Lui, this project you have to download the source and compile.  Download Visual Studio Express c# 2008 (https://www.microsoft.com/express), download the source code, open up the motion.sln file (refered to as the solution file), and just hit F5 or the play button.

  • User profile image
    Clint

    @Anna Glief Yup, actually just compiling the application with F5 will make it an executable!

    For a possible performance gain, switch to Release Mode.

    In the folder with the project, you'll see a BIN directory.  You'll have a DEBUG and RELEASE folder in there.  Everything needed to run the application is in that folder pending external dependancies you may have referenced that would need an installer.

    If you need additional help, contact us via the link at the top of the page!

  • User profile image
    Anna Glief

    It looks great in debug mode.

    But is it possible to create an exe?

    If Yes: how???

    (you are right: i'm a complete c#-newbee)

    I think this could be very helpfull for my friend, who has heavy disabillities (he can not move his hands/arms)

  • User profile image
    Clint

    @/ yup, go nuts, the application is open source Smiley

  • User profile image
    /

    Is it ok if i use these concepts in my project?

  • User profile image
    Clint

    @/ you still need to follow the license that the source code is released under however.  Different open source licenses have different rules when using them

  • User profile image
    /

    Gracias...dere were a lot of 'terms and conditions of use' & 'EULA' files! hence the question! sry fr d prev 2 comments, net prob!

  • User profile image
    Clint

    @Jordan Gray, go to the directory with the source code, you should see a BIN directory.  Depending on what you compiled it as, (I'll bet DEBUG) you'll see 2 folders.  so laserSource\bin\debug will have all the files you need to run the application.  You'll find the EXE in there.

  • User profile image
    Jordan Gray

    I just downloaded it and ran it, seems like it will work well (I just need to add some kind of filter to my camera, or dim my screen). However, I have a stupid question. I have no experience with Microsoft Visual Whatever I Just Downloaded, and so I was wondering if there was a way to permanently create this program (i.e., make a .exe that I can run when I want to run this program, as opposed to open Microsoft Visual, opening the "motion.sln", and then hitting F5).

    Sorry if that sentence ran on too long. Wink

    - Jordan

  • User profile image
    Jordan Gray

    I think the program is a great idea, I'm about to try and compile it.

    BTW, I like how you encourage people to compile the program for themselves, rather than you doing all the work for them. That's awesome Smiley

    - Jordan

Add Your 2 Cents