Golang client for FindFace cloud API
findface requires Go version 1.7 or greater.
This is the Go wrapper for the FindFace PRO Facial Recognition API. The wrapper was written for Humaniq.co project needs, during the facial image research process.
This wrapper was developed by:
import "github.com/humaniq/findface"
Create new Findface.pro client, then use the various services on the client to access different parts of the FindFace.pro API. For example:
You should request an Authentication token.
client := findface.NewClient(token, nil, nil)
// list all faces
result, err := client.Face.List(context.Background(), &FaceListOptions{})
if err != nil {
log.Error(err)
}
You can specify the options:
// List all faces from `my_gallery`
opt := &FaceListOptions{
GalleryName: "my_gallery",
}
result, err := client.Face.List(context.Background(), opt)
if err != nil {
log.Error(err)
}
Version | Tag | Published |
---|---|---|
v0.0.0-20180206170538-d61de9d51d51 | 2yrs ago |