Ocr patterns

Adds support for passing tesseract configuration, including specifying custom dictionaries and patterns.

* Tesseract pattern language is nasty and unfortunately doesn't easily map to regex or other similar.

- [ ] Add more tests
- [ ] Add example usage
- [ ] Make patterns work with multiple languages