Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 1009 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 1009 Bytes

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.