Forgot password?
 Create new account
View 181|Reply 7

小工具 colortomono.exe 将彩色转为单色

[Copy link]

3147

Threads

8493

Posts

610K

Credits

Credits
66163
QQ

Show all posts

hbghlyj Posted at 2024-2-5 08:33:37 |Read mode
为了获得更好的 OCR 效果,预先将彩色圖片转为单色 $type ColorToMono (60 KB, Downloads: 35)
ColorToMono.exe [输入文件名] [输出文件名(可选)]
------------------------------------------------
如果省略输出文件,则将 BMP 输出到与输入文件相同位置。
(本來是exe文件,因無法上傳exe文件,去掉了擴展名) Screenshot 2024-02-05 000756.png

Comment

建議可以上傳 .exe 文件😊  Posted at 2024-2-5 08:57
压缩成 zip 发呗  Posted at 2024-2-5 14:02

3147

Threads

8493

Posts

610K

Credits

Credits
66163
QQ

Show all posts

 Author| hbghlyj Posted at 2024-2-5 08:41:30
例如 equation.png
ColorToMono.exe "equation.png"
----------------輸出----------------
正常終了[Responce Time is 0.016ms]
結果: equation.bmp
(它是InftyReader的組件。提示信息是日語,字符编碼是ShiftJIS)

17

Threads

126

Posts

1822

Credits

Credits
1822

Show all posts

uk702 Posted at 2024-2-5 08:47:53
OCR 的第一步就是将图片单色化吧?我觉得正常情况下应该不需要这个操作。

3147

Threads

8493

Posts

610K

Credits

Credits
66163
QQ

Show all posts

 Author| hbghlyj Posted at 2024-2-5 08:51:51
uk702 发表于 2024-2-5 00:47
OCR 的第一步就是将图片单色化吧?我觉得正常情况下应该不需要这个操作。
對於Mathpix好像是预先单色化的結果更准確

3147

Threads

8493

Posts

610K

Credits

Credits
66163
QQ

Show all posts

 Author| hbghlyj Posted at 2024-2-6 02:04:25
回覆1# @kuing
禁止EXE是為了避免遠程执行吧,但是服務器不是Windows 系統所以不能执行,所以沒有隱患,所以可以取消禁止😀

Comment

拒绝  Posted at 2024-2-6 02:47

手机版Mobile version|Leisure Math Forum

2025-4-20 22:26 GMT+8

Powered by Discuz!

× Quick Reply To Top Return to the list