Skip to content

Monacrylic/image2KiCAD

Repository files navigation

Archived: This project has been moved to Faradworks, until we finish training our CV models.

image2Kicad (WIP!)

License

image A potential KiCAD plugin (Work in pogress!) that aims to effortlessly convert images to editable KiCAD schematics. No more manual tedious manual copying of schematics from datasheets.

Table of Contents

Introduction

image2Kicad is an experimental python script with a GUI that utilizes GPT-4 to parse images into .kicad_sch files. At the moment the capanilities of the script are limited to circuits containing

  • Batteries
  • Resistors
  • Capacitors
  • LEDs
  • (we're adding more components everyday)

Note: This is still a WIP, and invokving the GPT API costs money! Be sure to set a limit on your API calls.

You can also experiment with using the Gemini API (free at the moment), by providing the Gemini API key in the configuration.yaml file.

Installation

  1. Clone the repository
  2. Install the necessary python libraries
    pip install -r requirements.txt
  3. Enter your OPENAI_API_KEY and symbol_library_path in sample_configuration.yaml and rename the file as configuration.yaml
  4. Run the plugin.py script!

Usage

image

Run main.py and enter the necessary inputs:

  1. Select a .png file containing the schematic (Only works for super simple circuits containing the components listed above for now.)
  2. Select an empty.kicad_sch file
  3. Click 'Append to schematic'

Contributing

This plugin is in the very initial stages of prototyping. Any help is appreciated!

We're grateful for all pioneering work done to make the KiCAD ecosystem what it is today. This plugin would be our little contribution to the amazing community of open-source develoers.

Contributors

License

License

About

Convert images to KiCAD schematics using AI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •