LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Stitching an Image using 2 USB Cameras

Hello everyone! I have developed a VI which would stitch the images together captured by 2 independent USB Cameras. I am facing a problem. This VI works perfectly when the images are captured by a single camera and stitches them together perfectly but somehow when I apply the same logic to stitch the 2 images captured by different cameras, the 2nd Image appears to be black. Can someone please help me as I have been stuck on this for quite some time?
I have attached the VI and the issue that I am facing.

Vedanthsingh15_0-1630390970690.png

 

 

0 Kudos
Message 1 of 2
(1,530 Views)

You have used the same file path for the IMAQ Write File acquisition of both cameras.  I suspect that causes the problem where you don't necessarily have two images since one overwrites the other.

 

The appending code also seems a little convoluted. Do you really need the For loop?  Why not just specify the first image as 0,0 and then the second at the 0,<width of image 1>?

 

a.png

0 Kudos
Message 2 of 2
(1,466 Views)