Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultPnetWeights, DefaultRnetWeights, DefaultOnetWeights [][]float32
Functions ¶
Types ¶
type Detector ¶
type Detector struct {
// contains filtered or unexported fields
}
func NewDetector ¶
func NewDetector(pnetWeights, rnetWeights, onetWeights [][]float32, options *DetectorOptions) *Detector
type DetectorOptions ¶
type FaceData ¶
type FaceData struct { Box image.Rectangle Confidence float32 LeftEye, RightEye, Nose, MouthLeft, MouthRight image.Point }
func DetectFaces ¶
type MaxPooling2D ¶
type MaxPooling2D struct {
// contains filtered or unexported fields
}
func NewMaxPooling2D ¶
func NewMaxPooling2D(poolWidth, poolHeight, strideX, strideY int) *MaxPooling2D
func (*MaxPooling2D) Apply ¶
func (mp *MaxPooling2D) Apply(input Data2D) (result Data2D)
Click to show internal directories.
Click to hide internal directories.