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

https://github.com/mingchen666/handtext

A Vue3 & Flask-based project for handwriting recognition and generation, offering multi-language support and a user-friendly interface.基于Vue3和Flask的手写识别与生成项目,提供多语言支持和用户友好的界面。
https://github.com/mingchen666/handtext

flask handtext handwrite handwriting-generation handwriting-recognition llm vue

Last synced: 6 months ago
JSON representation

A Vue3 & Flask-based project for handwriting recognition and generation, offering multi-language support and a user-friendly interface.基于Vue3和Flask的手写识别与生成项目,提供多语言支持和用户友好的界面。

Awesome Lists containing this project

README

          

# ✍️ HandText

[在线体验](https://handtext.52xm.us.kg/)

[📄 中文](./README_zh.md)

## 📖 Project Introduction

🎉 Built with **Vue3** and **Flask**, this project is a refactored version of [📄 handwriting-web](https://github.com/14790897/handwriting-web), with optimized code structure and enhanced features.

---

## 🚀 Key Features

- **Handwriting Recognition**: Upload images and extract handwritten text. 🖼️➡️📝
- **Handwriting Generation**: Convert input text into handwritten-style images or save as PDF files. 📄➡️🖋️
- **Text Editing**: Supports file upload and editing. ✂️📋💾
- **Multi-language Support**: Supports both Chinese and English. 🌐
- **Theme Switching**: Switch between light and dark themes. 🌞🌙

---

## 🛠️ Tech Stack

### Frontend
- **Framework**: Vue3
- **State Management**: Pinia
- **UI Library**: Element Plus
- **Routing**: Vue-Router
- **Internationalization**: vue-i18n
- **HTTP Library**: axios

### Backend
- **Framework**: Flask
- **File Handling**: Supports image upload, text generation, and file storage.
- **API**: Provides handwriting recognition and text generation functionalities.

---

## 🚀 Quick Start

### Frontend Deployment

```bash
1. Clone the project
git clone https://github.com/mingchen666/HandText.git
cd frontend

2. Install dependencies
npm install

3. Start the development server
npm run dev

4. Build for production
npm run build
```

### Backend Deployment
```bash
1. Navigate to the backend directory
cd backend

2. Install dependencies
pip install -r requirements.txt

3. Fill in environment variables in the .env file

4. Start the development server
python app.py

```

## 📜 License

MIT License