Playing video and tracking objects in app

2 Ansichten (letzte 30 Tage)
Nga Laam Looi
Nga Laam Looi am 13 Feb. 2020
Beantwortet: Raunak Gupta am 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?

Akzeptierte Antwort

Raunak Gupta
Raunak Gupta am 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.
vision.DeployableVideoPlayer can also be used for displaying the video outside the App Designer.
Hope it helps.

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by