MATLAB: How to export the video with tracked objects

Computer Vision Toolboxexportobjectoverlaytrackingvideo

I used this tutorial (Multi Object Tracking) to make my own video of objects being tracked. How do I export this video to be used for PowerPoint presentations or YouTube? (code is exact as tutorial apart from file name ofc)

Best Answer

You can use insertObjectAnnotation to "burn" bounding boxes with labels into the video frames, and you can use vision.VideoFileWriter to write the frames to a video file.