Playing video and tracking objects in app
2 views (last 30 days)
Show older comments
Nga Laam Looi
on 13 Feb 2020
Answered: Raunak Gupta
on 18 Feb 2020
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 Comments
Accepted Answer
Raunak Gupta
on 18 Feb 2020
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 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!