[MacRuby-devel] Face detection sample

Matt Aimonetti mattaimonetti at gmail.com
Thu Dec 1 07:32:34 PST 2011


The other day @seanlilmateus wrote a quick face detection script using
MacRuby: https://gist.github.com/1386468
I cleaned up his script and made it more Ruby-like:
https://gist.github.com/1417463 as well as added support to pass your own
image.

You can try the script your self easily:
$ macruby -e "$(curl -fsSL
https://raw.github.com/gist/1417463/8cd0150bf5de962468897b3da093c870a5fb53da/face_detector.rb)
;"

While the script is far from perfect, I was thinking that it would be
interesting to see the "MacRubyficiation" of a code written by someone who
probably knows Objective-C/Cocoa but is new to Ruby.

- Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20111201/93665dce/attachment.html>


More information about the MacRuby-devel mailing list