Automatic Watermark Removal with the combination of U-net and VGG16
Implement based on the paper Large-Scale Visible Watermark Detection and Removal with Deep Convolutional Networks.
python watermark_dataset.py -w data/images/watermarks -i data/images/VOC2012/JPEGImages \ -oo data/images/original -oi data/images/train -ol data/labels/train
python train.py --batch 16 --epochs 5 --data watermark.yaml --weights yolov5m.pt
python detect.py --weights runs/train/exp16/weights/best.pt --source data/images/train --i-mode 1
python train.py
python detect.py --weights runs/train/exp16/weights/best.pt --source data/images/rever_test --i-mode 0
NOTE: Lúc chạy có thể sẽ báo 1 vài error ở mấy cái path, cái này là do một vài para sửa trực tiếp trên code, chưa đưa vào para của command => Sửa lại nếu cần thiết