How to save all the frames/ images in an array obtained from face tracking algorithm ?

10 ビュー (過去 30 日間)
Isha Pandya
Isha Pandya 2016 年 10 月 9 日
回答済み: Image Analyst 2016 年 10 月 9 日
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.

回答 (1 件)

Image Analyst
Image Analyst 2016 年 10 月 9 日
Determine the bounding box, then call imcrop(), then construct a filename, then call imwrite().

カテゴリ

Help Center および File ExchangePoint Cloud Processing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by