aliyun_ocr_sdk 1.0.0 copy "aliyun_ocr_sdk: ^1.0.0" to clipboard
aliyun_ocr_sdk: ^1.0.0 copied to clipboard

A sdk tool for developers use functions of aliyun OCR text recognition in the dart language for flutter framework.

A sdk tool for developers use functions of aliyun OCR text recognition in the dart language for flutter framework.

Features #

This package supports users skip the process of generating the signature to use the aliyun OCR text recognition api with HTTP by uploading the image's url in web.

aliyun_ocr_homepage aliyun signature page

NOTES: In some reason, I can not upload my image with the HTTP ERROR 503. After consulting the engineers from aliyun,they tell me to debug other framework sdk such as JAVA to find some way and refuse to show me how to put my image binary file into the http body.

Getting started #

This package needs user have the aliyun accessKeyId and accessKeySecret. Your should login in the website of the aliyun and follow this approach:

User's image -> AccessKey Management

Usage #

  var aliYunSdk = aliYunOcRClient();
  aliYunSdk.accessKeyId = "YouraccessKeyId";
  aliYunSdk.accessKeySecret = "YouraccessKeySecret";
  aliYunSdk.imgUrl ="https://img.alicdn.com/tfs/TB1Wo7eXAvoK1RjSZFDXXXY3pXa-2512-3509.jpg";

  aliYunSdk.queries['AccessKeyId'] = aliYunSdk.accessKeyId;
  aliYunSdk.queries['Url'] = aliYunSdk.imgUrl;
  /// Generate Signature and update the queries
  aliYunSdk.generateSignature(
    accessKeySecret: aliYunSdk.accessKeySecret,
    queries: aliYunSdk.queries,
    method: "POST",);

Additional information #

Some issues can be submitted into My Homepage

0
likes
120
pub points
9%
popularity

Publisher

unverified uploader

A sdk tool for developers use functions of aliyun OCR text recognition in the dart language for flutter framework.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

crypto, intl, uuid

More

Packages that depend on aliyun_ocr_sdk