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
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to