Vi.word2img
A tool to generate text image dataset for Deeplearning OCR project.
Install / Use
/learn @miendinh/Vi.word2imgREADME
vi.word2img
A tool to generate text image dataset for Deeplearning OCR project.
Demo


usage: word2img.py [-h] [--font_size FONT_SIZE] [--font_dir FONT_DIR]
[--font_color FONT_COLOR [FONT_COLOR ...]]
[--bg_color BG_COLOR [BG_COLOR ...]]
[--dictionary DICTIONARY] [--image_width IMAGE_WIDTH]
[--image_height IMAGE_HEIGHT] [--output_dir OUTPUT_DIR]
optional arguments:
-h, --help show this help message and exit
--font_size FONT_SIZE
Font size
--font_dir FONT_DIR Font dir
--font_color FONT_COLOR [FONT_COLOR ...]
color of text in image RBG.
Ex: --font_color 255 255 255
--bg_color BG_COLOR [BG_COLOR ...]
background color of output text image RBG.
Ex: --bg_color 0 0 0
--dictionary DICTIONARY
List of vocabulary
--image_width IMAGE_WIDTH
width of output image (pixel)
--image_height IMAGE_HEIGHT
height of output image (pixel)
--output_dir OUTPUT_DIR
output dir
Related Skills
healthcheck
342.5kHost security hardening and risk-tolerance configuration for OpenClaw deployments
imsg
342.5kiMessage/SMS CLI for listing chats, history, and sending messages via Messages.app.
xurl
342.5kA CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
qqbot-channel
342.5kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
