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

Test site_ana_sum_ran.jpg - results for PLOT INTERVAL are not correct. #34

Open
FloCiaglia opened this issue Oct 18, 2021 · 3 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@FloCiaglia
Copy link
Contributor

FloCiaglia commented Oct 18, 2021

Look into this field to find why the data doesn't get detected correctly.
References story #35

@FloCiaglia FloCiaglia added the bug Something isn't working label Oct 18, 2021
@FloCiaglia FloCiaglia self-assigned this Oct 18, 2021
@FloCiaglia
Copy link
Contributor Author

The field has '1 ch' -- the 1 doesn't get detected because it occupied an area of 48 pixels, therefore it doesn't pass the valid_area() check.

I am wondering if we can change the valid_area check to be based on the total area of the image. Some fields are bigger than others so, for a small field with a 1 that occupied 48 pixels maybe that's a big enough area to pass it as valid.

@FloCiaglia
Copy link
Contributor Author

UPDATES on the last comment: I tried to change the code so that the area would be based on the total area of the field but this leads to other strokes, that we don't want, also being detected -- overall, I don't think the gain of 1's and i's we would get from this change would be worth corrupting multiple of the other fields.

@FloCiaglia
Copy link
Contributor Author

FloCiaglia commented Oct 18, 2021

The next issue with this field is that 'ch' are connected by the same hand stroke. Word_segmentation algorithm is not finding a segmenting line between the two characters. This depends on the amount of pixels on the vertical line that separates the two letters.

HELP NEEDED: Check with Dr. Olschanowsky how to proceed - changing the vertical histogram code is not advised. Maybe we just can't fix this instance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant