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!