This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rio' | |
indir = ARGV[0] | |
files = rio(indir).entries['*.jpg'] | |
files.each do |infile| | |
res = `python togeo.py #{infile}` | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# sudo port install jp2a (Mac OS X) | |
# sudo apt-get install jp2a (Ubuntu/Debian) | |
# gem install httparty | |
# gem install hashie | |
# gem install hirb | |
class Candidate | |
@@base_url = 'http://207.150.251.12/REYDI_NocheDelEvento/' |