Git Product home page Git Product logo

tx-ai-utils's Introduction

项目是基于:腾讯ai开放平台,对其api使用进行封装;
具体参数官方地址:https://ai.qq.com/

提供的api有:

  1. TXinit
  2. getOCRContent
  3. getHandWritingocrCont
  4. mergeImage
/**
*   初始化模块
*   id {String} 为在开放平台上注册的应用的id
*   key {string} 为对应的密钥
**/
TXinit(id,key)
/**
*   通用的ocr识别方法,该方法提供一个参数,参数类型为base64字符串;
*   base64 {String} base64字符串
*   return {string} 返回识别后的内容
**/
getOCRContent(base64)
/**
*   该方法为对图片手写体的识别
*   base64 {String} base64字符串
*   return {string} 返回识别后的内容
**/
getHandWritingocrContt(base64)
/**
*   合成图片
*   imgs {Array} base64的数组,将按顺序依次合并
*   return {String} 返回合成后的base64字符串
**/
mergeImage(imgs)

tx-ai-utils's People

Contributors

zhuangchuming avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

tooyond x-guang

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.