Octave implamentation of an OCR pre-processor to find a grid in text pictures (Genetic Algorithm and fitness function).