Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
217 lines (217 loc) ยท 5.52 KB
/
Copy pathpackage.json
File metadata and controls
217 lines (217 loc) ยท 5.52 KB
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
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "screenocr",
"title": "ScreenOCR",
"description": "Extract text from screen captures locally via OCR",
"icon": "command-icon.png",
"author": "huzef44",
"contributors": [
"anwarulislam",
"xilopaint",
"pernielsentikaer",
"chrismessina",
"huzef_ansari"
],
"categories": [
"Productivity"
],
"license": "MIT",
"platforms": [
"macOS"
],
"preferences": [
{
"name": "primaryLanguage",
"title": "Primary Language",
"description": "Primary language for text recognition",
"type": "dropdown",
"required": true,
"data": [
{
"title": "๐บ๐ธ English (US)",
"value": "en-US"
},
{
"title": "๐ซ๐ท French (France)",
"value": "fr-FR"
},
{
"title": "๐ฎ๐น Italian (Italy)",
"value": "it-IT"
},
{
"title": "๐ฉ๐ช German (Germany)",
"value": "de-DE"
},
{
"title": "๐ช๐ธ Spanish (Spain)",
"value": "es-ES"
},
{
"title": "๐ง๐ท Portuguese (Brazil)",
"value": "pt-BR"
},
{
"title": "๐จ๐ณ Chinese (Simplified)",
"value": "zh-Hans"
},
{
"title": "๐น๐ผ Chinese (Traditional)",
"value": "zh-Hant"
},
{
"title": "๐จ๐ณ Cantonese (Simplified)",
"value": "yue-Hans"
},
{
"title": "๐ญ๐ฐ Cantonese (Traditional)",
"value": "yue-Hant"
},
{
"title": "๐ฐ๐ท Korean (South Korea)",
"value": "ko-KR"
},
{
"title": "๐ฏ๐ต Japanese (Japan)",
"value": "ja-JP"
},
{
"title": "๐ท๐บ Russian (Russia)",
"value": "ru-RU"
},
{
"title": "๐บ๐ฆ Ukrainian (Ukraine)",
"value": "uk-UA"
},
{
"title": "๐น๐ญ Thai (Thailand)",
"value": "th-TH"
},
{
"title": "๐ป๐ณ Vietnamese (Vietnam)",
"value": "vi-VT"
},
{
"title": "๐ธ๐ฆ Arabic (Saudi Arabia)",
"value": "ar-SA"
},
{
"title": "๐ธ๐ฆ Arabic, Najdi (Saudi Arabia)",
"value": "ars-SA"
}
]
},
{
"name": "ocrMode",
"title": "Recognition Level",
"description": "Affects performance and accuracy of the text recognition",
"type": "dropdown",
"required": true,
"data": [
{
"title": "Accurate",
"value": "accurate"
},
{
"title": "Fast",
"value": "fast"
}
]
},
{
"name": "languageCorrection",
"title": "Options",
"description": "Disabling this property returns the raw recognition results, which provides performance benefits but less accurate results",
"type": "checkbox",
"required": true,
"label": "Use language correction",
"default": true
},
{
"name": "playSound",
"description": "Play camera shutter sound when capturing screenshots",
"type": "checkbox",
"required": false,
"label": "Play sounds",
"default": true
},
{
"name": "showToast",
"description": "Show toast notifications for command results",
"type": "checkbox",
"required": false,
"label": "Show toast messages",
"default": true
},
{
"name": "ignoreLineBreaks",
"description": "Ignores Line Breaks",
"type": "checkbox",
"required": false,
"label": "Ignore line breaks",
"default": false
},
{
"name": "keepImage",
"description": "Keep the image in the clipboard after text recognition",
"type": "checkbox",
"required": true,
"label": "Keep image in clipboard",
"default": false
},
{
"name": "customWordsList",
"title": "Custom Words List",
"description": "You can improve text recognition by providing a list of words that are special to your text",
"type": "textfield",
"required": false,
"label": "Custom Words List"
}
],
"commands": [
{
"title": "Select Recognition Languages",
"description": "Choose which languages will be used for text recognition",
"name": "preferences",
"mode": "view"
},
{
"name": "recognize-text",
"title": "Recognize Text",
"description": "Detect all text from the captured screen area",
"mode": "no-view"
},
{
"name": "recognize-text-fullscreen",
"title": "Recognize Text on Entire Screen",
"description": "Detect all text from the captured screen",
"mode": "no-view"
},
{
"name": "detect-barcode",
"title": "Detect Barcode/QR Code",
"description": "Detect barcodes and QR codes from the captured screen area",
"mode": "no-view"
}
],
"dependencies": {
"@raycast/api": "^1.104.20",
"@raycast/utils": "^2.2.7",
"raycast-cross-extension": "^0.2.3"
},
"devDependencies": {
"@raycast/eslint-config": "^2.2.0",
"@types/node": "22.13.10",
"@types/react": "19.0.10",
"eslint": "^9.22.0",
"prettier": "^3.7.4",
"typescript": "^5.9.3"
},
"scripts": {
"build": "ray build -e dist",
"dev": "ray develop",
"fix-lint": "ray lint --fix",
"lint": "ray lint",
"publish": "npx @raycast/api@latest publish"
}
}