CoolFace
Apppublic

Raihan1234/poster-shield-ensemble

sourceHugging Faceapache-2.0updated 3d agoView on Hugging Face
0likes
App README

๐Ÿ›ก๏ธ Poster Shield Ensemble

Three complementary open-source vision models judge every image together, fully in your browser (onnxruntime-web, WebGPU with WASM fallback) โ€” nothing is uploaded to any server:

#ModelDomainRole
1WD ViT v3 (SmilingWolf/wd-vit-tagger-v3)anime/illustrationDanbooru tag predictions + graded NSFW policy
2NudeNet v3 320n (bundled here, models/320n.onnx)photographspart-level detection (exposed genitalia / breasts / buttocks)
3NSFW ViT (Falconsai/nsfw_image_detection, int8 ONNX port)photographswhole-image NSFW probability

How to use

Open the Space โ†’ drop / paste / browse a poster โ†’ all three models run locally and you get per-model raw scores plus the merged verdict:

  • โ€”SAFE โ€” clean across all models
  • โ€”REVIEW โ€” single weak signal, flagged for a human
  • โ€”BLOCK โ€” strong signal, WD corroborated by a photo model (or WD authoritative on drawn content)

Merge policy (not naive voting)

Naive majority voting was measured to miss true positives (two photo-domain models outvote the anime expert on drawn adult content). Instead:

  • โ€”WD is authoritative for drawn content (best measured recall on anime).
  • โ€”Photo models corroborate: two photo models agreeing โ†’ block; one photo model alone strong โ†’ review queue.
  • โ€”Borderline / single weak signals โ†’ review (human queue), never silent block.

Raw per-model scores are always shown so the merge can be re-tuned without re-scanning.

The same weights, policy and merge logic power the server-side full-catalog scan of the poster library.