-
Notifications
You must be signed in to change notification settings - Fork 0
/
ocr.html
98 lines (90 loc) · 4.52 KB
/
ocr.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="eSearch 截图 OCR 以图搜图 搜索翻译 贴图">
<meta name="keywords" content="截图,截屏,ocr,OCR,文字识别,开源,免费,搜索,翻译,以图搜图,识图,贴图,软件,esearch,e-search,eSearch">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="supported-color-schemes" content="light dark">
<!-- 谷歌 验证所有权 -->
<meta name="google-site-verification" content="HnitDp2ktfgc7WbaPzSeJr1w-FnNO7XscMqUuj8PV7U" />
<!-- 必应 验证所有权 -->
<meta name="msvalidate.01" content="4CFE835B163F91DDA28FC9BF7C27B420" />
<!-- 百度 验证所有权 -->
<meta name="baidu-site-verification" content="code-cs6h9rzPpG" />
<link rel="icon" type="image/svg" href="./assets/icon.svg">
<title>eSearch - 识屏 · 搜索</title>
<link rel="stylesheet" type="text/css" href="css/css.css">
<script type="module" src="./src/ocr_m.ts"></script>
</head>
<body>
<header>
<ul id="nav">
<li data-id="eSearch"><a href="/" style="display: flex;align-items: center;"><img src="./assets/icon.svg"
id="icon" alt="logo"></a></li>
</ul>
</header>
<article data-cursor="text">
<h1>OCR多语言模型</h1>
<h2>下载</h2>
<p>
请选择语言:<select name="ocr_l" id="ocr_l" data-cursor="block"></select>
</p>
<p>
<div id="m_list"></div>
</p>
<h2>自制</h2>
<ul>
<ol>使用paddleocr训练模型</ol>
<ol>在<a href="https://www.paddlepaddle.org.cn/paddle/visualdl/modelconverter/x2paddle" target="_blank"
rel="noopener noreferrer" data-cursor="block">paddle2onnx</a>在线转换为onnx模型</ol>
<ol>将检测模型命名为包含<code>det</code>的文件,将识别模型命名为包含<code>rec</code>的文件</ol>
</ul>
<h2>使用</h2>
<p>解压压缩包,将会看到有一个文件名包含<code>_rec</code>的<code>.onnx</code>文件,部分压缩包包含一个文件名含有<code>_det</code>的
<code>.onnx</code>文件,和一个<code>.txt</code>字典文件
</p>
<p>打开eSearch的设置-OCR,找到OCR拖拽添加区</p>
<p>使用鼠标选中<strong>压缩包的所有文件</strong>,按住并拖动到OCR拖拽添加区,放开鼠标,即可看见添加了名为
<code>新增xxx</code>的离线OCR项目,可进行重命名。
</p>
</article>
<footer class="main_block" id="关于">
<div>
<img src="./assets/icon.svg" alt="logo" width="64">
<h2>eSearch</h2>
<p>截屏OCR搜索翻译以图搜图贴图录屏</p>
</div>
<div>
<div>
<a href="https://github.com/xushengfeng/eSearch" target="_bank"><img src="./assets/icons/Github.svg"
alt="Github"></a>
<a href="https://gitee.com/xsf-root/eSearch" target="_bank"><img src="./assets/icons/Gitee.svg"
alt="Gitee"></a>
</div>
<div>
<a href="https://github.com/xushengfeng/eSearch" target="_bank"><img
src="https://img.shields.io/github/stars/xushengfeng/eSearch?style=social"
alt="Github star"></a>
</div>
<div>
<a href="https://www.netlify.com" target="_blank"> <img
src="https://www.netlify.com/v3/img/components/netlify-light.svg" alt="Deploys by Netlify" />
</a>
</div>
</div>
<div>
<a href="https://fanyishu.netlify.app" target="_blank" rel="noopener noreferrer">翻译树</a>
<a href="https://yuansou.netlify.app" target="_blank" rel="noopener noreferrer">元搜索引擎</a>
<a href="http://xlinkote.netlify.app" target="_blank" rel="noopener noreferrer">xlinkote 自由排版双链笔记</a>
</div>
<div class="about_p2">
<a href="https://github.com/xushengfeng/eSearch/blob/master/LICENSE" target="_bank">GPL3
license</a>
<p>2021 - 2022</p>
<address><a href="https://github.com/xushengfeng" target="_bank">©xushengfeng</a><a
href="mailto:xushengfeng_zg@163.com">xushengfeng_zg@163.com</a></address>
</div>
</footer>
</body>
</html>