qurator-spk / sbb_binarization

Document Image Binarization
Apache License 2.0
67 stars 14 forks source link

strange border artifacts in patch mode #49

Closed bertsky closed 1 year ago

bertsky commented 1 year ago

I sometimes get output which looks like this:

input output
Evakuierung_von_Polen_Ansieldung_WD_Lask_0168 IMG-NORM Evakuierung_von_Polen_Ansieldung_WD_Lask_0168 IMG-BINSBB

Could this be a problem with the patch size or patching in general? Should I try to crop first?

vahidrezanezhad commented 1 year ago

Dear @bertsky This is not because of patching. This happens since I have pushed model (by augmentation) to segment the large scale titles too. And yes page extraction can be best solution.

bertsky commented 1 year ago

Dear @vahidrezanezhad thanks for the explanation! That makes sense. I'll change my workflow. (Maybe you wanna document some recommendations in that regard. Please close when you see fit.)

cneud commented 1 year ago

Maybe you wanna document some recommendations in that regard

I will update the readme accordingly.