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 a generated circuit diagram.
- Install the dependencies with
make install
- Install LaTeX
- Install Ghostscript
- Create a file called .env containing paths to
latex.exe
andgswin64c.exe
binaries, in the same way as example.env. - 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.