Nudity detection with Go.
(Go porting from https://github.com/pa7/nude.js)
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)
}
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request