PyDrive
PyDrive copied to clipboard
How to pass the 'ocr: true' parameter when uploading a file using PyDrive?
I want to make an app that will ocr pdfs. I am trying to achieve this passing ocr:true parameter in upload() method. Are there any way to do this? Is the param parameter of upload() supports this?
@saif-md have you tried to pass it to the CreateFile call?
CreateFile({"title": title, "parents": [{"id": parent_id}], "ocr": true}