Interface Sony cameras with MacBook

조회 수: 1 (최근 30일)
Umberto Fontana
Umberto Fontana 2017년 12월 15일
답변: Walter Roberson 2017년 12월 18일
Hello, I am trying to connect a Sony FCB MA 130 camera with matlab to superimpose a circle. Here there is the code:
% Create a video input object.
vid = videoinput('macvideo',2);
% Create a figure window. This example turns off the default
% toolbar, menubar, and figure numbering.
figure('Toolbar','none',...
'Menubar', 'none',...
'NumberTitle','Off',...
'Name','My Preview Window');
% Create the image object in which you want to display
% the video preview data. Make the size of the image
% object match the dimensions of the video frames.
vidRes = vid.VideoResolution;
nBands = vid.NumberOfBands;
hImage = image( ones(vidRes(2), vidRes(1), nBands) );
hold on
viscircles([1920/2 1080/2],10)
preview(vid, hImage);
end
I'd like to change some parameters, such that brightness, focus and so on, but if I try to execute the following command:
src = getselectedsource(vid);
No parameters are included in the answer;
Could someone help me?
  댓글 수: 4
Walter Roberson
Walter Roberson 2017년 12월 18일
Would you be able to post a link to the English specifications of the CAT MA130? I am only able to find one Japanese PDF for it.

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

답변 (1개)

Walter Roberson
Walter Roberson 2017년 12월 18일
https://www.phase1vision.com/blog/usb-3-0-interface-for-sony-fcb-ma130-micro-camera claims to be an interface for that device with Mac drivers.

Community Treasure Hunt

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

Start Hunting!

Translated by