Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DetectionResult ¶
DetectionResult contains the coordinates of the detected faces and the base64 converted image.
type FaceDetector ¶
type FaceDetector struct {
// contains filtered or unexported fields
}
FaceDetector struct contains Pigo face detector general settings.
func NewFaceDetector ¶
func NewFaceDetector(cf string, minSize, maxSize int, shf, scf, iou float64) *FaceDetector
NewFaceDetector initialises the constructor function.
func (*FaceDetector) DetectFaces ¶
func (fd *FaceDetector) DetectFaces(source string) ([]pigo.Detection, error)
DetectFaces run the detection algorithm over the provided source image.
Click to show internal directories.
Click to hide internal directories.