Skip to content
This repository was archived by the owner on Jul 22, 2021. It is now read-only.
This repository was archived by the owner on Jul 22, 2021. It is now read-only.

How to pass the 'ocr: true' parameter when uploading a file using PyDrive? #205

Open

Description

@saif-md

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?

Activity

  1. shcheklein commented on Jul 22, 2020

    @shcheklein

    @saif-md have you tried to pass it to the CreateFile call?

    CreateFile({"title": title, "parents": [{"id": parent_id}], "ocr": true}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions