summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--md/writeup/swift_ocr_example.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/md/writeup/swift_ocr_example.md b/md/writeup/swift_ocr_example.md
index fd0e169..ba45828 100644
--- a/md/writeup/swift_ocr_example.md
+++ b/md/writeup/swift_ocr_example.md
@@ -46,6 +46,16 @@ func recognizeImageUrl(_ url:URL, _ error: Error?) {
}
```
+## How to use
+
+Point to the image file with text
+
+```bash
+OCRImage --input-name sample.png
+```
+
+Stdout output will be recognized text
+
## Source code
Example XCode project is located at http://git.main.lv/cgit.cgi/OCRImage.git/