LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Webcam image acquisition

Hey everyone,

I'm somewhat new to Labview and I've only recently gotten the Vision Development Module and the Vision Acquisition software. It's extremely new to me and I'm at a loss. I searched around and couldn't seem to find exactly what I'm looking for, or maybe I didn't understand it enough to know. I'm really just looking for something to get me started. I'm currently using my laptop and I wanted to create a VI that showed what my webcam was seeing continuously, allows the user to drag and focus on a specific area, and can take a snapshot of the user defined spot.

Ultimately I'm going to use the snapshotted image as a comparison to a later snapshotted image. I'm just looking for somewhere to get started. I've played around with some of the functions and was able to see what my webcam was seeing though I had no clue how to take a snapshot of the image.

 

Thanks in advance for the assistance.

EDIT: I added a VI of what I'm currently working with that I found from searching around. I'm just stuck at the snapshoting of the defined area(the drag and select tool on image indicator).

0 Kudos
Message 1 of 7
(3,507 Views)

I think what you want to do is called ROI... region of interest.

 

See here for an example:  https://decibel.ni.com/content/docs/DOC-5531

 

http://www.medicollector.com
Message 2 of 7
(3,492 Views)

Also, you might want to re-post here:

 

http://forums.ni.com/t5/Machine-Vision/bd-p/200

 

I often find the vision experts hang out in that forum.

http://www.medicollector.com
Message 3 of 7
(3,490 Views)

Hey thanks for the reply.

I will post there.

I appreciate the assistance and will look into the ROI stuff.

0 Kudos
Message 4 of 7
(3,483 Views)

This looks like a good example too:

 

http://www.ni.com/example/30249/en/

 

 

http://www.medicollector.com
0 Kudos
Message 5 of 7
(3,480 Views)

reading your message you want to capture from webcam imaenes your laptop, this program in Labview capture images from a USB camera to your application for further processing using the NI Vision module.

 

webcam otiniano.png

0 Kudos
Message 6 of 7
(3,385 Views)

If we draw ua perform extraction of the region of interest with a function for image processing that captures the last event of the RGB image (extract image coordinates and ROI)...

 

 

capture ROI.png

0 Kudos
Message 7 of 7
(3,381 Views)