Page 1 of 1

Finding Faces within a script and then cropping

Posted: Fri Sep 02, 2016 9:32 am
by eclectic_p
Hi all,I'm looking for a way to build a script using GraphicConverter to go through a directory of portraits, find the face, add a buffer, crop to a certain ratio, and then save to a cropped directory. Photos where a face cannot be found would ideally be copied out to another directory to be dealt with by a human.Looking through the AppleScript/JavaScript/Objective-C dictionaries doesn't seem to present any Face detection functions for me to use.Is what I'm asking to do possible with GraphicConverter (please say yes!)?Cheers,Mark P.

Re: Finding Faces within a script and then cropping

Posted: Fri Sep 02, 2016 9:39 am
by thorstenlemke
Dear Mark,many thanks for your e-mail.That is currently not possible.But I can add it.Can I get some sample files to lemke@lemkesoft.de ?Thorsten Hi all,I'm looking for a way to build a script using GraphicConverter to go through a directory of portraits, find the face, add a buffer, crop to a certain ratio, and then save to a cropped directory. Photos where a face cannot be found would ideally be copied out to another directory to be dealt with by a human.Looking through the AppleScript/JavaScript/Objective-C dictionaries doesn't seem to present any Face detection functions for me to use.Is what I'm asking to do possible with GraphicConverter (please say yes!)?Cheers,Mark P.

Re: Finding Faces within a script and then cropping

Posted: Tue Sep 20, 2016 7:48 am
by eclectic_p
Hi Thorsten,Thanks for your reply, it's looking encouraging.I've emailed you the first 75 images of one the of the most recent runs we have done with some information about it.Cheers,Mark P.

Re: Finding Faces within a script and then cropping

Posted: Tue Sep 20, 2016 10:23 am
by thorstenlemke
Attachments :Hi Mark,I replied to your personal e-mail with a solution.Thorsten Hi Thorsten,Thanks for your reply, it's looking encouraging.I've emailed you the first 75 images of one the of the most recent runs we have done with some information about it.Cheers,Mark P.