LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Vision options for LabVIEW CE?

Are there any options for NI-Vision style code for LabVIEW CE? I don't believe CE comes with the Vision library. I have a home project that needs to do some image processing. Are there any decent 3rd party open-source/free/etc vision toolkits out there that work well with LabVIEW?

 

(The application I have in mind is to read the values off dice. Basically, roll them and record the value a few hundred times to get an idea of randomness 😁)

0 Kudos
Message 1 of 5
(2,603 Views)

I believe that CE does not come with Vision Acquisition Software (which requires an additional Licen$e from NI).  How do WebCams get images when using Zoom, Teams, WebEx, etc. (as we've been doing lately)?  Might there be a DLL that you could "tap" and get arrays of pixels that you process yourself?  [Don't ask me -- I'm still "Web-challenged" ...].

 

Bob Schor

0 Kudos
Message 2 of 5
(2,541 Views)

Check out this post and see if it helps:

 

https://forums.ni.com/t5/LabVIEW/2-hours-finished-the-webcam-program/m-p/782481#M357701

 

I'm also busy enjoying LabVIEW CE!

_______________________________________________________________
"Computers are useless. They can only give you answers." - Pablo Picasso
Message 3 of 5
(2,508 Views)

Thanks for that post. I think I've tried that one before but I can't quite remember. I had a customer that needed simple camera acquisition and one of the old "generic Windows dll" functions wasn't working in Win10 anymore. I can try that one though, thanks.

 

The other issue is that I'll still need some image recognition. Poking around it looks like there are some open source ones but none of them seem to have any solid LabVIEW drivers. OpenCV looks promising but I haven't tried it yet.

 

I'll probably have to use either that dll or something similar to acquire the image, then send it to a separate image recognition code like openCV. As tons of that stuff is written in Python I might just do the image recognition in Python, heck maybe the whole thing. It'd be a good reason to learn Python anyway 🙂

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

If the performance requirements aren't that high I would probably just do the inspection in Python using the opencv package and pass it a pixel list instead of spending way too long getting all the CLFNs configured correctly.

 

I don't know what camera you're using but a lot of the times if you just go to the manufactures' site you can find some simple driver API to use (though may not be as likely if you're just using some generic webcam).

Matt J | National Instruments | CLA
0 Kudos
Message 5 of 5
(2,463 Views)