google drive sdk - OCR of Chinese characters with File Insert -


I'm trying to put the OCC file in Google Drive. Image is being inserted in which the Chinese characters are ocrating while images are converted to a Google Doc in general, but no text is extracted.

According to the docs, you should use the "octal language" with the value of the ISO 639-1 code.

I tried to use "zh" which rejects the API as an invalid value.

I tried to use "Zee-Hans" which I found in the old Google-Docs API documentation. It does not return any error, but does not have OCR.

I tried to use a "" but also OCR.

According to the docs, this parameter is only an indication and will be overridden if the OCR engine can work on the language.

So my questions are:

  1. Does anyone have successfully pictured OCR letters?
  2. Is anybody a list of supported languages?

    Notes: When uploading an image in a browser, the OCR language drop-down contains Chinese (simplified and traditional) and this method successfully concludes the text. I have a script for Chinese OCR written about 2 years ago. I / P>

    1. This code is completely code (using the PHP library):

      $ createdfile = $ service-> File-> Insert ($ file, array ('data' = & gt; $ data, 'mimetype =' gtc: / ol>

      Now it is not working for "Zee-Hans", but normally " Working for "N" language takes about 10-15 seconds to wait a response from Google API, so Google is trying to complete OCR, but it seems there is a problem with Google API.

      1. Supported languages ​​for Chinese are zh-hans, zh-hant as zinc (but this is old Languages ​​are OCR HTML selections in the web interface:

        Chinese (Simplified) Chinese (Traditional)

        Do you mean "google-drive -sdk "tag for this question, as suggested here

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -