facemasker

package module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2022 License: MIT Imports: 7 Imported by: 0

README

go-facemasker

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CascadeFile []byte
)

Functions

func MaskBytes

func MaskBytes(imageBytes []byte, options *Options) ([]byte, int, error)

func MaskImage

func MaskImage(img image.Image, options *Options) (image.Image, int, error)

Types

type Options

type Options struct {
	MinQ        float64
	MinSize     int
	MaxSize     int
	ShiftFactor float64
	ScaleFactor float64
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL