PaperCutting
试卷行数切割,可用于文本分行、试卷题目切割等
Install / Use
/learn @Goodtimp/PaperCuttingREADME
PaperCutting
试卷行数切割,可用于文本分行、试卷题目切割等
测试
好久前写的,只提供部分使用。 打开主目录下的Pretreatment.py,安装好相应的包,然后run一下就好了,会自动弹出相应的结果。 包括对图像的灰度化、二值化、文本行切、文本纵切、行距分析等..
原图:

二值化后:

行切后:

行距分割:

ps:有其他的一些功能忘记怎么用了,利用百度的文字识别OCR还完成了整张试卷的题目切割。
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
