Save Video on XPC Target
古いコメントを表示
I am getting a video stream from my xpc target machine via USB webcam, but I would like to be able to save the video file to the internal Hard Drive of my target machine. Does anyone know how to go about doing this?
回答 (2 件)
Kaustubha Govind
2012 年 5 月 23 日
0 投票
Not a 100% sure that this is the right solution, but how about connecting the output of the webcam driver to a xPC File Scope block?
12 件のコメント
Nicholas
2012 年 5 月 25 日
Kaustubha Govind
2012 年 5 月 29 日
Are the signals still 2-D even after splitting into R, G and B channels? Try turning on Format>Port/Signal Displays>Signal Dimensions and see if anything seems off?
Nicholas
2012 年 5 月 31 日
Kaustubha Govind
2012 年 5 月 31 日
Perhaps you could split those further into 1-D signals? Not sure if there is a way to log 2-D or n-D signals to disk with xPC Target. Please consider putting in an enhancement request with MathWorks Technical Support for this.
Nicholas
2012 年 6 月 1 日
Walter Roberson
2012 年 6 月 1 日
I thought there was a reshape block?
Nicholas
2012 年 6 月 2 日
Walter Roberson
2012 年 6 月 2 日
http://www.mathworks.com/help/toolbox/simulink/slref/reshape.html
Nicholas
2012 年 6 月 8 日
Kaustubha Govind
2012 年 6 月 8 日
Nicholas: Sorry, I'm out of ideas. Could you try contacting MathWorks Tech Support to see if they have a better solution?
Nicholas
2012 年 6 月 8 日
Aram Simonian
2012 年 10 月 29 日
Hi, I have exactly the same problem. The only difference is that I use a CameraLink camera. What did the MathWorks support suggest to you? Thanks for any advice.
Pika
2018 年 9 月 21 日
0 投票
Can you give me some explanation about how to read usb camera? I have set up a target, which works well without reading usb camera. After add the usb video device module to the model, the following problems exist: (1) This usb video device module can not detect the camera connected to the target. If I connect this camera to the development computer, it works well with the vision machine toolbox. (2) This application can be loaded to the target, but I cannot start it and a error message "Video device is not found" is displayed.
カテゴリ
ヘルプ センター および File Exchange で System Configuration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!