diff options
author | FreeArtMan <dos21h@gmail.com> | 2021-04-02 07:02:53 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2021-04-02 07:02:53 +0100 |
commit | 3971b1292e30ce5216b4c4324d72c6f79e3a8d12 (patch) | |
tree | 287fa3b8e76035cda011fcb1c8cc142582aeeefa /md | |
parent | cfa037e92da0a34f7919ce4ca9db2bd546995c93 (diff) | |
download | md-content-3971b1292e30ce5216b4c4324d72c6f79e3a8d12.tar.gz md-content-3971b1292e30ce5216b4c4324d72c6f79e3a8d12.zip |
Swift OCR added command line options
Diffstat (limited to 'md')
-rw-r--r-- | md/writeup/swift_ocr_example.md | 10 |
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/ |