# 【GdOcrTool】即指即译，OCR取词工具

**URL:** <https://forum.freemdict.com/t/topic/7166>\
**Category:** 软件经验交流展望\
**Tags:** ocr, goldendict\
**Created:** [2021 年7 月 7 日 12:31 UTC](https://forum.freemdict.com/t/topic/7166 "2021-07-07T12:31:54Z")\
**Posts on this page:** 20\
**Page:** 6

<div class="post-metadata">

**Author:** ![medp7060](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/m/8edcca/32.png) [@medp7060](https://forum.freemdict.com/u/medp7060)\
**Post date:** [2021 年11 月 14 日 11:03 UTC](https://forum.freemdict.com/t/topic/7166/110 "2021-11-14T11:03:20Z")

</div>

真的？？？？？？？

---

<div class="post-metadata">

**Author:** ![Johnny\_Van](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/johnny_van/32/9431_2.png) [@Johnny\_Van](https://forum.freemdict.com/u/Johnny_Van)\
**Post date:** [2021 年11 月 14 日 11:06 UTC](https://forum.freemdict.com/t/topic/7166/111 "2021-11-14T11:06:45Z")

</div>

你可以试试，看看能不能在不强制关机的情况下使鼠标恢复正常。今晚更新解决。

---

<div class="post-metadata">

**Author:** ![medp7060](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/m/8edcca/32.png) [@medp7060](https://forum.freemdict.com/u/medp7060)\
**Post date:** [2021 年11 月 14 日 11:08 UTC](https://forum.freemdict.com/t/topic/7166/112 "2021-11-14T11:08:02Z")

</div>

**来个GoldenDict 查词大比拼，大家试一试如何才能不更改配置即实现多种情形的查询：**  
这个页面文字有大有小，都要能查询：[Holiday gifts from Apple - Apple](https://www.apple.com/shop/gifts)

除了中间的大字用框选，其它的全部用点选解决！

---

<div class="post-metadata">

**Author:** ![medp7060](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/m/8edcca/32.png) [@medp7060](https://forum.freemdict.com/u/medp7060)\
**Post date:** [2021 年11 月 14 日 11:08 UTC](https://forum.freemdict.com/t/topic/7166/113 "2021-11-14T11:08:47Z")

</div>

我的蓝牙鼠标不受影响！

---

<div class="post-metadata">

**Author:** ![Vim](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/vim/32/8408_2.png) [@Vim](https://forum.freemdict.com/u/Vim)\
**Post date:** [2021 年11 月 14 日 11:51 UTC](https://forum.freemdict.com/t/topic/7166/114 "2021-11-14T11:51:49Z")

</div>

> [@Vim](#):
>
> 我已将GdOcrTool.ahk整合入自己的AHK库，目前已可以通过一个快捷键开关所有软件（Capture2Text.exe、GdOcrTool.ahk等）。

开个新帖，更新版到这里下载吧：

> [@GoldenDictOCR ——给GoldenDict添加OCR取词和鼠标取词功能](https://forum.freemdict.com/t/topic/9311):
>
> 特点 既可以使用OCR进行查词（特别是图片等难以选中文字的情形） 也可以鼠标选择查询（适合于文本可选择，特别是英文词组、难以自动分词的中文等情形） 自动启用、关闭相关软件（Capture2Text.exe，GdOcrTool.ahk等） 不同查词模式智能切换，且屏幕有提醒当前模式 安装和配置 安装 GoldenDict、Capture2Text、AutoHotkey到任意位置 解压G…

---

<div class="post-metadata">

**Author:** ![Johnny\_Van](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/johnny_van/32/9431_2.png) [@Johnny\_Van](https://forum.freemdict.com/u/Johnny_Van)\
**Post date:** [2021 年11 月 14 日 13:54 UTC](https://forum.freemdict.com/t/topic/7166/115 "2021-11-14T13:54:45Z")

</div>

改进版本已重新上传。改进内容：提示文件是否存在、程序是否运行；增加了超时设置，超时自动退出取词；esc 键强制退出框选；触发取词时才监听鼠标。鼠标不会像之前在异常条件下挂掉。

---

<div class="post-metadata">

**Author:** ![medp7060](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/m/8edcca/32.png) [@medp7060](https://forum.freemdict.com/u/medp7060)\
**Post date:** [2021 年11 月 14 日 19:17 UTC](https://forum.freemdict.com/t/topic/7166/116 "2021-11-14T19:17:48Z")

</div>

谢谢 @Johnny_Van, 一切仍然工作。

一点点小发现：点选时，如果英文后面有标点符号，OCR通常会包括标点符号，导致结果不准确。

---

<div class="post-metadata">

**Author:** ![Johnny\_Van](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/johnny_van/32/9431_2.png) [@Johnny\_Van](https://forum.freemdict.com/u/Johnny_Van)\
**Post date:** [2021 年11 月 15 日 01:08 UTC](https://forum.freemdict.com/t/topic/7166/117 "2021-11-15T01:08:08Z")

</div>

没发现你说的情况。GoldenDict 取词时它会自己剔除首尾标点，至少我用的 GD 版本是这样的。

---

<div class="post-metadata">

**Author:** ![Unijump](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/u/2acd7d/32.png) [@Unijump](https://forum.freemdict.com/u/Unijump)\
**Post date:** [2021 年11 月 15 日 01:28 UTC](https://forum.freemdict.com/t/topic/7166/118 "2021-11-15T01:28:18Z")

</div>

虽然费了点功夫，终于把使用方法搞明白了。转身就把GD++删除了。

---

<div class="post-metadata">

**Author:** ![skippy](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/skippy/32/8444_2.png) [@skippy](https://forum.freemdict.com/u/skippy)\
**Post date:** [2021 年11 月 15 日 01:33 UTC](https://forum.freemdict.com/t/topic/7166/119 "2021-11-15T01:33:03Z")

</div>

聲音正常嗎？我用[GoldenDict (часть 2) - [1] :: Программы :: Компьютерный форум Ru.Board](http://forum.ru-board.com/topic.cgi?forum=5&topic=49149&start=0) 最新的 [1.5.0-RC2-491-g519670a](https://www.mediafire.com/file/uvh73622fk653si/goldendict-1.5.0-RC2-491-g519670a%2528EXE_only%2529.7z/file). 部份辭典沒有聲音。

---

<div class="post-metadata">

**Author:** ![medp7060](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/m/8edcca/32.png) [@medp7060](https://forum.freemdict.com/u/medp7060)\
**Post date:** [2021 年11 月 15 日 02:07 UTC](https://forum.freemdict.com/t/topic/7166/120 "2021-11-15T02:07:10Z")

</div>

去这里看看：

# [GoldenDict 官方版 发音 功能增强](https://forum.freemdict.com/t/topic/9317)

---

<div class="post-metadata">

**Author:** ![Captain](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/captain/32/5_2.png) [@Captain](https://forum.freemdict.com/u/Captain)\
**Post date:** [2021 年11 月 15 日 03:34 UTC](https://forum.freemdict.com/t/topic/7166/121 "2021-11-15T03:34:49Z")

</div>

按楼主的方法设置后可以正常OCR取词了，但不能对中文取词。  
请问是否要安装tessdata best 才能中文取词？

---

<div class="post-metadata">

**Author:** ![Johnny\_Van](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/johnny_van/32/9431_2.png) [@Johnny\_Van](https://forum.freemdict.com/u/Johnny_Van)\
**Post date:** [2021 年11 月 15 日 06:27 UTC](https://forum.freemdict.com/t/topic/7166/122 "2021-11-15T06:27:28Z")

</div>

你下载的 Capture2Text 里已经 ~~自带了中英法德韩日俄西语言包了~~ ，无需额外下载。在 Capture2Text 设置里手动切换语言，一次只能识别一种语言。其他语种语言包则另外下载。

说错了，简体中文包要额外下载，名称为 chi\_sim.traineddata

---

<div class="post-metadata">

**Author:** ![artour](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/artour/32/7647_2.png) [@artour](https://forum.freemdict.com/u/artour)\
**Post date:** [2021 年11 月 15 日 07:16 UTC](https://forum.freemdict.com/t/topic/7166/123 "2021-11-15T07:16:01Z")

</div>

哪个词典没有声音？

---

<div class="post-metadata">

**Author:** ![skippy](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/skippy/32/8444_2.png) [@skippy](https://forum.freemdict.com/u/skippy)\
**Post date:** [2021 年11 月 15 日 07:26 UTC](https://forum.freemdict.com/t/topic/7166/124 "2021-11-15T07:26:13Z")

</div>

Longman Dictionary of Contemporary English 5th Edition

---

<div class="post-metadata">

**Author:** ![artour](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/artour/32/7647_2.png) [@artour](https://forum.freemdict.com/u/artour)\
**Post date:** [2021 年11 月 15 日 07:27 UTC](https://forum.freemdict.com/t/topic/7166/125 "2021-11-15T07:27:28Z")

</div>

我的正常发音啊：  
Title:Longman Dictionary of Contemporary English (LDOCE) En-Cn 5++

Version: 2.15

Fully compatible with GoldenDict , Eudic(欧路词典) , BlueDict

Description:

This dictionary is credited to

Pearson Education Limited - [https://www.ldoceonline.com](https://www.ldoceonline.com).

有道 youdao - [http://www.youdao.com](http://www.youdao.com)

- Fetched and Edited by Farefear090807

Number of Entries: 283110

---

<div class="post-metadata">

**Author:** ![skippy](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/skippy/32/8444_2.png) [@skippy](https://forum.freemdict.com/u/skippy)\
**Post date:** [2021 年11 月 15 日 09:26 UTC](https://forum.freemdict.com/t/topic/7166/127 "2021-11-15T09:26:03Z")

</div>

我用的是全英文的LDOCE.

---

<div class="post-metadata">

**Author:** ![Johnny\_Van](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/johnny_van/32/9431_2.png) [@Johnny\_Van](https://forum.freemdict.com/u/Johnny_Van)\
**Post date:** [2021 年11 月 15 日 13:30 UTC](https://forum.freemdict.com/t/topic/7166/128 "2021-11-15T13:30:04Z")

</div>

我上传了新版本，已可用于 MDict 和 欧路词典。

---

<div class="post-metadata">

**Author:** ![leonlaI2000](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/l/45deac/32.png) [@leonlaI2000](https://forum.freemdict.com/u/leonlaI2000)\
**Post date:** [2021 年11 月 15 日 13:38 UTC](https://forum.freemdict.com/t/topic/7166/129 "2021-11-15T13:38:58Z")

</div>

太复杂了，不能像nonwill一样整合一下吗？

---

<div class="post-metadata">

**Author:** ![Captain](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/captain/32/5_2.png) [@Captain](https://forum.freemdict.com/u/Captain)\
**Post date:** [2021 年11 月 15 日 14:30 UTC](https://forum.freemdict.com/t/topic/7166/130 "2021-11-15T14:30:27Z")

</div>

非常感谢！明白了

[上一页](https://forum.freemdict.com/t/topic/7166.md?page=5)

[下一页](https://forum.freemdict.com/t/topic/7166.md?page=7)
