Multi-Camera Connection To MatLab

4 次查看(过去 30 天)
tma
tma 2020-10-3
Hi,
I have a project that I would like to stream 4 videos together on Matlab. The goal is to get 4 live video data from the Raspberry Pi 4B , which has about 9 fps per video, and stitch videos on Matlab, either by using the position based image stitching or by stitching algorithms such as video mosaicking.
I am currently using a Raspberry Pi 4 B and a 4 cameras adapter from Arducam; however, this adapter is a nascent product that has some stability issues and limitations.
Any ideas on how to approach this problem, I would appreciate it!

回答(1 个)

Manish Mahalwal
Manish Mahalwal 2020-10-13
Hi,
About the workflow that you mentioned, is the camera adapter doing some multiplexing or is it creating 4 separate camera interface within Raspberry Pi like /dev/video0, /dev/video1 and so on?
If it is multiplexing, you might have to control it via GPIO pins, like set the GPIO pins to 00 and take first camera's snapshot then change GPIO to 01 and then the second camera's snapshot and so on.
If it is creating separate interfaces you can create multiple webcam objects and then access the data.
In the past, people have faced problems using multiple cameras with a single Raspberry Pi. This forum mentions a lot of different workflows you could try. Please note, I can't say it will work, but it may be a place to start.

类别

Help CenterFile Exchange 中查找有关 Raspberry Pi Hardware 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by