Not that I don’t have a zillion other things to do, but what the hell. Here’s how I got Pastec.io installed on my Mac laptop. (I have several thousand images from Instagram related to the bone trade. I’m hoping that Pastec can help me find/deduce/map/elucidate the visual grammar of all this).
- requires opencv, jsoncpp , and libmicrohttpd. If you’ve got homebrew installed:
- then you follow the instructions on the Pastec.io documentation page
- git clone https://github.com/Visu4link/pastec.git
- cd pastec
- mkdir build
- cd build
- cmake ../
- then download the http://pastec.io/files/visualWordsORB.tar.gz file, unzip, and put it in your build directory.
- then fire it up:
Now to figure out what happens next.
… and Matthew Lincoln has a wrapper for R once you’ve done all this: https://github.com/mdlincoln/PastecR
…and Ryan Baumann has an excellent post with scripts he’s written to get images into Pastec and matches back out again: http://ryanfb.github.io/etc/2015/11/03/finding_near-matches_in_the_rijksmuseum_with_pastec.html
(update, a day later): Ryan’s scripts are awesome. Note that the third one requires ‘parallel‘ to be installed on your machine;
$ brew install parallel did the trick for me. I’m now feeding pastec 2000 images I’ve gathered for my #bonetrade project with Damien Huffer, just to see what happens next…