# pa7/nude.js

Nudity detection with JavaScript and HTMLCanvas

Repository: https://github.com/pa7/nude.js
Canonical: https://ross.abutalabs.com/products/nudejs
Homepage: http://www.patrick-wied.at/static/nudejs/
Language: JavaScript
License Family: other
Topics: javascript, image-processing, image-classification, nudity-detection, html5-canvas
Last push: 2024-04-06T17:27:23+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5764, "days_push": 879, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2355, forks 228 (observed 2026-08-28T04:06:40.583117+00:00)

## What it is
nude.js is a client-side JavaScript nudity detection library that analyzes image data via HTMLCanvas using algorithms based on research papers. It runs entirely in the browser, letting developers decide whether to display images flagged as containing nudity.

## Use cases
- detect nude images in the browser before displaying them
- build a client-side content filter for a web proxy
- scan user-uploaded images for nudity on a social platform
- filter inappropriate images for child-safe browsing
- check images or video frames for nudity without a server

## When to choose
- you need nudity detection that runs entirely client-side in JavaScript
- you want a lightweight, dependency-free scanner using HTMLCanvas
- you need to support legacy browsers including IE9

## When to avoid
- you need high accuracy modern detection - use an ML-based NSFW classifier instead
- you need server-side or Node.js scanning
- you need an actively maintained project with a license

## Facets
- artifact type: library
- maturity: abandoned
- function: image-processing, computer-vision
- domain: image-processing, web-development, browser-extensions
- platform: browser
- tags: nudity-detection, html5-canvas, client-side, content-filtering, image-classification, javascript

## Member repositories
- pa7/nude.js (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:40.583117+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:36:27.233184+00:00, confidence not recorded.
  - readme: https://github.com/pa7/nude.js (fetched 2026-08-28T04:06:40.583117+00:00, sha 4f64a26fc8f6)
  - homepage: http://www.patrick-wied.at/static/nudejs/ (fetched 2026-08-29T10:17:22.730293+00:00, sha a2c38cb2585e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
