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 IsImageNudeFromReader(r io.Reader) (bool, error)
- func IsNude(imageFilePath string) (bool, error)
- func IsURLNude(link string) (bool, error)
- type Detector
- type Pixel
- type Region
- type Regions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsFileNude ¶
func IsImageNudeFromReader ¶
accepts a file, a url response etc... returns true if nudity is detected
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.