Bumblebee 2 image acquisition problem
Show older comments
Hi I am trying to capture images with a bumblebee 2 stereo camera, however whenever I attempt to declare a video object, I get the error:
"Error using videoinput (line 379)
winvideo: Image acquisition device is not
accessible.
The parameter is incorrect.
Make sure no other objects or applications
are accessing the same device."
The code I am using to declare the video object is:
vid = videoinput('winvideo', 1, 'RGB24_1024x768')
Also, I am not attempting to access the camera using any other application, therefore I do not understand why it shows that it is inaccessible.
Accepted Answer
More Answers (1)
Image Analyst
on 25 Oct 2014
1 vote
Is this in your code, or by using imaqtool?
12 Comments
Image Analyst
on 25 Oct 2014
Did you see a warning like this when you started imaqtool:
Warning: No Image Acquisition adaptors found. Image acquisition adaptors may be available as downloadable support packages. Open Support Package Installer to install additional vendors.
If so, open the support package and install the OS Generic Video adapter.
Sarisha
on 25 Oct 2014
Image Analyst
on 25 Oct 2014
Edited: Image Analyst
on 25 Oct 2014
If it's a stereo camera, do you have to connect to each camera in it, or does the pair of cameras act as a single camera? Is it possible you connected to the same one (e.g. the left one) twice instead of connecting to both the left and right camera?
Sarisha
on 25 Oct 2014
Image Analyst
on 25 Oct 2014
Edited: Image Analyst
on 25 Oct 2014
Not really. I'd have to fumble through it just like you. I've only ever talked to one camera before but I know that you can connect to two cameras. My guess is that you'd call videoinput() with a different number for the second input argument and a different name for the returned argument.
vid1 = videoinput('winvideo', 1, 'RGB24_1024x768')
vid2 = videoinput('winvideo', 2, 'RGB24_1024x768')
Sarisha
on 25 Oct 2014
Image Analyst
on 25 Oct 2014
Maybe it treats it as a single camera and gives two images stitched side by side when you call getsnapshot(). Of course you can't even get to that point. Can use use this generic winvideo adapter for just an ordinary run of the mill webcam? Or does even that have trouble?
Sarisha
on 25 Oct 2014
Image Analyst
on 25 Oct 2014
I can't really help anymore since I don't even have that camera. You'll have to work it out with the Mathworks and Point Grey.
Sarisha
on 25 Oct 2014
Image Analyst
on 29 Oct 2014
In your duplicate question, David said that it should return both images in one. I guess either stitched side-by-side, or interleaved. Call them if that's not the case.
Sarisha
on 30 Oct 2014
Categories
Show more
Find more on Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!