HebiRobotics/HebiCa​m

版本 1.1.0.0 (32.4 KB) 作者: Florian Enner
Read images from live video streams (ip cameras, usb cameras, h264, mjpeg, etc.)
1.1K 次下载
更新时间 2021/8/11

This submission provides a way to acquire real-time streaming video from a variety of sources. It is similar in functionality to MATLAB's IP Camera support package, but provides support for a wider range of formats. It is based on JavaCV and supports all formats that are supported by OpenCV and FFMpeg, including h264 and mjpeg streams. USB cameras are supported on Windows and OSX.
The image acquisition is done in a very efficient way that result in almost zero overhead to the main MATLAB thread. This also allows for reading multiple streams at the same time (e.g. stereo vision) and reading images from high resolution (1080p) streams.

Examples:
% (Axis) IP Camera
cam = HebiCam('http://<ip address>/mjpg/video.mjpg);
imshow(cam.getsnapshot());

% USB camera
clear cam; % make sure device is not in use
cam = HebiCam(1);
imshow(cam.getsnapshot());

% Displaying live images
figure();
img = imshow(getsnapshot(cam));
while true
set(img, 'CData', getsnapshot(cam));
drawnow;
end

% Forced gray-scale acquisition with timestamp
cam = HebiCam(address, 'ImageMode', 'Gray');
[image, frameNumber, timestamp] = getsnapshot(cam);

Readme: https://github.com/HebiRobotics/HebiCam
Download: https://github.com/HebiRobotics/HebiCam/releases

引用格式

Florian Enner (2024). HebiRobotics/HebiCam (https://github.com/HebiRobotics/HebiCam), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

src/main/resources/matlab

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

版本 已发布 发行说明
1.1.0.0

simplified description
added examples for 1.1 features

1.0.0.0

added space to description for better readability

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