Golang client for FindFace cloud API
Switch branches/tags
Nothing to show
Clone or download
Latest commit d61de9d Feb 6, 2018
Permalink
Failed to load latest commit information.
fixtures Handle server errors Feb 6, 2018
.gitignore Initial commit Jun 28, 2017
.vexor.yml Move to root Jun 29, 2017
README.md Change string entrypoint to *url.URL Aug 1, 2017
faces.go Handle server errors Feb 6, 2018
faces_create.go Handle server errors Feb 6, 2018
faces_create_test.go Handle server errors Feb 6, 2018
faces_delete.go Handle server errors Feb 6, 2018
faces_delete_test.go Move to root Jun 29, 2017
faces_detect.go Handle server errors Feb 6, 2018
faces_detect_test.go Move to root Jun 29, 2017
faces_get.go Handle server errors Feb 6, 2018
faces_get_test.go Move to root Jun 29, 2017
faces_identify.go Handle server errors Feb 6, 2018
faces_identify_test.go Move to root Jun 29, 2017
faces_test.go Add error handling Jul 3, 2017
faces_update.go Handle server errors Feb 6, 2018
faces_update_test.go Move to root Jun 29, 2017
faces_verify.go Bounding boxes as lists Feb 6, 2018
faces_verify_test.go Bounding boxes as lists Feb 6, 2018
findface.go Handle server errors Feb 6, 2018
findface_test.go Change string entrypoint to *url.URL Aug 1, 2017
galleries.go Handle server errors Feb 6, 2018
galleries_create.go Handle server errors Feb 6, 2018
galleries_crete_test.go Move to root Jun 29, 2017
galleries_delete.go Handle server errors Feb 6, 2018
galleries_delete_test.go Move to root Jun 29, 2017
galleries_test.go Add error handling Jul 3, 2017
license Update License Jul 31, 2017
meta.go Handle server errors Feb 6, 2018
meta_test.go Move to root Jun 29, 2017
response.go Handle server errors Feb 6, 2018

README.md

findface

Golang client for FindFace cloud API

GoDoc Vexor status

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.

Contributors

This wrapper was developed by:

Usage

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)
}