Multi-Camera Connection To MatLab

3 ビュー (過去 30 日間)
tma
tma 2020 年 10 月 3 日
回答済み: Manish Mahalwal 2020 年 10 月 13 日
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 Center および File ExchangeRaspberry Pi Hardware についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by