How can I acquire images from multiple GigE cameras using Image Acquisition Toolbox and Parallel Computing Toolbox?
37 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 14 de Mzo. de 2018
Editada: MathWorks Support Team
el 4 de Nov. de 2025
I have two or more GigE Vision cameras and I want to acquire images/video from them by using Parallel Computing Toolbox with one worker per camera.
Is there some example code that shows this approach?
Respuesta aceptada
MathWorks Support Team
el 4 de Nov. de 2025
Editada: MathWorks Support Team
el 4 de Nov. de 2025
Please find attached example code on how to acquire from two cameras with spmd (Parallel Computing Toolbox) and videoinput (Image Acquisition Toolbox).
Refer to the attached examples:
- "example_videoinput_spmd_logtomemory.m"
- "example_videoinput_spmd_logtodisk.m"
The acquisition from each camera takes place in separate worker by using spmd blocks. When detecting the connected cameras, labBarrier ensures that the camera detection code is called by only one worker at a time.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre GigE Vision Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!