You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `-v, --version` | Print the package version, then exit | - |
179
+
| `-h, --help` | Show help message, then exit | - |
168
180
169
181
**Language Format for `--lang`**:
170
182
@@ -209,6 +221,9 @@ The complete OCR4Linux workflow:
209
221
./OCR4Linux.sh --lang eng -l -r
210
222
./OCR4Linux.sh --lang all -d ~/screenshots -l
211
223
224
+
# Print version
225
+
./OCR4Linux.sh -v
226
+
212
227
# Show help
213
228
./OCR4Linux.sh -h
214
229
```
@@ -289,7 +304,7 @@ python OCR4Linux.py --help
289
304
290
305
- [OCR4Linux.py](https://github.com/moheladwy/OCR4Linux/blob/main/OCR4Linux.py): Python script to preprocess the image and extract text using `tesseract` with support for custom language selection.
291
306
- [OCR4Linux.sh](https://github.com/moheladwy/OCR4Linux/blob/main/OCR4Linux.sh): Shell script that provides both interactive language selection via rofi and direct command-line language specification, takes a screenshot, passes it to the python script with selected languages, gets the extracted text, and copies it to the clipboard.
292
-
- [setup.sh](https://github.com/moheladwy/OCR4Linux/blob/main/setup.sh): Shell script to install the required packages and copy the necessary files to the configuration directory (run this script the first time you clone the repository only).
307
+
- [setup.sh](https://github.com/moheladwy/OCR4Linux/blob/main/setup.sh): Shell script to install the required packages and copy the necessary files to the configuration directory. Intended for manual installation only — Arch-based users are encouraged to use the AUR package instead.
0 commit comments