Why isn't the "From Video Device" block in Simulink saving my manually-entered camera properties?

7 visualizaciones (últimos 30 días)
I am currently working on a project where I am trying to identify the location of different objects using a number of cameras with overlapping fields of view and a pretty simple triangulation method.
As of right now, I am just trying to record some sample footage from all of the cameras. My Simulink model simply consists of four From Video Device blocks calling the individual camera devices feeding into To Multimedia File blocks. However, for some reason, when I try to adjust the individual camera properties, the properties are not updating and saving. For example, I have been trying to set the Focus Mode to manual, and set the Focus to 0. However, once I close the properties window and hit OK in the block parameters block, the properties are not applied, and when I run my Simulink block the output video files do not reflect the properties I updated. I have not been able to figure out why the camera properties are not updating.
For reference, I am using (4) HD Pro Webcam C920 digital video cameras.
EDIT: For further context, I am using Matlab R2015a. Manually setting the same camera properties in the Image Acquisition App works fine, but does not carry over to any attempts at image acquisition by means other than that particular app.

Respuestas (1)

Shankar Subramanian
Shankar Subramanian el 22 de Jul. de 2015
Hi Michael,
This is a bug in R2015a with From Video Device block. Can you follow the steps in the External Bug Report that has been published?
Please post if you still run into issues.
Thanks
Shankar
  1 comentario
Michael
Michael el 22 de Jul. de 2015
Editada: Michael el 22 de Jul. de 2015
Thanks, I will look into the bug fix.
I managed to find a workaround for the issue. It seems that editing the camera properties did not register with the system as being a change, so hitting the "okay" button did not save changes. However, if I changed the camera source to a different camera, then changed it back to the original camera, and then changed the camera properties, the "apply" button would become available to click, which would then save the changes.

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by