LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Real time image acquisition and processing

Hello,

At the moment I want to combine :

  (1) streaming a live image via my webcam -

  (2) specifying a line profile across the image and processing the profile data

 

When I do (1), I can use Vision Acq. to grab the image, and Vision Assistant to set a line profile, but I cannot then seem to select a different line profile when running the VI ; if I could I would be v.happy!

When I try include the line profile.vi code (that does allow for re-selecting the RoI), I do not seem able to run it real time

 

Any ideas on how to combine the two ?

 

Kind regards,

THC

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

If you attach your code, or show snippets of the code (you can create this via Edit > Create VI Snippet from Selection (I think that's the label, and you must select all your code first)), people might be able to be more helpful.

 

When you say "I do not seem able to run it real time" do you mean it can't be changed, or just that the processing is too slow and it makes the image stutter?


GCentral
0 Kudos
Message 2 of 4
(2,687 Views)

LabVIEW Vision is one of the more complex (and perhaps least-documented) parts of LabVIEW.  If you are willing to invest the time (at least a month, less if you can find someone with Vision experience to mentor you) to learn the basics (this assumes that you already are at least a CLAD-level LabVIEW Developer, preferably CLD-capable, i.e. have at least 6 months/1 year experience), you can certainly do what you want.

 

You probably cannot do this directly with Vision Assistant.  Express VIs are good for showing you what might be possible (and doing some simple things for you), but for anything more complex, you really need to write the IMAQ and IMAQdx routines yourself.

 

Bob Schor

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

Thankyou both ...  I think you are right Bob ; more time invested is almost definitely the answer, and that way I would be able to do more via the individual routines - I'm sure it is possible too.  It is not a priority task at the moment, but if I get to point where sharing some VIs would appear useful, I will do so.

 

Kind regards

THC

0 Kudos
Message 4 of 4
(2,666 Views)