Versions in this module Expand all Collapse all v0 v0.1.1 Dec 20, 2022 Changes in this version + func DecodeImage(filePath string) (img image.Image, err error) + func IsFileNude(imageFilePath string) (bool, error) + func IsImageNude(img image.Image) (bool, error) + func IsNude(imageFilePath string) (bool, error) + func IsUrlNude(imagePath string) (bool, error) + type Detector struct + SkinRegions Regions + func NewDetector(img image.Image) *Detector + func (d *Detector) DrawImageAndRegions(regions Regions) (*image.RGBA, error) + func (d *Detector) FillSkinPixels(regions Regions) (*image.RGBA, error) + func (d *Detector) Parse() (result bool, err error) + func (d *Detector) String() string + type Pixel struct + V float64 + X int + Y int + type Region []*Pixel + type Regions []Region + func (r Regions) Len() int + func (r Regions) Less(i, j int) bool + func (r Regions) Swap(i, j int)