Versions in this module Expand all Collapse all v0 v0.1.1 Oct 13, 2019 v0.1.0 Oct 13, 2019 Changes in this version + type CheckFaceprintRequest struct + Faceprints []string + type CheckFaceprintResponse struct + Error string + Faces []FaceprintFace + type CheckFileRequest struct + File remototypes.File + func (s *CheckFileRequest) SetFile(ctx context.Context, filename string, r io.Reader) context.Context + type CheckFileResponse struct + Error string + Faces []Face + type CheckURLRequest struct + URL string + type CheckURLResponse struct + Error string + Faces []Face + type Face struct + Faceprint string + ID string + Matched bool + Name string + Rect Rect + type FaceboxClient struct + func NewFaceboxClient(endpoint string, client *http.Client) *FaceboxClient + func (c *FaceboxClient) CheckFaceprint(ctx context.Context, request *CheckFaceprintRequest) (*CheckFaceprintResponse, error) + func (c *FaceboxClient) CheckFaceprintMulti(ctx context.Context, requests []*CheckFaceprintRequest) ([]*CheckFaceprintResponse, error) + func (c *FaceboxClient) CheckFile(ctx context.Context, request *CheckFileRequest) (*CheckFileResponse, error) + func (c *FaceboxClient) CheckFileMulti(ctx context.Context, requests []*CheckFileRequest) ([]*CheckFileResponse, error) + func (c *FaceboxClient) CheckURL(ctx context.Context, request *CheckURLRequest) (*CheckURLResponse, error) + func (c *FaceboxClient) CheckURLMulti(ctx context.Context, requests []*CheckURLRequest) ([]*CheckURLResponse, error) + func (c *FaceboxClient) FaceprintCompare(ctx context.Context, request *FaceprintCompareRequest) (*FaceprintCompareResponse, error) + func (c *FaceboxClient) FaceprintCompareMulti(ctx context.Context, requests []*FaceprintCompareRequest) ([]*FaceprintCompareResponse, error) + func (c *FaceboxClient) GetState(ctx context.Context, request *GetStateRequest) (io.ReadCloser, error) + func (c *FaceboxClient) PutState(ctx context.Context, request *PutStateRequest) (*PutStateResponse, error) + func (c *FaceboxClient) PutStateMulti(ctx context.Context, requests []*PutStateRequest) ([]*PutStateResponse, error) + func (c *FaceboxClient) RemoveID(ctx context.Context, request *RemoveIDRequest) (*RemoveIDResponse, error) + func (c *FaceboxClient) RemoveIDMulti(ctx context.Context, requests []*RemoveIDRequest) ([]*RemoveIDResponse, error) + func (c *FaceboxClient) Rename(ctx context.Context, request *RenameRequest) (*RenameResponse, error) + func (c *FaceboxClient) RenameID(ctx context.Context, request *RenameIDRequest) (*RenameIDResponse, error) + func (c *FaceboxClient) RenameIDMulti(ctx context.Context, requests []*RenameIDRequest) ([]*RenameIDResponse, error) + func (c *FaceboxClient) RenameMulti(ctx context.Context, requests []*RenameRequest) ([]*RenameResponse, error) + func (c *FaceboxClient) SimilarFile(ctx context.Context, request *SimilarFileRequest) (*SimilarFileResponse, error) + func (c *FaceboxClient) SimilarFileMulti(ctx context.Context, requests []*SimilarFileRequest) ([]*SimilarFileResponse, error) + func (c *FaceboxClient) SimilarID(ctx context.Context, request *SimilarIDRequest) (*SimilarIDResponse, error) + func (c *FaceboxClient) SimilarIDMulti(ctx context.Context, requests []*SimilarIDRequest) ([]*SimilarIDResponse, error) + func (c *FaceboxClient) SimilarURL(ctx context.Context, request *SimilarURLRequest) (*SimilarURLResponse, error) + func (c *FaceboxClient) SimilarURLMulti(ctx context.Context, requests []*SimilarURLRequest) ([]*SimilarURLResponse, error) + func (c *FaceboxClient) TeachFaceprint(ctx context.Context, request *TeachFaceprintRequest) (*TeachFaceprintResponse, error) + func (c *FaceboxClient) TeachFaceprintMulti(ctx context.Context, requests []*TeachFaceprintRequest) ([]*TeachFaceprintResponse, error) + func (c *FaceboxClient) TeachFile(ctx context.Context, request *TeachFileRequest) (*TeachFileResponse, error) + func (c *FaceboxClient) TeachFileMulti(ctx context.Context, requests []*TeachFileRequest) ([]*TeachFileResponse, error) + func (c *FaceboxClient) TeachURL(ctx context.Context, request *TeachURLRequest) (*TeachURLResponse, error) + func (c *FaceboxClient) TeachURLMulti(ctx context.Context, requests []*TeachURLRequest) ([]*TeachURLResponse, error) + type FaceprintCompareRequest struct + Faceprints []string + Target string + type FaceprintCompareResponse struct + Confidences []float64 + Error string + type FaceprintFace struct + Confidence float64 + ID string + Matched bool + Name string + type GetStateRequest struct + type PutStateRequest struct + StateFile remototypes.File + func (s *PutStateRequest) SetStateFile(ctx context.Context, filename string, r io.Reader) context.Context + type PutStateResponse struct + Error string + type Rect struct + Height int + Left int + Top int + Width int + type RemoveIDRequest struct + ID string + type RemoveIDResponse struct + Error string + type RenameIDRequest struct + ID string + Name string + type RenameIDResponse struct + Error string + type RenameRequest struct + From string + To string + type RenameResponse struct + Error string + type SimilarFace struct + Rect Rect + SimilarFaces []Face + type SimilarFileRequest struct + File remototypes.File + func (s *SimilarFileRequest) SetFile(ctx context.Context, filename string, r io.Reader) context.Context + type SimilarFileResponse struct + Error string + Faces []SimilarFace + type SimilarIDRequest struct + ID string + type SimilarIDResponse struct + Error string + Faces []SimilarFace + type SimilarURLRequest struct + URL string + type SimilarURLResponse struct + Error string + Faces []SimilarFace + type TeachFaceprintRequest struct + Faceprint string + ID string + Name string + type TeachFaceprintResponse struct + Error string + type TeachFileRequest struct + File remototypes.File + ID string + Name string + func (s *TeachFileRequest) SetFile(ctx context.Context, filename string, r io.Reader) context.Context + type TeachFileResponse struct + Error string + type TeachURLRequest struct + ID string + Name string + URL string + type TeachURLResponse struct + Error string