• Stars
    star
    1,578
  • Rank 28,718 (Top 0.6 %)
  • Language
    Python
  • Created over 2 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

a machine learning image inpainting task that instinctively removes watermarks from image indistinguishable from the ground truth image

Watermark-Removal

version pytorch license

An open source project that uses a machine learning based image inpainting methodology to remove watermark from images which is totally indistinguishable from the ground truth version of the image.

This project was inspired by the Contextual Attention (CVPR 2018) and Gated Convolution (ICCV 2019 Oral).

And also a shoutout to Chu-Tak Li for his Medium article series that really gave me a deep insight into the image inpainting papers stated above

Run

  • use Google colab

  • First of all, clone this repo

    !git clone https://github.com/zuruoke/watermark-removal
    
  • Change Directory to the repo

    !cd watermark-removal
    
  • Since Google Colab uses the latest Tensorflow 2x version and this project uses 1.15.0, downgrade to Tensorflow 1.15.0 version and restart the runtime, (although the new version of Google Colab does not need you to restart the runtime).

    !pip install tensorflow==1.15.0
    
  • Install tensorflow toolkit neuralgym.

    !pip install git+https://github.com/JiahuiYu/neuralgym
    
  • Download the model dirs using this link and put it under model/ (rename checkpoint.txt to checkpoint because sometimes google drive automatically adds .txt after download)

And you're all Set!!

  • Now remove the watermark on the image by runing the main.py file

    !python main.py --image path-to-input-image --output path-to-output-image --checkpoint_dir model/ --watermark_type istock
    

Citing

@article{yu2018generative,
  title={Generative Image Inpainting with Contextual Attention},
  author={Yu, Jiahui and Lin, Zhe and Yang, Jimei and Shen, Xiaohui and Lu, Xin and Huang, Thomas S},
  journal={arXiv preprint arXiv:1801.07892},
  year={2018}
}

@article{yu2018free,
  title={Free-Form Image Inpainting with Gated Convolution},
  author={Yu, Jiahui and Lin, Zhe and Yang, Jimei and Shen, Xiaohui and Lu, Xin and Huang, Thomas S},
  journal={arXiv preprint arXiv:1806.03589},
  year={2018}
}

More Repositories

1

Race-Classification-Keras-Rest-API

A Simple Keras Rest API for Race Classification using Flask
Python
2
star
2

flutterchat

Part of my Tunga Flutter Mobile Development Course Course
Dart
2
star
3

Race-Detection-with-RetinaNet

Object Detection tasks involving Detecting & Classify Different Races Using RetinaNet
Jupyter Notebook
2
star
4

Race_Classification_Using_Deep_CONVNET

Using a Deep CONVNET to Build a Model for Classifying Different Races such as Mongoloid, Negroid & Caucasian
Jupyter Notebook
2
star
5

Find-the-Nuclei-in-Divergent-images-to-Advance-Medical-Discovery

Image Segmentation and Medical Imaging in U-Net to Find Nuclei in Images
Python
2
star
6

algo-expert-30-days-coding-challenge

My 30 days of solving top 75 leetcode coding challenges
Python
1
star
7

Predicting_the_Survivors_of_the_Titanic_disaster

Jupyter Notebook
1
star
8

Spam_Detection_Using_Word_Embedding

Detect Spam Messages Using Word Embedding
Jupyter Notebook
1
star
9

Generating_Handwritten_Digits_with_Generative_Adversarial_Network

Jupyter Notebook
1
star
10

Finding_Ideal_Replacement_for_Aging_Football_Forwards_Using_Unsupervised_Learning

Jupyter Notebook
1
star
11

A_Model_To_Effectively_Predict_the_Rate_of_Return_for_DJIA_Stocks_Using_Supervised_Learning

A Model To Effectively Predict the Rate of Return for Dows Jones Index Stocks Using Supervised Learning
Jupyter Notebook
1
star
12

Regressor_Model_To_Predict_The_Burned_Area_Of_Forest_Fires

A Machine Learning Regressor Model To Predict The Burned Area Of Forest Fires in the northeast region of Portugal by using meteorological data
Jupyter Notebook
1
star
13

figma-remove-watermark-plugin

Remove the watermarks of images automatically
JavaScript
1
star
14

grpc-nodejs-mongodb

a simple grpc server written in node js
JavaScript
1
star
15

Race-CycleGAN

Using the Powerful CycleGAN to translate image of different races from one race to another
Python
1
star
16

Predicting_The_Number_of_Upvotes_a_HackerNews_Article_received_Using_Natural_Language_Processing

Jupyter Notebook
1
star
17

Market_Validation_and_Market_Share_of_The_Last_Mile_Delivery_Space_In_Nigeria

Market Validation & Market Share of The Last Mile Delivery Space In Nigeria
Jupyter Notebook
1
star
18

Predicting_House_Prices_Using_Advanced_LinearRegression_Model

Jupyter Notebook
1
star
19

Quality_Prediction_in-a_Mining_Process

Quality Prediction in a Mining Process Using Regressor Model
Jupyter Notebook
1
star
20

Exploring_Senators_roll_call-_to_discover_their_Party_Allegiance_Level_Using_Unsupervised_Learning

Jupyter Notebook
1
star
21

Class-Activation-Map

Jupyter Notebook
1
star
22

A_Model_To_Identify_Patient_Diagnosed_with_Parkinson-s_Disease_Using_Supervised_Learning

A Model To Identify Patient Diagnosed with Parkinson's Disease Using Supervised Learning
Jupyter Notebook
1
star
23

A_Credit_Model_For_A_Conservative_Investor_Using_LogisticRegression_Model

Jupyter Notebook
1
star
24

A_Model_To-_Predict_-Online_Shoppers_Purchasing_Intention

A Model To Predict Online Shoppers Purchasing Intention Using Random Forest Classifier Model
Jupyter Notebook
1
star
25

Managing_Routing_of_Last_Mile_Deliveries_more_effectively_Using_Supervised_Learning

Managing Routing of Last Mile Deliveries more Effectively using Supervised Learning
Jupyter Notebook
1
star