anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
A detector that tells real pictures from GAN-generated ones, using an ensemble of EfficientNet-B4 networks. It suits fact-checkers and researchers, with a Gradio page and a script.
Deepfake Detect is a kit in the Research category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download artspark/deepfake-detect --repo-type space --local-dir deepfake-detect cd deepfake-detect
Deepfake Detect is a Gradio app on Hugging Face Spaces that tells real pictures from ones made by a GAN. It combines several convolutional networks built on the EfficientNet-B4 backbone, each trained in a different way to hold up under compression and resizing. The repository also holds a script, an ROC notebook and the license file.
It suits people who need to check whether an image looks synthetic, and researchers who study image forensics.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Journalism | Fact-checkers | Check whether a suspicious picture may be generated | Run a picture through the detector |
| Trust and safety | Moderation teams | Screen uploaded images for synthetic ones | Score an image from the command line |
| Academia | Forensics researchers | Study the detector and its ROC curves | Open roc_curves.ipynb |
Anyone who needs a guaranteed verdict can skip it, because a detector returns a score and the source gives no accuracy promise.
| Use case | Who | What they get back |
|---|---|---|
| Check one image online | Anyone curious | A score for whether the picture looks real or synthetic |
| Score images from a script | Researchers | The model score for a single image path |
| Review performance | Researchers | ROC curves for each dataset from the notebook |
Using the Space online needs nothing. A local copy of the Space needs these first.
pip install -U huggingface_hub hf download artspark/deepfake-detect --repo-type space --local-dir deepfake-detect cd deepfake-detect pip install gradio pip install -r requirements.txt python app.py
For the detector script on its own, create the conda environment, unzip the downloaded weights and run the script on one image.
conda env create -f environment.yml conda activate gan-image-detection unzip weigths.zip python gan_vs_real_detector.py --img_path $PATH_TO_TEST_IMAGE
Open the Space page on Hugging Face and give it an image. From a terminal, run the detector script with the path of one image.
| Tool | What it does |
|---|---|
| app.py | Runs the Gradio page where you give an image |
| gan_vs_real_detector.py | Gives the model score for one image path |
| roc_curves.ipynb | Computes the ROC curve for each dataset |
You run the detector script on one photo and pass its path. The script gives back the model score for that picture, which tells you how synthetic it looks.
If you are new, try the Space page with a photo you know is real. A GAN is a kind of program that generates pictures, and this tool scores how likely a picture is one of those.
If you know the field, the detector is an ensemble of EfficientNet-B4 networks trained with different recipes, following a published paper on training under JPEG compression. That aims to keep it working when images are compressed or resized.
A detector that tells real pictures from GAN-generated ones, using an ensemble of EfficientNet-B4 networks. It suits fact-checkers and researchers, with a Gradio page and a script.
Made by artspark on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.
What it is: Deepfake Detect is a Gradio app on Hugging Face Spaces that tells real pictures from ones made by a GAN. It combines several convolutional networks built on the EfficientNet-B4 backbone, each trained in a different way to hold up under compression and resizing. The repository also holds a script, an ROC notebook and the license file.
Who it suits: It suits people who need to check whether an image looks synthetic, and researchers who study image forensics.
Industry | Who uses it | How they use it | Example
Journalism | Fact-checkers | Check whether a suspicious picture may be generated | Run a picture through the detector
Trust and safety | Moderation teams | Screen uploaded images for synthetic ones | Score an image from the command line
Academia | Forensics researchers | Study the detector and its ROC curves | Open roc_curves.ipynb
Anyone who needs a guaranteed verdict can skip it, because a detector returns a score and the source gives no accuracy promise.
Where to use it:
Use case | Who | What they get back
Check one image online | Anyone curious | A score for whether the picture looks real or synthetic
Score images from a script | Researchers | The model score for a single image path
Review performance | Researchers | ROC curves for each dataset from the notebook
How to set it up: Using the Space online needs nothing. A local copy of the Space needs these first.
pip install -U huggingface_hub
hf download artspark/deepfake-detect --repo-type space --local-dir deepfake-detect
cd deepfake-detect
pip install gradio
pip install -r requirements.txt
python app.py
For the detector script on its own, create the conda environment, unzip the downloaded weights and run the script on one image.
conda env create -f environment.yml
conda activate gan-image-detection
unzip weigths.zip
python gan_vs_real_detector.py --img_path $PATH_TO_TEST_IMAGE
How to use it: Open the Space page on Hugging Face and give it an image. From a terminal, run the detector script with the path of one image.
Tool | What it does
app.py | Runs the Gradio page where you give an image
gan_vs_real_detector.py | Gives the model score for one image path
roc_curves.ipynb | Computes the ROC curve for each dataset
Example: You run the detector script on one photo and pass its path. The script gives back the model score for that picture, which tells you how synthetic it looks.
For newcomers and experts: If you are new, try the Space page with a photo you know is real. A GAN is a kind of program that generates pictures, and this tool scores how likely a picture is one of those.
If you know the field, the detector is an ensemble of EfficientNet-B4 networks trained with different recipes, following a published paper on training under JPEG compression. That aims to keep it working when images are compressed or resized.
You give the app an image
Several EfficientNet-B4 networks score it
The scores combine into one result
Good to know:
Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.
README.md 5 KB
Listed Hugging Face Spaces in the same category that share the most tags with this one.
| Product | Likes | Built with | License | Last change |
|---|---|---|---|---|
| Deepfake Detect This page | 0 | gradio | gpl-3.0 | |
| Open VLM LeaderboardShares gradio | 1,034 | gradio | apache-2.0 | |
| Face SwapShares gradio | 808 | gradio | cc-by-nc-sa-4.0 | |
| TTS Spaces ArenaShares gradio | 493 | gradio | zlib | |
| Depth Anything 3Shares gradio | 490 | gradio | cc-by-nc-4.0 | |
| BLIPShares gradio | 431 | gradio | bsd-3-clause |
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
AbdomenAtlas · Kit
Detects and outlines tumors in 9 organs on CT scans, trained with the R-Super method that learns from radiology reports. A research model for medical imaging g…
dBenf · Kit
Answers typed questions about satellite image patches from all 12 Sentinel-2 bands, returning a probability for each option without writing text. A Qwen3.5-0.8…
zimmerk4 · Kit
Plays the full game Getting Over It from the bottom to the end with a small trained policy network that learned inside a JAX physics simulator. For reinforceme…