go-nudely

module
v0.0.0-...-3456aa7 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2015 License: Apache-2.0

README

Nudely

Nudity Detection

go get github.com/gotokatsuya/go-nudely/cmd/nudely

How to use it

// img is image.Image, err is error
img, err := nudely.DecodeImageByPath(path)

// Can read file
// img, err := nudely.DecodeImageByFile(file)

// detected is bool, rating is flaot32
detected, rating := nudely.Detect(img)

// If you do not want to know rating
// detected, _ := nudely.Detect(img)

Execution

nudely -path="test.jpg"
Result

When nudely could detect, print

Rating : 0.547356
I think this is nude.

Nudely think this is nude when rating is bigger than 0.5 value.

When nudely could not detect, print

Rating : 0.000013
No nude.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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