Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to work with a webcam in c( with myRIO)?

Hello everyone!

 

I don't know if the question from the title is clear. What I want to do is to make some image processing on myRIO but not in LV. I want to do it in C. I allready wrote some programs in C and it worked ok. But now I don't have any ideea how I can acces an image that i recieve from webcam, in Eclipse.

 

Can anyone help me?

0 Kudos
Message 1 of 3
(3,698 Views)

So0202,

 

While there are likely several methods of accomplishing your goal, I would reccommend installing NI Vision Acquisition Software August 2015 and then navigating to the help file described in the readme. It will walk you through configuring Eclipse and also give you some text-based examples to reference. 

 

The readme I discuss above can be found here: http://download.ni.com/support/softlib//vision/Vision%20Acquisition%20Software/August%202015/VisionA...

 

Thanks,

Chris S

--------------------------------------
Message 2 of 3
(3,677 Views)

So0202,

 

One point of clarification: It will likely need to be a UVC compliant webcam, as directshow is not supported on Linux. That being said, some Basler USB3 Vision cameras are also supported: http://digital.ni.com/public.nsf/allkb/F270DE974BF028C486257BF100626B0B

--------------------------------------
0 Kudos
Message 3 of 3
(3,652 Views)