Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() func() TModel
Types ¶
type FaceLandmark68 ¶
func (*FaceLandmark68) ToLandmark5 ¶
func (f *FaceLandmark68) ToLandmark5() []gocv.Point2f
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (*Model) ModelVersion ¶
func (*Model) PostProcess ¶
func (*Model) PreProcess ¶
func (m *Model) PreProcess(i *Input) ([]*protobuf.InferTensorContents, error)
type Output ¶
type Output struct { FaceLandmark68 FaceLandmark68 FaceLandmark68Score float64 }
Click to show internal directories.
Click to hide internal directories.