Why isn't the "From Video Device" block in Simulink saving my manually-entered camera properties?
4 ビュー (過去 30 日間)
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.
回答 (1 件)
Shankar Subramanian 2015 年 7 月 22 日
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.
Find more on Image Acquisition in Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!