AI image detector v5
AI image detector
2 min readupdated
This model is a research preview image classification kit designed to locally detect AI-generated content directly in the browser. It uses a custom CLIP feature extractor (a powerful model for matching text and images) and a calibrated linear ensemble. The tool outputs score signals for evaluating images. The model relies on CLIP ViT-L/14 layers and combines logits from previous versions v3 and v4. This development is useful for researchers and developers who need to locally verify images without sending data to a server.
Key features
- Works locally in the user's browser without sending pictures to hosting providers
- Uses CLIP ViT-L/14 features from layers 10, 12, 14, 16, and 18 with three 224 px crops
- Ensembles calibrated logits of versions v3 and v4 with weights of 0.25 and 0.75
- Relies on the calibrated weight file
head_v5.jsonand theclip_l14_b18_int8w_b32.onnxmodel
What you can do
- Integrate the model into a web application for local verification of uploaded pictures in the browser
- Set up an image classification pipeline using the ONNX runtime
- Conduct research analysis of generation artifacts on the client side
Example
Use the model files clip_l14_b18_int8w_b32.onnx and head_v5.json in your ONNX-compatible runtime for feature extraction and final score calculation.
Read more
DetailsBackbone uses OpenAI CLIP via OpenCLIP (MIT)
Trained on OpenFake (CC BY-NC 4.0), MLLM-Generated-Image-Detection-Dataset, DOCCI, and other datasets
Non-commercial use (research preview)
Default ONNX model weight: 259,428,712 bytes










Comments