Skip to content

baiduaip 实现人脸识别所使用接口的sdk

Notifications You must be signed in to change notification settings

antlinker/baiduaip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

baiduaip 实现人脸识别所使用的接口sdk

GoDoc

import (
    "github.com/antlinker/baiduaip/baidu/aip/client"
)

func main() {
    opt := newClientOptions()
    client.Init(opt)
    // ...
}

// newClientOptions 客户端选项
func newClientOptions() (opt *client.Option) {
    // ...
    return 
}

注: 运行go test前, 需要在baidu/aip/testdata目录下创建key.json和测试图片, 内容如下:

{
    "AppID": "APPID",
    "APIKey": "APIKEY",
    "SecretKey": "SECRETKEY"
}
ls ./baidu/aip/testdata

cp.jpeg  EF2B8C2B8BCD43DA931B218759D59C22.jpeg  key.json  man4.jpg  tom.jpeg

About

baiduaip 实现人脸识别所使用接口的sdk

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages