-
Notifications
You must be signed in to change notification settings - Fork 77
/
Copy pathoptions.html
322 lines (275 loc) · 13.1 KB
/
options.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="styles/material.min.css" />
<link href="styles/options.css" rel="stylesheet">
<link href="styles/cs.css" rel="stylesheet">
<title>Options</title>
</head>
<body>
<div class="container">
<h1>Copyfish Options</h1>
<div class="inner-wrapper">
<div class="status-text">Settings saved successfully. Changes will be visible after the next conversion.</div>
<span class="EnginesType">OCR Engine</span>
<div class="OcrEngine">
<tr>
<td>
<label class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="OcrSpace">
<input type="radio" id="OcrSpace" name="OCR" class="mdl-radio__button" value="OcrSpace">
<span class="mdl-radio__label">OCR Engine 1
(<a class="options-link" target="_blank" href="https://ocr.space/rd/copyfish?help=ocr1">more
languages</a>)
</span>
</label>
</td>
<td>
<label class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="OcrSpaceSecond">
<input type="radio" id="OcrSpaceSecond" name="OCR" class="mdl-radio__button" value="OcrSpaceSecond">
<span class="mdl-radio__label">OCR Engine 2
(better <a class="options-link" target="_blank"
href="https://ocr.space/rd/copyfish?help=ocr2">alphanumeric OCR</a>)</span>
</label>
</td>
<td>
<label class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="OcrLocal">
<input type="radio" id="OcrLocal" name="OCR" class="mdl-radio__button" value="OcrLocal">
<span class="mdl-radio__label">XModule Local OCR (<a class="options-link" target="_blank"
href="https://ocr.space/rd/copyfish?help=xmodule-ocr">Install Link</a>)</span>
</label>
</td>
</tr>
</div>
<div class="mdl-grid options-container input-language">
<div class="mdl-cell mdl-cell--5-col label">
<label>Input Language (OCR Language)</label>
</div>
<div class="mdl-cell mdl-cell--7-col">
<select id="input-lang" name="inputlang">
</select>
</div>
</div>
<div class="mdl-grid options-container input-language-quickselect">
<div class="mdl-cell mdl-cell--5-col label">
<label>Input Language Quickselect</label>
</div>
<div class="mdl-cell mdl-cell--2-col">
<select id="input-lang-1" name="inputlang" class="lang-quickselect">
<option value="none" selected="selected">None</option>
</select>
</div>
<div class="mdl-cell mdl-cell--2-col">
<select id="input-lang-2" name="inputlang" class="lang-quickselect">
<option value="none" selected="selected">None</option>
</select>
</div>
<div class="mdl-cell mdl-cell--2-col">
<select id="input-lang-3" name="inputlang" class="lang-quickselect">
<option value="none" selected="selected">None</option>
</select>
</div>
</div>
<div class="mdl-grid options-container font-size-options">
<div class="mdl-cell mdl-cell--5-col label">
<label>Text Box Font Size</label>
</div>
<div class="mdl-cell mdl-cell--7-col">
<select id="ocr-fontsize" name="outputlang">
<option value="48px">48 px</option>
<option value="42px">42 px</option>
<option value="36px">36 px</option>
<option value="32px">32 px</option>
<option value="28px">28 px</option>
<option value="24px">24 px</option>
<option value="20px">20 px</option>
<option value="18px">18 px</option>
<option value="16px" selected>16 px</option>
<option value="14px">14 px</option>
<option value="12px">12 px</option>
</select>
</div>
</div>
<div class="mdl-grid options-container translate-options">
<div class="mdl-cell mdl-cell--5-col label">
<label title="Support popup dictionaries">Support popup dictionaries <br />
<a target="_blank" href="https://ocr.space/rd/copyfish?help=pdic" class="tip">Tip: How to use Copyfish with
translator extensions</a>
</label>
</div>
<div class="mdl-cell mdl-cell--7-col">
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect popup-dicts" for="switch-popup-dicts">
<input type="checkbox" id="switch-popup-dicts" class="mdl-switch__input" checked />
<span class="mdl-switch__label"></span>
</label>
</div>
</div>
<div class="mdl-grid options-container translate-options">
<div class="mdl-cell mdl-cell--5-col label">
<label title="Use Table OCR">Use Table OCR</label>
</div>
<div class="mdl-cell mdl-cell--7-col">
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect table-ocr" for="switch-table-ocr">
<input type="checkbox" id="switch-table-ocr" class="mdl-switch__input" />
<span class="mdl-switch__label"></span>
</label>
</div>
</div>
<div class="copy-auto-container">
<h2>Copy text to clipboard</h2>
<div class="mdl-grid options-container copy-auto-text">
<div class="mdl-cell mdl-cell--5-col label">
<label title="Copy automatically">Copy automatically <br />
</label>
</div>
<div class="mdl-cell mdl-cell--7-col">
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect copy-auto" for="switch-copy-auto">
<input type="checkbox" id="switch-copy-auto" class="mdl-switch__input" checked />
<span class="mdl-switch__label"></span>
</label>
</div>
</div>
</div>
<div class="file-access-status">
<h2>OCR Local Images and PDFs</h2>
<div class="file-access-main">
<p>With Copyfish you can also OCR local images and PDF. You only need to drag and drop them into your browser,
and then use Copyfish on it. For this to work, you need to allow Copyfish access to file URLs. You do this
in Chrome extension settings for Copyfish.</p>
<div class="file-access-status-error">
<span>Currently access to file URLs is not enabled. <a target="_blank"
href="https://ocr.space/rd/copyfish?help=fileurl">Show me how to change this</a> </span>
</div>
<div class="file-access-status-done">
<span>Access to file URLs is enabled.</span>
</div>
</div>
</div>
<div class="xmodule-item" id="xmodule-item-local">
<div class="mdl-grid subtitle">
<h2>LOCAL OCR Processing</h2>
</div>
<div class="file-access-main">
<p>In order to <a target="_blank"
href="https://ocr.space/rd/copyfish?help=xmodule-ocr">use local OCR</a> you need to install the latest XModules. Local OCR is currently available for Windows and Mac, but <span
style="color: red;">not</span> yet for Linux.</span>
</p>
</div>
<div class="xmodule-title">
<span><b>Status:</b> </span>
<button id="check-update-fileaccess-local" type="button" class="ant-btn ant-btn-primary"><span>Test it</span>
</button>
</div>
<div class="xmodule-status"><label>Status: </label>
<div class="status-box local_fileaccess_module-span"><span style="color: red;">Not Installed</span>
<a target="_blank" href="https://ocr.space/rd/copyfish?help=download">Download it</a>
<span style="color: red;">Disabled</span>
</div>
</div>
</div>
<div class="xmodule-item" id="xmodule-item">
<div class="mdl-grid subtitle">
<h2>Desktop OCR</h2>
</div>
<div class="file-access-main">
<p>Copyfish can grab text from anything on your the desktop with the help
of a <b><span style="color: green;">free</span></b> additional local helper app. This app is called
"XModule" (X like in in eXtension) and is available for Windows, Mac and Linux. The helper app is <span
style="color: red;">not</span> required if you (only) want to use Copyfish with standard website content
(<a href="https://ocr.space/rd/copyfish?help=desktop" target="_blank">More Info</a>).
</br></br>
Note: When Copyfish fails to grab text from a website it will try to use Desktop OCR instead. And if Desktop
OCR
is not installed, it will open this settings page. But again, if you do not need Desktop OCR there is no
need to install the XModule app.
</p>
</div>
<div class="mdl-grid mdl-cell--10-col options-container translate-options">
<div class="mdl-cell label mdl-cell mdl-cell--6-col">
<label title="Use Table OCR"><strong>Always use Desktop OCR</strong></label>
</div>
<div class="mdl-cell mdl-cell--5-col">
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect usedesktop-ocr" for="switch-usedesktop-ocr">
<input type="checkbox" id="switch-usedesktop-ocr" class="mdl-switch__input" />
<span class="mdl-switch__label"></span>
</label>
</div>
</div>
<div class="xmodule-title">
<span><b>File Access Status:</b> </span>
<button id="check-update-fileaccess" type="button" class="ant-btn ant-btn-primary"><span>Test it</span>
</button>
</div>
<div class="xmodule-status"><label>Status: </label>
<div class="status-box fileaccess_module-span"><span style="color: red;">Not Installed</span>
<a target="_blank" href="https://ocr.space/rd/copyfish?help=download">Download it</a>
<span style="color: red;">Disabled</span>
</div>
</div>
<div class="xmodule-title">
<span><b>Desktop Screenshot Status:</b> </span>
<button id="check-update-xmodule" type="button" class="ant-btn ant-btn-primary"><span>Test it</span>
</button>
</div>
<div class="xmodule-status"><label>Status: </label>
<div class="status-box xmodule-span"><span style="color: red;">Not Installed</span>
<a target="_blank" href="https://ocr.space/rd/copyfish?help=download">Download it</a>
<span style="color: red;">Disabled</span>
<a href="#">Enable</a>
</div>
<div id="xmodule-shutter">
Error: External Shutter program not found
</div>
</div>
</div>
<div class="mdl-grid subtitle">
<h2>Global Keyboard Shortcuts</h2>
</div>
<p style="text-align: center;">Click <a href="#" id="manage-shortcuts">here</a> to change the shortcuts.</p>
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--12-col">
</div>
</div>
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--12-col">
<div class="subscription">
<div class="text">🐟 Copyfish User Forum</div>
<div><center>
<a target="_blank" href="https://ocr.space/rd/copyfish?help=forum">Meet developers and users in the OCR forum.</a>
</center>
</div>
</div>
</div>
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--12-col">
<div class="subscription">
<div class="text">👉 Need image/OCR-based browser automation?</div>
<div><center>
<a target="_blank" href="https://ocr.space/rd/copyfish?help=getrpa">Get the Ui.Vision Extension for Chrome/Edge/Firefox.</br>It is Free, Open-Source & from the same developers as Copyfish!</a>
</center>
</div>
</div>
</div>
<div class="mdl-grid options-container buttons">
<!-- <div class="mdl-cell mdl-cell--3-col label"></div>
<div class="mdl-cell mdl-cell--5-col button-cell">
<button class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent btn btn-reset" title="Reset">Reset</button> -->
<!-- <button class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent btn btn-save" title="Save">Save</button> -->
<!--</div>-->
<div class="mdl-cell mdl-cell--5-col label">
</div>
</div>
</div>
</div>
<script src="scripts/jquery.min.js"></script>
<script src="scripts/material.min.js"></script>
<script src="scripts/genlib.js"></script>
<script src="scripts/overlay.js"></script>
<script src="scripts/options.js"></script>
</body>
</html>