An open API service indexing awesome lists of open source software.

https://github.com/stephanakkerman/kanjicontrol


https://github.com/stephanakkerman/kanjicontrol

chinese hanzi hanzi-characters japanese kanji kanji-characters language language-learning mandarin mnemonic mnemonic-generator

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# KanjiControl

![banner](img/banner.png)

---


Supported versions
License
Code style: black

## Introduction

KanjiControl is a Python project that lets you create mnemonic images of given Japanse kanji and Mandarin Hanzi characters. It's simple to use, simply run `src/main.py` and give a character and its meaning. The program will then generate a mnemonic image for you, saved in the `output` folder.

It uses the QR Code Control Net by Monster-Labs to control the Stable Difussion 1.5 model.

### Examples
This is an example of a generated mnemonic image for the kanji character "木" (tree):
![木](output/木.png)

## Table of Contents 🗂

- [Installation](#installation)
- [Usage](#usage)
- [Citation](#citation)
- [Contributing](#contributing)
- [License](#license)

## Installation ⚙️

The required packages to run this code can be found in the requirements.txt file. To run this file, execute the following code block after cloning the repository:

```bash
pip install -r requirements.txt
```

or

```bash
pip install git+https://github.com/StephanAkkerman/KanjiControl.git
```

## Usage ⌨️

## Citation ✍️

If you use this project in your research, please cite as follows:

```bibtex
@misc{project_name,
author = {Stephan Akkerman},
title = {KanjiControl},
year = {2025},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/StephanAkkerman/KanjiControl}}
}
```

## Contributing 🛠

Contributions are welcome! If you have a feature request, bug report, or proposal for code refactoring, please feel free to open an issue on GitHub. We appreciate your help in improving this project.\
![https://github.com/StephanAkkerman/KanjiControl/graphs/contributors](https://contributors-img.firebaseapp.com/image?repo=StephanAkkerman/KanjiControl)

## License 📜

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.