Skip to content

zhanghjster/face

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

验证头像是否是同一个人

package main 
import (
	"log"
  	"github.com/zhanghjster/face"
)

func main() {	
  res, err := face.NewCompare(AccessKeyId, AccesskeySecret).Do(first, second)
  if err != nil {
    log.Fatal(err)
  }

  log.Printf("是否相同: %d, 相似程度: %f", res.PairVerifyResult, res.PairVerifySimilarity)
}

About

使用美团API验证人脸

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages