Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileFromUrl ¶
Types ¶
type AiService ¶
type AiService struct {
// contains filtered or unexported fields
}
func (*AiService) CreateFaceSet ¶
func (as *AiService) CreateFaceSet()
func (*AiService) FaceDetect ¶
func (as *AiService) FaceDetect(file io.Reader) (*FaceDetectResponse, error)
func (*AiService) RefreshAccessToken ¶
type FaceDetectDetail ¶
type FaceDetectDetail struct { FaceId string `json:"faceId"` FaceRectangleArea *RectangleAreaInfo `json:"faceDectectRectangleArea"` LandmarkAreas []*LandmarkAreaInfo `json:"faceDetectLandmarkAreaList"` FaceScore float64 `json:"faceScore"` Roll float64 `json:"roll"` Pitch float64 `json:"pitch"` Raw float64 `json:"raw"` FaceLandMarkNumber int32 `json:"faceLandmarkNumber"` }
type FaceDetectResponse ¶
type FaceDetectResponse struct { ImageId int64 `json:"imageId"` Cost int64 `json:"cost"` FaceCount int32 `json:"faceNum"` Details []*FaceDetectDetail `json:"faceDetectDetailList"` }
type LandmarkAreaInfo ¶
Click to show internal directories.
Click to hide internal directories.