I'm using Google Drive's API to extract the extract the text from a PDF file. Does anyone know if the tool being used for this is tessaract? I'd like to know what the back end is for this before I start using it more.
The call I'm referring to can be found on their API page under OCR.
Thanks for your help!
If you check the Google Drive documentation and this Google Drive Blog about OCR, the Google did not mention that they use Tesseract for this. But, if you check the Tesseract information, it is stated here that Tesseract development has been sponsored by Google since 2006. Sorry to say, but I think only a Googler that knows this OCR can answer or verify your question. Hope this piece of information can help you.
Related
Google drive api provides the following code to export files. GET https://www.googleapis.com/drive/v3/files/fileId/export. However, it doesn't work by itself, it needs the mimeType. Where do I put the MimeType. I need the complete syntax. Thank you.
https://www.googleapis.com/drive/v3/files/$fileId/export?mimeType=application/vnd.openxmlformats-officedocument.wordprocessingml.document
I have been reading about Google apikey but I steel have doubts, I’m writing a program where I need to use Google maps and specifically geometry library, I’m going to sell this program. The user not going to use the program so much (just 10 request maximum “thinking about usage limits”), and the program is not for a web, is just intranet! So the doubt is: does I really need to have an apikey? And if so… what I need to do?
If you know how I can communicate with Google people, I will appreciate!
or if you know how to replace the google.maps.geometry.poly.containsLocation method....
Yes, you need an API key and for commercial software you are subject to restriction according to GoogleMaps policy rule:
Can I use the Google Maps API on a commercial website?
I am working on OCR detection and have implemented tesseract OCR with this code.
But I have heard about google docs API which will provide services.
But as per this link the api will save only to google docs?
Has any one implemented or used this feature in your applications, and where can I get some sample usagof this API?
I am, right now, using Google Vision API to do OCR in my application.
It's pretty easy. You have plenty of documentation at https://cloud.google.com/vision/ itself.
But to answer your question, the API-response is a JSON, from which you can filter whatever you need, which, in your case I am assuming is text.
Like this:
response = client.text_detection(image= image)
texts = response.text_annotations
print('Texts:')
for text in texts:
print('\n"{}"'.format(text.description))
vertices = (['({},{})'.format(vertex.x, vertex.y)
for vertex in text.bounding_poly.vertices])
print('bounds: {}'.format(','.join(vertices)))
So basically you can do whatever you want with the response.
You will have to make an account, provide billing info and so some setup etc. before you can use it.
But if I'm not mistaken, up to 2000 images per month are free, something like that.
We are building a web application based on Google Drive API. We'd like to incorporate a facility of displaying who is viewing our "document" in real time like Google docs and spreadsheets are doing.
Implementing it from scratch would be quite challenging because of the necessity to track when a user leaves the page. So we'd first like to check if anything is already available for this purpose.
We have found out Google Analytics API may be helpful, but it can only give us a number, not user names.
Google Drive Realtime API looks promising and suitable for other needs of our development, however at the moment it's not clear whether it might help with displaying current viewers.
Any ideas on possible solutions would be greatly appreciated.
This is possible in the realtime API. See https://developers.google.com/drive/realtime/handle-events#collaborator_events
There is an example of it in the Realtime Playground.
Does anyone know if the Google Docs API supports commenting. I am trying to build an app that allows me to add comments and tagging to files on gdrive?
Thanks...
Any tips and or advice would be greatly appreciated!
-Ashley
Comments are not exposed by the Documents List API, you might consider using the <docs:description> element to store application-specific tags.