Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double counter meters #8

Closed
Bolletje opened this issue Feb 21, 2018 · 1 comment
Closed

Double counter meters #8

Bolletje opened this issue Feb 21, 2018 · 1 comment

Comments

@Bolletje
Copy link

Good day,

First of all, thanks for the nice tool and its helpful tutorial.

However, I got stuck with the fact that I have an electricity meter with a double counter (normal and off peak). It is not a surprise that this won't work out of the box. I edited the config-file a bit to force the script to recognize digits from both counters (by increasing digitYAlignment), and during the 'adjust'-mode the digits are recognized. But during the OCR test-mode the digits are basically swapped from top to bottom from left to right (and of course a likely result of the config amendment).

I tried sorting the digits on its y-axis instead of the x-axis, but this did not work properly. Do you have any ideas or suggestions how to extract the digits from both counters? I must admit I am not very familiar with C++ at the moment, but I am willing to dive into it.

Kind regards.

@skaringa
Copy link
Owner

Maybe it could work to sort the digits on their y-position first and then on the x-position.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants