4

如何用Node调用腾讯AI图像服务

 3 years ago
source link: https://github.com/lcxfs1991/blog/issues/26
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Owner

lcxfs1991 commented on Jul 4, 2018

看到腾讯云提供了这么多 AI 图像服务,跃跃欲试!

68747470733a2f2f757365722d676f6c642d63646e2e786974752e696f2f323031382f372f342f313634363532353234323063323062333f773d33333526683d33323426663d6a70656726733d3133383039

结果发现,只有 Java, Python, C++ 几款 SDK。

为了前端工程师的福祉,撸了一款 Node 的 SDK,如下:

image-node-sdk

一共支持6大类(信息认证、人脸识别、文字识别、图片识别、人脸核身和人脸融合),35个接口,有些接口是提供了大量免费调用的机会,而有些可会要收费。
共提供两种调用方式。

  1. 外链

    68747470733a2f2f757365722d676f6c642d63646e2e786974752e696f2f323031382f372f342f313634363532363165663539373036663f773d36303026683d32353026663d6a70656726733d3239353234
  2. 读取本地文件

    68747470733a2f2f757365722d676f6c642d63646e2e786974752e696f2f323031382f372f342f313634363532363332613965356466303f773d35373026683d34363226663d6a70656726733d3633323730

欢迎试用以及给我提Issue或PR!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK