Tesseract cookbook