LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview + OpenCV

Hi Sir,

 

Just a open discussion, labview + opencv solution is much easier than that of ni vision ?

Because we have AI now, can use AI for opencv easily.

 

Thanks.

 

Bruce

Learning from other people, sharing ! bruce.xw.zhou@foxmail.com
0 Kudos
Message 1 of 7
(285 Views)

@Brzhou wrote:

Hi Sir,

 

Just a open discussion, labview + opencv solution is much easier than that of ni vision ?

Because we have AI now, can use AI for opencv easily.

 

Thanks.

 

Bruce


In short words — no, a LabVIEW + OpenCV solution is generally more complicated than using NI Vision.

 

If you plan to develop everything from the scratch, you will need to create a wrapper, because OpenCV is a C++ library. (I would not recommend using Python as the wrapper layer.) Alternatively, you can use something “ready to use,” for example the OpenLvVision_OpenCv Toolkit, but then you are limited by the functionality that toolkit provides and you become dependent on it. A slightly easier option is the Intel IPP library, because all functions are exported in a C‑compatible form, you will avoid wrapper in many cases, because you can call them directly from LabVIEW. However, you still need to understand DLLs, memory layouts and how image data is stored. So, my recommendation is to stay with NI Vision and extend it with external libraries only when really necessary. Of course, check the toolkit mentioned above — it may already be sufficient for your needs.

 

It’s also unclear what you mean by “can use AI for OpenCV easily.” If by “AI use” you mean using AI tools (Copilot, Claude, Cursor, etc.) to generate code and speed up development, then you still need a C/C++ wrapper around large parts of the vision code to take full advantage of AI‑assisted development. But if you mean Deep Learning (OpenCV’s DNN module, available since OpenCV 3.1), then you again face the same requirement: you must create a wrapper to expose these functions to LabVIEW.

 

If you describe the problem you are trying to solve, we can probably give more specific help.

Message 2 of 7
(239 Views)

Hi sir

 

thanks very much for the response and expertise.

if we have the tool off the shelf, certainly that would be great.

 

you know, nowadays, for  text code, we can just use AI to generate, it is very fast.

that is the reason I mentioned this.

thanks.

Learning from other people, sharing ! bruce.xw.zhou@foxmail.com
0 Kudos
Message 3 of 7
(196 Views)
Message 4 of 7
(184 Views)

that is great, thanks SIR !

Learning from other people, sharing ! bruce.xw.zhou@foxmail.com
0 Kudos
Message 5 of 7
(160 Views)

@alexderjuengere wrote:

there exists the "NI Vision OpenCV Utilities"

https://www.ni.com/en/support/documentation/supplemental/16/developing-vision-applications-using-ope...

 

 


This is a relatively old development and is not compatible with the latest LabVIEW versions, but it can still be used as a “getting started” point for developing an OpenCV wrapper. It is not a standalone solution; rather, it is an add‑on to NI Vision (meaning it uses NI Vision’s IMAQ image format and display controls).
 
 wrote:

that is great, thanks SIR !


You're welcome!

From a practical standpoint, to “get a feeling” for the effort involved, I would recommend implementing something simple in both pure NI Vision and OpenCV. This will help you estimate the amount of work required to achieve the same goal using the two different approaches. For example, as exercise try implementing well known Fourier–Mellin based image registration to obtain the affine transform between two images — you will immediately see the advantages and disadvantages of each method.
 
Message 6 of 7
(145 Views)

@Andrey_Dmitriev wrote:



@Andrey_Dmitriev wrote:

@alexderjuengere wrote:

there exists the "NI Vision OpenCV Utilities"

https://www.ni.com/en/support/documentation/supplemental/16/developing-vision-applications-using-ope...

 

 


This is a relatively old development and is not compatible with the latest LabVIEW versions, but it can still be used as a “getting started” point for developing an OpenCV wrapper. It is not a standalone solution; rather, it is an add‑on to NI Vision (meaning it uses NI Vision’s IMAQ image format and display controls).

 agreed! furthermore: "[...] meaning it uses NI Vision’s IMAQ image format, display controls  and IMAQ hardware drivers / IMAQdx hardware drivers"

opencv doesn't provided hardware drivers, but lots of (fast) interfaces (for many camera models e.g. FLIR) to control a camera - right?

 

is there an utility like NI Max within the OpenCV world?

I suppose, you need a third party solution, which supports your hardware, for this too, eg. Pleora ebus Player

 

 

 

0 Kudos
Message 7 of 7
(75 Views)