Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Green output image from second Camera

$
0
0
Hi All. I have setup OpenCV 3.1.0 on my BeagleBone Black Rev C. All basic operations are working well. I have attached 3 cameras using USB hub to BBB. I have a simple OpenCV program that iterates through all the available programs and generate images in 3 different folders in OpenCV. I have verified that all cameras are available using `lsusb` command. Output in first image is fine with just weird lines on image. Output in second image is Green(Weird!). No Image is generated from third camera and i get the following output: **Not Working select timeout** Here is my code: int numberOfCameras = 3; for(int i=0; i> frame0; cout << fileName << endl; imwrite(fileName, frame0); } else if(i==1) { string fileName = "/gas1/" + ss.str() + ".jpg"; Mat frame1; cap >> frame1; cout << fileName << endl; imwrite(fileName, frame1); } else if(i==2) { string fileName = "/water1/" + ss.str() + ".jpg"; Mat frame2; cap >> frame2; cout << fileName << endl; imwrite(fileName, frame2); } } Please let me know why i am getting this issue. Or any hint to right direction will be really great. Thanks

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>