How to save all the frames/ images in an array obtained from face tracking algorithm ?
1 次查看(过去 30 天)
显示 更早的评论
I have used CAM-Shift algorithm for face tracking and detection from the following link https://in.mathworks.com/help/vision/examples/face-detection-and-tracking-using-camshift.html.Now I want to store the successive frames obtained by tracking in an array so that later I can access the array of stored images.But before storing the images, I want to eliminate the background from the frames by cropping it. After cropping the images, I should get only faces. Then these faces should be stored in an array for later use. What code should be added in the above given algorithm.
0 个评论
回答(1 个)
Image Analyst
2016-10-9
Determine the bounding box, then call imcrop(), then construct a filename, then call imwrite().
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Computer Vision with Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!