BU-Spark / ml-herbarium

Herbaria ML
15 stars 12 forks source link

Improve segmentation accuracy i.e. far less overlapping or cutting off text #41

Closed chasem151 closed 1 year ago

eamonniknafs commented 2 years ago

Hey @chasem151, does this story have code changes associated, or is it just research?

chasem151 commented 2 years ago

It adds a new expand_boxes2 function which performs mean thresholding for some better segmentation results via x and y margin added or subtracted borders when an x/y coordinate is >=/< its x/y mean. Left is new. @eamonniknafs image