i.e. for an image that OCR is performed, i want to be able to fetch the list of text on the image. Is this possible using the SDK? If so how, and if not are there any suggestions as to using google's OCR to fetch words in an image.
When you create a file or copy it with the Drive API, you can perform OCR on it to convert it to a Google Document which will contain the OCR text. The relevant parameters are:
ocr
boolean Whether to attempt OCR on .jpg, .png, or .gif uploads.ocrLanguage
string If ocr is true, hints at the language to use. Valid values are ISO 639-1 codes.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With