Giter Site home page Giter Site logo

homoglyph's Introduction

Convolutional Neural Network Based Ensemble Approach for Homoglyph Recognition

  1. First download the dataset from here. This dataset contains training and validation set.
  2. Go above your current directory
  3. Create a folder named "DataSet"
  4. Paste the folder named "Custom" (which you just downloaded) inside it.
  5. run: "pip install -r requirements.txt" in your shell.
  6. go back to the main directory
  7. run: python scratch1.py
  8. run: python scratch2.py
  9. After you have properly trained a good model (>98% accuracy on validation set), download final test dataset from here.
  10. Code for testing an image can be found as commented out in line: 325-355 in scratch1.py file.
  11. Code for testing an image can be found as commented out in line: 261-390 in scratch2.py file.
  12. Modify codes accordingly to evaluate on the final test dataset.
  13. For running the xfer_1.py and xfer_2.py files, first split files in the "Custom" folders into "Train" and "Test" folder in same directory. Line: 20-21 in xfer_1.py and line: 26-27 in xfer_2.py should be changed according to the number of files that you have put in the folder.
  14. run: python xfer_1.py
  15. run: python xfer_2.py
  16. Evaluate the obtained model on the previous final test dataset.

homoglyph's People

Contributors

taksir avatar

homoglyph's Issues

Dataset unavaliable

Hi, I am very interested in your work on homoglyph detection, I am working on a similar problem. I want to recreate your result but I see that the dataset is no longer available on google drive. Is there any other way to access it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.