prnshu-p/Blue-Eye

Python

22

1 commits

updated Oct 8, 2026

See the code

See what people are saying

SourceMessageScoreDate

An open-source NSFW detector that challenges AWS and Google Cloud Vision at fractions of their cost!! (r/coolgithubprojects)

GitHub:- [https://github.com/prnshu-p/Blue-Eye](https://github.com/prnshu-p/Blue-Eye)

0

Oct 9, 2026

An open-source NSFW image classifier that outperforms AWS and Google Vision on NSFW benchmark. (r/LLMDevs)

Free open-weights model, 88.9% on a 3k-photo benchmark. Works on photos and anime. Model: [https://huggingface.co/pp1618/Blue-Eye](https://huggingface.co/pp1618/Blue-Eye) Code: [https://github.com/prnshu-p/Blue-Eye](https://github.com/prnshu-p/Blue-Eye)

6

Oct 9, 2026

New open-source NSFW classifier "Blue-Eye" beats AWS Rekognition and Google Cloud Vision (r/computervision)

Free open-weights model, 88.9% on a 3k-photo benchmark. Works on photos and anime. Model: [https://huggingface.co/pp1618/Blue-Eye](https://huggingface.co/pp1618/Blue-Eye) Code: [https://github.com/prnshu-p/Blue-Eye](https://github.com/prnshu-p/Blue-Eye)

3

Oct 8, 2026

README

Blue-Eye logo

Blue-Eye

Open-weights image classifier for content moderation: safe, suggestive or explicit.
Model on Hugging Face

Blue-Eye predicts whether an image is safe, suggestive or explicit, with a probability for each class. It is a DINOv3 ViT-L/16 fine-tuned end to end at 512x512 on about 2.6 million images, and it handles both real photographs and anime/illustration.

On a benchmark of 3,000 real photographs, Blue-Eye reaches 88.9% accuracy, ahead of AWS Rekognition (87.3%), Gemini 3.1 Pro (86.4%), Google Cloud Vision (83.5%) and every open-source NSFW detector it was compared with. All systems were evaluated on the same images.

Overall accuracy on 3,000 real photographs

The weights (1.2 GB) are hosted on Hugging Face; this repository contains the inference code. Full evaluation details are in the model card.

Quick start

git clone https://github.com/prnshu-p/Blue-Eye.git
cd Blue-Eye
pip install -r requirements.txt huggingface_hub

The weights are gated: open the model page, click "Agree and download" once, then log in with hf auth login.

from huggingface_hub import snapshot_download
from inference import classify

path = snapshot_download("pp1618/Blue-Eye")

for result in classify(["photo.jpg", "drawing.png"], model=path):
    print(result["label"], result["probabilities"])

From the command line:

python inference.py photo.jpg folder_of_images/ --model pp1618/Blue-Eye --device cuda

Add --precision bf16 on GPUs with bfloat16 support for faster inference.

Classes

ClassCovers
safeno sexualised content, including swimwear, fitness, medical images and non-sexual art
suggestivesexualised but not explicit, such as posed lingerie shots
explicitexposed genitalia, sexual acts or full nudity

Intended use

Blue-Eye is built for moderating sexual content: filtering feeds and search results, blurring images, age-gating adult content, prioritising images for human review, and curating datasets. It covers sexual content only and is not intended for age estimation, child-safety detection, or monitoring individual people.

License

Built on Meta's DINOv3 and released under the DINOv3 License (see LICENSE). Commercial use is permitted under its terms.

Citation

@misc{patel2026blueeye,
  title  = {Blue-Eye: a content-safety image classifier},
  author = {Patel, Pranshu},
  year   = {2026},
  url    = {https://huggingface.co/pp1618/Blue-Eye}
}

prnshu-p/Blue-Eye

Python

22

1 commits

updated Oct 8, 2026

See the code

See what people are saying

SourceMessageScoreDate

An open-source NSFW detector that challenges AWS and Google Cloud Vision at fractions of their cost!! (r/coolgithubprojects)

GitHub:- [https://github.com/prnshu-p/Blue-Eye](https://github.com/prnshu-p/Blue-Eye)

0

Oct 9, 2026

An open-source NSFW image classifier that outperforms AWS and Google Vision on NSFW benchmark. (r/LLMDevs)

Free open-weights model, 88.9% on a 3k-photo benchmark. Works on photos and anime. Model: [https://huggingface.co/pp1618/Blue-Eye](https://huggingface.co/pp1618/Blue-Eye) Code: [https://github.com/prnshu-p/Blue-Eye](https://github.com/prnshu-p/Blue-Eye)

6

Oct 9, 2026

New open-source NSFW classifier "Blue-Eye" beats AWS Rekognition and Google Cloud Vision (r/computervision)

Free open-weights model, 88.9% on a 3k-photo benchmark. Works on photos and anime. Model: [https://huggingface.co/pp1618/Blue-Eye](https://huggingface.co/pp1618/Blue-Eye) Code: [https://github.com/prnshu-p/Blue-Eye](https://github.com/prnshu-p/Blue-Eye)

3

Oct 8, 2026

README

Blue-Eye logo

Blue-Eye

Open-weights image classifier for content moderation: safe, suggestive or explicit.
Model on Hugging Face

Blue-Eye predicts whether an image is safe, suggestive or explicit, with a probability for each class. It is a DINOv3 ViT-L/16 fine-tuned end to end at 512x512 on about 2.6 million images, and it handles both real photographs and anime/illustration.

On a benchmark of 3,000 real photographs, Blue-Eye reaches 88.9% accuracy, ahead of AWS Rekognition (87.3%), Gemini 3.1 Pro (86.4%), Google Cloud Vision (83.5%) and every open-source NSFW detector it was compared with. All systems were evaluated on the same images.

Overall accuracy on 3,000 real photographs

The weights (1.2 GB) are hosted on Hugging Face; this repository contains the inference code. Full evaluation details are in the model card.

Quick start

git clone https://github.com/prnshu-p/Blue-Eye.git
cd Blue-Eye
pip install -r requirements.txt huggingface_hub

The weights are gated: open the model page, click "Agree and download" once, then log in with hf auth login.

from huggingface_hub import snapshot_download
from inference import classify

path = snapshot_download("pp1618/Blue-Eye")

for result in classify(["photo.jpg", "drawing.png"], model=path):
    print(result["label"], result["probabilities"])

From the command line:

python inference.py photo.jpg folder_of_images/ --model pp1618/Blue-Eye --device cuda

Add --precision bf16 on GPUs with bfloat16 support for faster inference.

Classes

ClassCovers
safeno sexualised content, including swimwear, fitness, medical images and non-sexual art
suggestivesexualised but not explicit, such as posed lingerie shots
explicitexposed genitalia, sexual acts or full nudity

Intended use

Blue-Eye is built for moderating sexual content: filtering feeds and search results, blurring images, age-gating adult content, prioritising images for human review, and curating datasets. It covers sexual content only and is not intended for age estimation, child-safety detection, or monitoring individual people.

License

Built on Meta's DINOv3 and released under the DINOv3 License (see LICENSE). Commercial use is permitted under its terms.

Citation

@misc{patel2026blueeye,
  title  = {Blue-Eye: a content-safety image classifier},
  author = {Patel, Pranshu},
  year   = {2026},
  url    = {https://huggingface.co/pp1618/Blue-Eye}
}