Documentation ¶
Index ¶
- func ClassifyHandler(classifiers map[string]gildasai.Classifier, html bool) gin.HandlerFunc
- func FaceCroppedHandler(batches map[string]*gildasai.Batch) gin.HandlerFunc
- func FaceSourceHandler(batches map[string]*gildasai.Batch) gin.HandlerFunc
- func FaceSwapHandler(extractor *gildasai.Extractor, detector gildasai.Landmark) gin.HandlerFunc
- func FacesGetBatchHandler(batches map[string]*gildasai.Batch) gin.HandlerFunc
- func FacesHomeHandler(batches map[string]*gildasai.Batch) gin.HandlerFunc
- func FacesPostBatchHandler(extractor *gildasai.Extractor, batches map[string]*gildasai.Batch) gin.HandlerFunc
- func FacesearchAgainstHandler(store *sqlite.Store) gin.HandlerFunc
- func FacesearchDetectionHandler(store *sqlite.Store, clusters *FaceClusters) gin.HandlerFunc
- func FacesearchDetectionImageHandler() gin.HandlerFunc
- func FacesearchHandler(store *sqlite.Store, clusters *FaceClusters) gin.HandlerFunc
- func FacesearchLandmarkImageHandler(store *sqlite.Store) gin.HandlerFunc
- func GetPhotoHandler(store gildasai.PredictionStore) gin.HandlerFunc
- func MaskHandler(detector Detector, store map[string]MaskResult) gin.HandlerFunc
- func MaskImageHandler(store map[string]MaskResult) gin.HandlerFunc
- func PhotosHandler(store gildasai.PredictionStore) gin.HandlerFunc
- type Detection
- type Detector
- type FaceClusters
- type MaskResult
- type Matches
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClassifyHandler ¶
func ClassifyHandler(classifiers map[string]gildasai.Classifier, html bool) gin.HandlerFunc
func FaceCroppedHandler ¶
func FaceCroppedHandler(batches map[string]*gildasai.Batch) gin.HandlerFunc
func FaceSourceHandler ¶
func FaceSourceHandler(batches map[string]*gildasai.Batch) gin.HandlerFunc
func FaceSwapHandler ¶
func FacesGetBatchHandler ¶
func FacesGetBatchHandler(batches map[string]*gildasai.Batch) gin.HandlerFunc
func FacesHomeHandler ¶
func FacesHomeHandler(batches map[string]*gildasai.Batch) gin.HandlerFunc
func FacesPostBatchHandler ¶
func FacesearchAgainstHandler ¶
func FacesearchAgainstHandler(store *sqlite.Store) gin.HandlerFunc
func FacesearchDetectionHandler ¶
func FacesearchDetectionHandler(store *sqlite.Store, clusters *FaceClusters) gin.HandlerFunc
func FacesearchDetectionImageHandler ¶
func FacesearchDetectionImageHandler() gin.HandlerFunc
func FacesearchHandler ¶
func FacesearchHandler(store *sqlite.Store, clusters *FaceClusters) gin.HandlerFunc
func FacesearchLandmarkImageHandler ¶
func FacesearchLandmarkImageHandler(store *sqlite.Store) gin.HandlerFunc
func GetPhotoHandler ¶
func GetPhotoHandler(store gildasai.PredictionStore) gin.HandlerFunc
func MaskHandler ¶
func MaskHandler(detector Detector, store map[string]MaskResult) gin.HandlerFunc
func MaskImageHandler ¶
func MaskImageHandler(store map[string]MaskResult) gin.HandlerFunc
func PhotosHandler ¶
func PhotosHandler(store gildasai.PredictionStore) gin.HandlerFunc
Types ¶
type FaceClusters ¶
func CalculateClusters ¶
func CalculateClusters(store *sqlite.Store) (*FaceClusters, error)
func (*FaceClusters) Best ¶
func (fc *FaceClusters) Best(n int) []*Matches
func (*FaceClusters) Find ¶
func (fc *FaceClusters) Find(detectionID string) *Matches
type MaskResult ¶
type MaskResult struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.