필터 지우기
필터 지우기

Camera access problem in matlab

조회 수: 2 (최근 30일)
Lalit Patil
Lalit Patil 2012년 12월 12일
I have a PPT vision's lan port connected camera..
I want to access it in MATLAB..
Image aquisition toolbox doesn't shows its information.
So, how to access it..?
  댓글 수: 2
Walter Roberson
Walter Roberson 2012년 12월 12일
Is "PPT" in this context "PowerPoint" ?
Lalit Patil
Lalit Patil 2012년 12월 12일
No, it is the company of camera...

댓글을 달려면 로그인하십시오.

답변 (2개)

Image Analyst
Image Analyst 2012년 12월 12일
Are you using Windows? Does the camera show up in Device Manager? If it doesn't show up there, then it won't be seen in imaqtool. If Windows does see it, then you should contact the manufacturer or the Mathworks to see which of several video "adapters" is supposed to see your camera. Some adapters are written by the Mathworks and some are written by the camera manufacturers.
What do you see when you do this:
hardwareInfo = imaqhwinfo % Print what cameras are there.
adaptorNames = hardwareInfo.InstalledAdaptors
% Might look something like:
% InstalledAdaptors: {'dcam' 'gentl' 'gige' 'PPT' 'lumeneraimaqw64' 'matrox' 'winvideo'}
matches = strfind(adaptorNames, 'PPT');
% Find out which index is the PPT Camera.
PPTIndex = find(~cellfun(@isempty, matches))
thePPTAdaptor = adaptorNames{PPTIndex}
  댓글 수: 2
Lalit Patil
Lalit Patil 2012년 12월 14일
편집: Lalit Patil 2012년 12월 14일
I am using windows..
And in Device manager in Imaging devices only it shows webcam..
After first two lines it shows
InstalledAdaptors: {'coreco' 'winvideo'}
MATLABVersion: '7.7 (R2008b)'
ToolboxName: 'Image Acquisition Toolbox'
ToolboxVersion: '3.2 (R2008b)'
adaptorNames =
'coreco' 'winvideo'
But it is a laptop webcam..
It shows mathes = [] []
Image Analyst
Image Analyst 2012년 12월 14일
Like David says, your camera is not supported with an adapter. Contact the manufacturer or select a different, supported camera.

댓글을 달려면 로그인하십시오.


David Tarkowski
David Tarkowski 2012년 12월 13일
Image Acquisition Toolbox does not support these cameras and I can't find any indication that PPT Vision provides MATLAB support for these cameras, either. You could write an adaptor (or convince PPT Vision to do so) for the Image Acquisition Toolbox using the toolbox's adaptor kit which would allow these cameras to be used with the toolbox. However, these cameras appear to be smart cameras, so even if somebody were to create an adaptor, only a small percentage of the camera's functionality would be available via the toolbox.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by