Nudity detection with Go.

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
Similar Resources

Ah shhgit! Find secrets in your code. Secrets detection for your GitHub, GitLab and Bitbucket repositories: www.shhgit.com

Ah shhgit! Find secrets in your code. Secrets detection for your GitHub, GitLab and Bitbucket repositories: www.shhgit.com

shhgit helps secure forward-thinking development, operations, and security teams by finding secrets across their code before it leads to a security br

Dec 23, 2022

Real-time HTTP Intrusion Detection

Real-time HTTP Intrusion Detection

teler Real-time HTTP Intrusion Detection Contribute ยท What's new ยท Report Bug ยท Request Feature teler is an real-time intrusion detection and threat a

Jan 5, 2023

EarlyBird is a sensitive data detection tool capable of scanning source code repositories for clear text password violations, PII, outdated cryptography methods, key files and more.

EarlyBird is a sensitive data detection tool capable of scanning source code repositories for clear text password violations, PII, outdated cryptography methods, key files and more.

EarlyBird is a sensitive data detection tool capable of scanning source code repositories for clear text password violations, PII, outdated cryptograp

Dec 10, 2022

Cross platform locale detection for Golang

go-locale go-locale is a Golang lib for cross platform locale detection. OS Support Support all OS that Golang supported, except android: aix: IBM AIX

Aug 20, 2022

A high performance go implementation of Wappalyzer Technology Detection Library

wappalyzergo A high performance port of the Wappalyzer Technology Detection Library to Go. Inspired by https://github.com/rverton/webanalyze. Features

Jan 8, 2023

Go implementation of the yolo v3 object detection system

Go implementation of the yolo v3 object detection system

Go YOLO V3 This repository provides a plug and play implementation of the Yolo V3 object detection system in Go, leveraging gocv. Prerequisites Since

Dec 14, 2022

๐Ÿ‘„ The most accurate natural language detection library in the Go ecosystem, suitable for long and short text alike

๐Ÿ‘„ The most accurate natural language detection library in the Go ecosystem, suitable for long and short text alike

๐Ÿ‘„ The most accurate natural language detection library in the Go ecosystem, suitable for long and short text alike

Dec 25, 2022

๐Ÿ‘„ The most accurate natural language detection library in the Go ecosystem, suitable for long and short text alike

๐Ÿ‘„ The most accurate natural language detection library in the Go ecosystem, suitable for long and short text alike

Its task is simple: It tells you which language some provided textual data is written in. This is very useful as a preprocessing step for linguistic data in natural language processing applications such as text classification and spell checking. Other use cases, for instance, might include routing e-mails to the right geographically located customer service department, based on the e-mails' languages.

Dec 29, 2022

A discord server guard which uses emojis and bot detection (WIP)

server-guard A discord server guard which uses emojis and bot detection (WIP) Config options SusLevel: how many checks the account has to fail before

Dec 4, 2022

Dangling DNS entries detection tool.

dnscheck Introduction dnscheck is a tool that reads a list of domains from a file and checks them for the following issues: CNAMEs pointing to an uncl

Oct 23, 2021

A Go library for terminal background color detection

go-termbg A Go library for terminal background color detection. The detected color is provided by RGB or theme ( dark or light ). Based on https://git

Jan 4, 2022

donLoader is a shellcode loader creation tool that uses donut to convert executable payloads into shellcode to evade detection on disk.

donLoader WARNING: This is WIP, barely anything was tested properly. Use at your own risk. Description donLoader is a shellcode loader creation tool t

Sep 20, 2022

Lightweight and dead-simple CI detection.

is-ci Lightweight and dead-simple CI detection for golang. This mod is based on the @npmcli/ci-detect package. Install go get -u github.com/wesleimp/i

Dec 17, 2021

Simple reverse shell to avoid Windows defender and kaspersky detection

Simple reverse shell to avoid Windows defender and kaspersky detection

Windows-ReverseShell Simple reverse shell to avoid Windows defender, kaspersky d

Oct 19, 2022

Log4j detector and reporting server for scalable detection of vulnerable running processes.

Log4j Detector A client and reporting server to identify systems vulnerable to Log4j at scale. This work is based on Stripe's Remediation Tools, but w

Apr 8, 2022

Proof of concept/experimental detection of Discord Nitro phishing links via image analyzation

discord-scam-detection Experimental detection, and proof-of-concept, of Discord Nitro phishing/scam links via analyzing images. This repository is not

Nov 22, 2022

Volana - Shell command obfuscation to avoid detection systems

Volana - Shell command obfuscation to avoid detection systems

volana (moon in malagasy) { Use it ; ๐ŸŒš(hide from); ๐ŸŒž(detected by) } Shell comm

Nov 9, 2022

Experimental detection, and proof-of-concept, of Discord Nitro phishing/scam links via analyzing images.

Experimental detection, and proof-of-concept, of Discord Nitro phishing/scam links via analyzing images.

Nov 22, 2022

Memberlist - Golang package for gossip based membership and failure detection

memberlist memberlist ๆ˜ฏไธ€ไธช Go ๅบ“๏ผŒๅฎƒไฝฟ็”จๅŸบไบŽ gossip ็š„ๅ่ฎฎๆฅ็ฎก็†้›†็พคๆˆๅ‘˜ๅ’Œๆˆๅ‘˜ๆ•…้šœๆฃ€ๆต‹ใ€‚ ่ฟ™็งๅบ“็š„็”จไพ‹ๅฝฑๅ“ๆทฑ่ฟœ๏ผšๆ‰€ๆœ‰ๅˆ†ๅธƒๅผ็ณป

Jan 26, 2022
Comments
  • Detects nudity only when a majority of the image is nude

    Detects nudity only when a majority of the image is nude

    I made some tests with other images and surprisingly, the test for nudity returns false even if there is a lot of skin toned-pixels. I then tried with the images in your test folder and indeed it works, but it seems that the test only returns true when it sees a majority of skin-toned-pixels on the image. Is there a way to improve the accuracy of the algorithm ?

  • add in-memory processing of images from url

    add in-memory processing of images from url

    thanks for creating this library, i realize the library's detection of nudity is not high after running through some samples and reading the issues, but fwiw i had modified the code already before looking at the results/comments so i'm providing this code for you. basically this allows you to take images from urls, save to memory and detect nudity without storing to disk.

    i plan on leveraging go-cv to create a nudity detection algorithm, will let you know when i've completed if interested.

Related tags
Fast face detection, pupil/eyes localization and facial landmark points detection library in pure Go.
Fast face detection, pupil/eyes localization and facial landmark points detection library in pure Go.

Pigo is a pure Go face detection, pupil/eyes localization and facial landmark points detection library based on Pixel Intensity Comparison-based Objec

Dec 24, 2022
Elkeid is a Cloud-Native Host-Based Intrusion Detection solution project to provide next-generation Threat Detection and Behavior Audition with modern architecture.
Elkeid is a Cloud-Native Host-Based Intrusion Detection solution project to provide next-generation Threat Detection and Behavior Audition with modern architecture.

Elkeid is a Cloud-Native Host-Based Intrusion Detection solution project to provide next-generation Threat Detection and Behavior Audition with modern architecture.

Dec 30, 2022
Natural language detection package in pure Go

getlang getlang provides fast natural language detection in Go. Features Offline -- no internet connection required Supports 29 languages Provides ISO

Dec 26, 2022
Natural language detection library for Go
Natural language detection library for Go

Whatlanggo Natural language detection for Go. Features Supports 84 languages 100% written in Go No external dependencies Fast Recognizes not only a la

Dec 28, 2022
Dec 28, 2022
Zero-width character detection and removal for Go

go-zero-width Zero-width character detection and removal for Go. Inspired by this Medium article. Installation go get github.com/trubitsyn/go-zero-wid

Jan 8, 2023
a tool for code clone detection

dupl dupl is a tool written in Go for finding code clones. So far it can find clones only in the Go source files. The method uses suffix tree for seri

Dec 12, 2022
A tool for IDN homograph attacks and detection.

Ditto is a small tool that accepts a domain name as input and generates all its variants for an homograph attack as output, checking which ones are av

Dec 26, 2022
Object detection on multiple datasets with an automatically learned unified label space.
Object detection on multiple datasets with an automatically learned unified label space.

An object detector trained on multiple large-scale datasets with a unified label space; Winning solution of ECCV 2020 Robust Vision Challenges.

Dec 30, 2022
Cross platform locale detection for Golang

go-locale go-locale is a Golang lib for cross platform locale detection. OS Support Support all OS that Golang supported, except android: aix: IBM AIX

Aug 20, 2022