summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2021-04-02 07:02:53 +0100
committerFreeArtMan <dos21h@gmail.com>2021-04-02 07:02:53 +0100
commit3971b1292e30ce5216b4c4324d72c6f79e3a8d12 (patch)
tree287fa3b8e76035cda011fcb1c8cc142582aeeefa
parentcfa037e92da0a34f7919ce4ca9db2bd546995c93 (diff)
downloadmd-content-3971b1292e30ce5216b4c4324d72c6f79e3a8d12.tar.gz
md-content-3971b1292e30ce5216b4c4324d72c6f79e3a8d12.zip
Swift OCR added command line options
-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/