Forgot password?
 Register account
View 334|Reply 7

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

[Copy link]

3153

Threads

7906

Posts

610K

Credits

Credits
64096
QQ

Show all posts

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

Comment

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

3153

Threads

7906

Posts

610K

Credits

Credits
64096
QQ

Show all posts

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

17

Threads

82

Posts

1822

Credits

Credits
1822

Show all posts

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

3153

Threads

7906

Posts

610K

Credits

Credits
64096
QQ

Show all posts

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

3153

Threads

7906

Posts

610K

Credits

Credits
64096
QQ

Show all posts

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

Comment

拒绝  Posted 2024-2-6 02:47

Mobile version|Discuz Math Forum

2025-6-5 01:48 GMT+8

Powered by Discuz!

× Quick Reply To Top Edit