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.
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.
- Clone the repository
- Install the necessary python libraries
pip install -r requirements.txt
- Enter your OPENAI_API_KEY and symbol_library_path in sample_configuration.yaml and rename the file as configuration.yaml
- Run the plugin.py script!
Run main.py and enter the necessary inputs:
- Select a .png file containing the schematic (Only works for super simple circuits containing the components listed above for now.)
- Select an empty.kicad_sch file
- Click 'Append to schematic'
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.