Documentation ¶
Index ¶
- 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
- type Pixel
- type Region
- type Regions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsFileNude ¶
Types ¶
type Detector ¶
type Detector struct { SkinRegions Regions // contains filtered or unexported fields }
func NewDetector ¶
Click to show internal directories.
Click to hide internal directories.