(image-url->base64-str image-url)
Does an http :get on the url which should be a string.
Does an http :get on the url which should be a string.
(image-url->text* api-key img-url max-results)
Takes an image-url, fetches the image, base64 encodes it and sends to google for OCR purposes. Returns the text google was able to read.
Takes an image-url, fetches the image, base64 encodes it and sends to google for OCR purposes. Returns the text google was able to read.
(new-google-v1-ocr api-key)
Returns a google v1 cloud vision ocr client. The images must be available via http get when calling methods on this implementation.
Returns a google v1 cloud vision ocr client. The images must be available via http get when calling methods on this implementation.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close