Skip to content

Generator of electrical diagram images and their corresponding LaTeX code.

Notifications You must be signed in to change notification settings

timothe-chaumont/circuit-diagram-datagen

Repository files navigation

Circuit Diagram Datagen

Codebase for electric circuit diagram data generation, to train machine learning models.

Each generated example is composed of:

  • The CircuiTikz (LaTeX) code that describe the diagram,
  • The compiled image for that code.

Example of one generated circuit Example of a generated circuit diagram.

Steps to generate data (Windows)

  1. Install the dependencies with make install
  2. Install LaTeX
  3. Install Ghostscript
  4. Create a file called .env containing paths to latex.exe and gswin64c.exe binaries, in the same way as example.env.
  5. Run make generate in a cmd window from the root directory

The circuit-to-latex repo contains implementations of Deep Learning models that predict the LaTeX code for a given circuit diagram image.

About

Generator of electrical diagram images and their corresponding LaTeX code.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages