PHP classes for Amazon SQS and SimpleDB

Dan Myers has written some PHP classes for Amazon SQS and SimpleDB based on the S3 PHP class:

Posted in Uncategorized | Tagged | 5 Comments

Tracking file downloads with Google Analytics and Prototype

Using Prototype’s CSS-style selectors you can easily track file downloads with Google Analytics:

Event.observe(window, 'load', function() {
$$('a[href$=".zip"]', 'a[href$=".pdf"]').each(function(anchor) { anchor.observe('click', function(event) { if (pageTracker) pageTracker._trackPageview(anchor.getAttribute('href')); }); }); });
Posted in Uncategorized | Tagged , , | Leave a comment

Imagick

The PHP Imagick documentation is still very much incomplete – but if you’re looking for some info on using Imagick with PHP I’d highly recommend checking out Mikko Koppanen’s blog for some neat examples.

Posted in Uncategorized | Tagged , | Leave a comment

Face detection

If you’re interested in implementing face detection in your software, check out Torch3vision.

Using the haarscan app the detection is fast and fairly accurate when faces are clearly visible:

Face detection test

Pretty cool stuff!

I’d love to see something like this built into ImageMagick at some point.

Posted in Uncategorized | Leave a comment