Read images from live video streams (ip cameras, usb cameras, h264, mjpeg, etc.)
Al momento, stai seguendo questo contributo
- Vedrai gli aggiornamenti nel tuo feed del contenuto seguito
- Potresti ricevere delle email a seconda delle tue preferenze per le comunicazioni
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
Cita come
Florian Enner (2026). HebiRobotics/HebiCam (https://github.com/HebiRobotics/HebiCam), GitHub. Recuperato .
Categorie
Scopri di più su Code Generation, GPU, and Third-Party Support in Help Center e MATLAB Answers
Informazioni generali
Compatibilità della release di MATLAB
- Compatibile con qualsiasi release
Compatibilità della piattaforma
- Windows
- macOS
- Linux
Le versioni che utilizzano il ramo predefinito di GitHub non possono essere scaricate
| Versione | Pubblicato | Note della release | Action |
|---|---|---|---|
| 1.1.0.0 | simplified description
|
||
| 1.0.0.0 | added space to description for better readability |
