DeepEraser
DeepEraser copied to clipboard
The official code for “DeepEraser: Deep Iterative Context Mining for Generic Text Eraser”, TMM, 2024.
🚀 Exciting update! We have created a demo for our paper, showcasing the adaptive removal capabilities of our method. Check it out here!
DeepEraser
🔥 Good news! Our work has been accepted by IEEE Transactions on Multimedia (TMM), 2024.
The official code for “DeepEraser: Deep Iterative Context Mining for Generic Text Eraser”.
🚀 Demo (Link)
- Upload the image to be erased in the left box.
- Draw the mask over the text to be erased on the image.
- Click the "Submit" button.
- The output image will be displayed in the right box.
Inference
We have already released the pre-trained model for the SCUT-ENSTEXT dataset, i.e., $ROOT/deeperaser.pth. The pre-trained models for the three datasets in the paper are available at the Google Drive.
- Put the distorted images in
$ROOT/input_imgs/and rename it toinput.png. - Put the mask image in
$ROOT/input_imgs/and rename it tomask.png. - Run the script and the processed image is saved in
$ROOT/output_imgs/by default.python demo.py
Citation
If you find this code useful for your research, please use the following BibTeX entry.
@article{feng2024deeperaser,
title={DeepEraser: Deep Iterative Context Mining for Generic Text Eraser},
author={Feng, Hao and Wang, Wendi and Liu, Shaokai and Deng, Jiajun and Zhou, Wengang and Li, Houqiang},
journal={IEEE Transactions on Multimedia},
year={2024}
}