matlab中writevideo,matlab在视频文件中写入实时摄像机信号

Write Real Time Camera's Signal in Video File

This Simulink PROGRAM is defined as it follows :

1. It acquires the data in real time from Webcam (integrated in laptop) or via USB (Universal Serial Bus) webcam.

2. It writes avi file ( Audio not included), one can specify the file-name by right clicking on the component "Write Avi File" and set the path .

3. It loads the data acquired to Workspace after the simulation stops. If you do not want to load all the frames, you can specify the number of frames you want export to workspace by right-clicking on the component "Video to Workspace" and setting the number

in the "limit data point to last" .

4. It insert a static text on all frames, text features are adjustable.

Features :

1. Device setting : 1.3 Megapixel WebCam, with video format : YUY2_320x240

(Other available formats: YUY2_640x480, YUY2_1280x800,YUY2_1280x1024), this option depends on the Device .

2. Block Sample time : 1 every 10 .

3. Data type : single.

4. Port mode : one multidimensional signal.

5. Color Space : RGB , because YUY2 stores color data at lower accuracy.

6. Static text : "Test : Thursday 02 August 2012".

7. Simulation time : It stops at 10 seconds, the simulation can be run forever by choosing in the menu " Simulation" then "Configuration parameters" and "Solver" and changing the value "10" to "inf".

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值