Media

Tesseract OCR

OSX: brew install imagemagick brew install tesseract –all-languages Debian/Ubuntu: apt-get install imagemagick tesseract\* Sample Usage:    convert input image to grayscale using imagemagik convert input.png -colorspace Gray output.tif     decode with tesseract tesseract output.tif result; cat result.txt

Continue Reading 0

SparkleShare + Dashboard

SparkleShare: # Run all of the following commands as the root su # Fetch the Dazzle script curl https://raw.github.com/hbons/Dazzle/master/dazzle.sh \ –output /usr/bin/dazzle && chmod +x /usr/bin/dazzle # Run the initial setup dazzle setup # Link SparkleShare clients using their link codes (found # on the client in the SparkleShare folder) dazzle link # Create a […]

Continue Reading 0

Driftnet – misc scripts

#!/bin/bash mpixW=250 mpixH=300 if [ "x`which identify`" != x ] ; then echo `which identify` found! echo Tossing images less than $mpixW pixels. while true ; do read img imgType=$( expr `identify -format ‘%e’ “$img”` ) if [ "$imgType" == "jpeg" ] ; then sizeW=$( expr `identify -format ‘%w’ “$img”` ) sizeH=$( expr `identify -format […]

Continue Reading 0

Hulu location check work arounds

Method 1: Add this to the hosts file: 127.0.0.1 releasegeo.hulu.com Method 2: With Firefox and Foxyproxy addon. First add your proxy to the Foxyproxy proxies and “http://releasegeo.hulu.com/geoCheck” to the whitelist. Now make sure to use the “Use proxies on their pre-defined patterns and priorities”-mode. (Right click on the bottom right where is says “FoxyProxy:”) This […]

Continue Reading 0

Powered by recycled bites and bytes.