I had a nice time today wrapping up the Idee Pixmatch API in a Ruby gem. PixMatch is a general image matching engine that allows you to perform large scale image comparisons and I wanted to upload a few million images and check it out.
There’re two kinds of requests in Pixmatch: simple REST GETs and POSTs and multipart posts with image data. I ended up not using the RESTful request wrappers that exist in both and instead switched to rest-client, a much simpler and more powerful framework. To upload images we need to be posting a multipart payload where file names are images, images, etc. I remember it taking me a week to write multipart client support in C++ ten years ago. Today it’s a no-brainer made possible by rest-client.
Now calling add on a bunch of files is pretty.
Pixmatch is not available publicly, e-mail info[at]ideeinc.com to get started.