Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

CAMShift Tracking using myrio

Solved!
Go to solution

Hi,

I am using CAM-shift tracking (shape-based mean shift) example on my PC and it does track moving objects. But once i port the example to myrio, i keep receiving the video from the webcam attached to myrio but it does not track the object i specify using a bounding box.

 

During the build process, there were no errors. The only errors i get when i port the example from PC to myRIO are concerning the mechanical actions of two/three push buttons i.e. myrio probably does not work with latch action buttons. I changed the mechanical behaviour of the buttons to suit myrio and after deploying the code onto myrio, no tracking happens.

Kindly help... would much appreciate....

 

 

0 Kudos
Message 1 of 4
(2,765 Views)

Perhaps there is some piece of software missing on the myRIO.

Have you already installed Vision Acquisition Software and Vision Development Module on your myRIO?

How are you verifying that no tracking is being done?

 

0 Kudos
Message 2 of 4
(2,727 Views)
Solution
Accepted by neo010

Problem solved. The event structure used in the Tracking example, is not supported by myRIO. Changing event structure to case structure solved the problem.

 

Thanks for everybody's help and participation.

 

 

 

0 Kudos
Message 3 of 4
(2,705 Views)

Can you mark your last comment as the solution so that others with the same question can easily navigate to it? Thanks 🙂

Francine P.
Applications Engineering
National Instruments
0 Kudos
Message 4 of 4
(2,696 Views)