Skip to content

Commit

Permalink
binarize: re-instate setup for logger
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky authored Aug 14, 2024
1 parent 4671e98 commit a497287
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ocrd_kraken/binarize.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ class KrakenBinarize(Processor):
def executable(self):
return 'ocrd-kraken-binarize'

def setup(self):
self.logger = getLogger('processor.KrakenBinarize')

def process_page_pcgts(self, *input_pcgts : OcrdPage, output_file_id : Optional[str] = None, page_id : Optional[str] = None) -> OcrdPage:
"""Binarize the pages/regions/lines with Kraken.
Expand Down

0 comments on commit a497287

Please sign in to comment.