Giter Club home page Giter Club logo

furry-spork-latex's Introduction

furry-spork-latex


Did you have problems writting 50 lines of LATEX code for hand-written finite automaton.
Now you don't have to, we are coming with a solution soon. Make sure to subscribe!


๐Ÿš€ Introduction

Generating the latex code of the handwritten automaton using the techniques of image processing and dfa minimization.

๐Ÿšฆ Documentation

Eventually this project got divided into two parts:

Converting shapes in 2D matrix to Latex code

Using the concepts of computational geometry we have implemented Latex code generator from shapes consisting of 1s in 2D matrix.

  • Detecting all the line segments inside the 2D shape by tracing the directions of 1s.
  • Finding all the coordinates of corner points in the 2D matrix.
  • Using the above detected coordinated generating the Latex code.
Learn more

Converting a handwritten automaton to Latex code

Using the techniques of Machine Learning and Image Processing implementing the solution to our problem statement.

  • Detecting edges connecting two states.
  • Detecting states in automaton.
  • Detecting hand written characters from the image.
  • DFA minimization of the drawn automaton.
  • Latex code generation.
Learn more
  • main.py Main file python main.py
  • min_dfa.py Minimizing the DFA using an algorithm based on the technique of equivalence.
  • reduction.py Updating the given json input into the final output after minimization.
  • generate_code.py Generating the latex code the given automaton.

Demo

2D Matrix

Shape generated from output Latex code

โ˜‘ TODO

  • Detecting edges
  • Detecting shapes
  • Detecting location of shapes

๐Ÿ‘ฌ Contributors

The contributors behind this project:

Gaurav is a GSOCer, UI Designer and an awesome web developer. He oversees the project direction, maintenance and organizes the planning and development efforts of the team.

Harika is a emerging open source contributor and developing very creative softwares using new world technologies.

Suprgya is a Software developer and involved with many projects and core part of our team.

Shreyak is a web scraper and backend developer. He is involved in many projects with other team members.

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.