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

New model, new seed pixel determination, new expansion procedure #100

Merged
merged 13 commits into from
Nov 20, 2023

Conversation

OBrink
Copy link
Collaborator

@OBrink OBrink commented Nov 16, 2023

  • Model trained on patent data + the original training data (starting point: original DECIMER Segmentation model)
  • The seed pixel determination now works differently: All pixels that are black in the binarised, dilated image and that are covered by the "inner 80%" of the mask are considered seed pixels.
  • We are now using scipy to detect connected objects. The seed pixels are then just used to determine which connected objects to add to the refined, expanded mask. This speeds up the whole procedure

@OBrink OBrink added enhancement New feature or request dependencies Pull requests that update a dependency file labels Nov 16, 2023
@OBrink OBrink requested a review from Kohulan November 16, 2023 14:51
@OBrink
Copy link
Collaborator Author

OBrink commented Nov 17, 2023

I need to fix the tests, some of them are completely nonsensical.

@OBrink OBrink merged commit 77bc624 into master Nov 20, 2023
3 checks passed
@OBrink OBrink deleted the initial-seed-pixel-determination-improvement branch November 28, 2023 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants