Files
tools/change_font
flt6 b4c04343e8 update README
1. update root README, pointer to all proj
2. create all README
Powered by claude code, maybe mistake, checked and commit manually.
2025-09-12 14:58:58 +08:00
..
2022-06-12 19:47:20 +08:00
2022-06-12 19:47:20 +08:00
2022-06-12 19:47:20 +08:00
2022-06-12 19:47:20 +08:00
2022-06-12 19:47:20 +08:00
2025-09-12 14:58:58 +08:00
2022-06-12 19:47:20 +08:00
2022-06-12 19:47:20 +08:00
2022-06-12 19:47:20 +08:00

change_font

An OCR-powered tool that detects text in images and replaces it with custom fonts.

说明:用于将已有文档所有手写文字转变为自定义字体,尽量保持文字格式位置不变。

注意:只将手写替换,保持印刷体不变。

使用好未来(https://ai.100tal.com/的API可能需要付费

Description

This tool uses optical character recognition (OCR) to identify text within images and replaces the detected text with your choice of custom fonts, maintaining the original layout and positioning.

Usage

  1. Configure your API credentials in the script
  2. Place your source images in the designated folder
  3. Run python main.py
  4. The tool will process images and generate new versions with replaced fonts

Requirements

  • Python libraries: opencv, numpy, matplotlib, Pillow
  • Valid API credentials for the OCR service
  • Source images to process

Setup

Before running, make sure to:

  • Install required Python packages
  • Configure your API credentials in the configuration section
  • Prepare your input images in the correct format