Figma-dummy-gen is a standalone project designed to support custom training for Figma Autoname. This Figma plugin allows you to generate and extract images directly from your Figma design library, providing the necessary data for machine learning model training.
The primary purpose of Figma-dummy-gen is to facilitate the creation of a robust dataset for training your machine learning models. The quality and diversity of your dataset significantly impact the performance of your model. Figma-dummy-gen helps you enrich your dataset by generating a variety of images based on your Figma design library.
Contributions to the Figma-dummy-gen project are welcome. Whether it's a bug report, new feature, correction, or additional documentation, we greatly value your feedback and contributions.
Follow these steps to set up the development environment:
- Run
yarn
to install dependencies. - Run
yarn build:watch
to start webpack in watch mode. - Open
Figma
->Plugins
->Development
->Import plugin from manifest...
and choosemanifest.json
file from this repo.
To modify the UI of your plugin (the react code), start editing App.tsx.
To interact with the Figma API, edit controller.ts.
For more information, refer to the Figma API Overview.
This project uses:
- React + Webpack
- MUI5
- TypeScript
- Prettier precommit hook
By using Figma-dummy-gen, you can streamline the process of preparing your dataset, ensuring that your machine learning model has the best possible data to learn from.