Playing video and tracking objects in app
2 ビュー (過去 30 日間)
古いコメントを表示
I am developing an app for tracking movements in a video. How do I create a video object to play the video, and can the computer vision toolbox be used in app designer?
0 件のコメント
採用された回答
Raunak Gupta
2020 年 2 月 18 日
Hi,
You may take the input video stream or video file using webcam() or vision.VideoFileReader() and for doing image processing on it you may read the video frame by frame using step. For displaying the output image in App Designer, you may plot each frame as an image on UI Axes.
For doing the image processing the functions from Computer Vision Toolbox are accessible in App Designer. There are examples mentioned here which will help doing the Motion Tracking. If designing the custom App is not a requirement you may find this example helpful which use webcam input and output the result as vision.VideoPlayer object which shows the video.
Hope it helps.
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!