Skip to content

slop shall not pass: entrypoint synthetic image classifier. related studies - arxiv:2502.15176 2409.07913 2505.11278 DOI:10.17605/OSF.IO/BNPC4 10.59720/24-270

Notifications You must be signed in to change notification settings

darkshapes/negate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



negate

entrypoint synthetic image classifier

negate pytest

About

A command-line tool and Python library for processing and analyzing images, extracting Laplacian residuals to measure fractal and texture complexity, and other comparative analysis methods to discriminate synthetic images from real ones.

Note

Demonstration of the provided test results and visualizations on our synthetic [darkshapes/a_slice dataset (https://huggingface.co/darkshapes/a_slice) and private works of human origin provided by consent from the generous artists at https://purelyhuman.xyz.

Results Overview

Bar and grid graph comparing variance of the synthetic and real images Graph comparing before and after pca transform operation of dataset Graph comparing confusion matrix of the synthetic and real images

Install

Important

Requires uv

git clone https://github.com/darkshapes/negate.git
cd negate
uv sync

macos/linux

source .venv/bin/activate

windows

Set-ExecutionPolicy Bypass -Scope Process -Force; .venv\Scripts\Activate.ps1

CLI:

Add human-origin assets to assets/ folder

usage: negate [-h] {train,check} ...

Negate CLI

positional arguments:
  {train,check}
    train        Train model on the dataset in the provided path or `assets/`. The resulting model will be saved to disk.
    check        Check whether an image at the provided path is synthetic or original.

options:
  -h, --help     show this help message and exit

About

slop shall not pass: entrypoint synthetic image classifier. related studies - arxiv:2502.15176 2409.07913 2505.11278 DOI:10.17605/OSF.IO/BNPC4 10.59720/24-270

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages