sonyalpha: Control a Sony Alpha Camera

版本 18.812 (3.0 MB) 作者: Emmanuel Farhi
Control a Sony Alpha Camera
250.0 次下载
更新时间 2021/4/7

SONYALPHA A class to control a Sony Alpha Camera (NEX, Alpha, ...) compatible with the Camera Remote API by Sony.
** Usage **
>> camera = sonyalpha;
>> image(camera);
Then you can use the Methods:
- getstatus(camera): get the camera status
- iso: set/get ISO setting
- shutter: set/get shutter speed setting
- mode: set/get the PASM mode
- timer: set/get the self timer
- fnumber: set/get the F/D aperture
- white: set/get the white balance
- image: take a shot and display it
- imread: take a shot and download the image (no display)
- ...

** Connecting the Camera **
Start your camera and use its Remote Control App (e.g. Play Memories App) from the Camera settings. This starts the JSON REST HTTP server, used to control the camera. The Network SSID is shown on the Camera screen. Connect from your PC on that network. The usual associated IP is then 192.168.122.1 (port 8080)
The connection must be a dedicated ad-hoc, e.g. can NOT use an intermediate router. If you are already connected to the Internet, you have to drop your current connection, or use an additional Wifi adapter (e.g. USB-Wifi).

You can also connect the camera via a USB cable when GPhoto is installed.

** Requirements/Installation **
- Matlab, no external toolbox
- A wifi or USB connection
- A Sony Camera
- curl (for wifi)
- ffmpeg (for liveview via Wifi)
- gphoto2 (for USB)
Just copy the files and go into the directory. Then type commands above, once the camera is configured (see above).

** Credits **
https://github.com/micolous/gst-plugins-sonyalpha
https://github.com/Bloodevil/sony_camera_api
(c) E. Farhi, GPL2, 2018.

引用格式

Emmanuel Farhi (2024). sonyalpha: Control a Sony Alpha Camera (https://github.com/farhi/matlab-sonyalpha), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
18.812

now can control from USB via GPhoto when installed

1.0.2.0

has now functional GUI from plot/image figure, with menus. Doc update.

1.0.1.0

added icon/picture

1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库