From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

controlling mouse using patterns

Solved!
Go to solution

Hello dear Experts!

Can someone please replicate the following VI that this guy creates in the following YouTube link?

 

https://www.youtube.com/watch?v=dtSN0MHRLWk

 

I have limited experience with LabView and am working on a similar project. Please help. Thank you in advance!

0 Kudos
Message 1 of 5
(2,468 Views)
You won't find anybody here who will do your work for you. If you are working on a similar project and have specific questions then we can help you with those. You will also learn a lot more by doing it yourself.
_____________________________
- Cheers, Ed
0 Kudos
Message 2 of 5
(2,432 Views)

Very well, Ed.

I will provide a bit more detail on our project.  Using Vision Builder, along with SmartCam, we have been able to have the camera track one's eyes.  We then will share the variables of pixel position (or vector magnitude and angle from eye to center point within ROI we set) to LabView.  We would like to have the cursor update to the said position and have the VI run continuously, so as to allow one to use the cursor with their eye movement.  Furthermore, clicking is also something we would like to implement, using conditional logic.  Basically, help is needed with linking the coordinates of the detected object with the mouse cursor.  Am assuming it would be possible to link the variables to SetCursorPos.vi?

Thank you for your help.Smiley Happy

0 Kudos
Message 3 of 5
(2,419 Views)
Solution
Accepted by belyileha

"Am assuming it would be possible to link the variables to SetCursorPos.vi?"- to answer your only question so far, yes it's possible. Just wire the variables to the input, bundling them into the correct format if necessary.

0 Kudos
Message 4 of 5
(2,407 Views)

check this link it contains the necessary info plus the code which may help you.

 

A Webcam-based Point-of-gaze Tracking System......

https://decibel.ni.com/content/docs/DOC-29768

Message 5 of 5
(2,388 Views)