Nudity detection with Go.
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example fix example/basic/main.go May 9, 2014
.gitignore update gitignore May 12, 2014
LICENSE.txt first commit May 2, 2014
README.md fix typo May 2, 2014
nude.go Added direct handler. Jul 9, 2014
region.go use math.Constants for min/max values Jun 3, 2014
util.go refactor: remove redundant code. Thanks @dchapes! Apr 10, 2015

README.md

go-nude

Nudity detection with Go.

(Go porting from https://github.com/pa7/nude.js)

Example

package main

import (
	"fmt"
	"log"
    "github.com/koyachi/go-nude"
)

func main() {
	imagePath := "images/test2.jpg"

	isNude, err := nude.IsNude(imagePath)
	if err != nil {
		log.Fatal(err)
	}
	fmt.Printf("isNude = %v\n", isNude)
}

Other implementations

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request