How to save all the frames/ images in an array obtained from face tracking algorithm ?
2 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Image Analyst
on 9 Oct 2016
Determine the bounding box, then call imcrop(), then construct a filename, then call imwrite().
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!