From 3971b1292e30ce5216b4c4324d72c6f79e3a8d12 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Fri, 2 Apr 2021 07:02:53 +0100 Subject: Swift OCR added command line options --- md/writeup/swift_ocr_example.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'md/writeup') 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/ -- cgit v1.2.3