yeungchenwa / OCR-SAM

Combining MMOCR with Segment Anything & Stable Diffusion. Automatically detect, recognize and segment text instances, with serval downstream tasks, e.g., Text Removal and Text Inpainting
533 stars 37 forks source link

why the picture is blurry after erasing #37

Open winderzhang opened 1 year ago

winderzhang commented 1 year ago

why the picture is blurry after erasing

origin picture image

erasied pic image

yeungchenwa commented 1 year ago

hi @winderzhang This erasing model is migrated from the inpainting model in LDM, which is trained on none-scene-text dataset. Thus the effect of our erasing model may cause blurriness in some tough cases, e.g., your chosen picture.