Bumblebee 2 image acquisition problem
古いコメントを表示
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.
採用された回答
その他の回答 (1 件)
Image Analyst
2014 年 10 月 25 日
1 投票
Is this in your code, or by using imaqtool?
12 件のコメント
Image Analyst
2014 年 10 月 25 日
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
2014 年 10 月 25 日
Image Analyst
2014 年 10 月 25 日
編集済み: Image Analyst
2014 年 10 月 25 日
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
2014 年 10 月 25 日
Image Analyst
2014 年 10 月 25 日
編集済み: Image Analyst
2014 年 10 月 25 日
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
2014 年 10 月 25 日
Image Analyst
2014 年 10 月 25 日
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
2014 年 10 月 25 日
Image Analyst
2014 年 10 月 25 日
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
2014 年 10 月 25 日
Image Analyst
2014 年 10 月 29 日
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
2014 年 10 月 30 日
カテゴリ
さらに表示
ヘルプ センター および File Exchange で Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!