save the detected faces from image in a single folder in jpg format, as well as in a .mat file.

hello i have a face detection module in which i want to crop the detected faces and then save those faces in a new folder in current directory and also save the same files in the .mat file.. please help. ur help is appreciated. any1 solution is also accepted.

 Réponse acceptée

See the FAQ for code examples: http://matlab.wikia.com/wiki/FAQ?&cb=3712#How_can_I_process_a_sequence_of_files.3F This will show you how to process a sequence of files - reading them in and saving them out - it will not show you how to do face detection. You're on your own for that, but it sounds like you already have your "face detection module" so just insert a call to that inside the loop.

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by