Skip to content

Add support for 7 segment displays #153

Description

@johnnychicago

Hello --

My city has given me a new water meter that has a 7 segment LCD display (and LORA communication that I cannot listen to, but that is another topic).

I was trying to get this going, and despite a reasonably ok camera picture, I do not get any recognition. ?debug says:

array(2) {
  ["TesseractOcrException"]=>
  string(185) "Error! The command did not produce any output.

Generated command:
"tesseract" - "/tmp/ocr8XrpfU" -c "tessedit_char_whitelist=0123456789"

Returned message:
Estimating resolution as 240"
  ["readDigits() : !is_numeric()"]=>
  string(51) "Could not interpret "". Using last known value 1212"
}

It occured to me that the OCR maybe is not trained at all to read 7 segment numbers? Could that be - or is my image just too bad and I should fix that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions