Shu is the script use for build deep learning model. This model is the core of the In0ri system to classififer images.
screenshot.py
uses for screenshot interface website.Model training.ipynb
uses for training model.
- Python3 (version >=3.6)
Edit the file screenshot.py
myfile = open("govt_urls_full.txt", "r") //govt_urls_full.txt is filename
Installing the required packages:
sudo apt-get install -y chromium-chromedriver
python3 -m pip install webdriver-manager
python3 -m pip install selenium
python3 -m pip install Pillow
Run the file:
python3 screenshot.py
Before start, you need upload your dataset to your Google Driver with structure such as:
/dataset/Training/clean
/dataset/Training/defaced
/dataset/Test/clean
/dataset/Test/defaced
Afterall, import Model training.ipynb
to Goodle Colab and running