# PeterWang512/FALdetector

Code for the paper: Detecting Photoshopped Faces by Scripting Photoshop

Repository: https://github.com/PeterWang512/FALdetector
Canonical: https://ross.abutalabs.com/products/faldetector
Homepage: https://peterwang512.github.io/FALdetector/
Language: Python
License: Apache-2.0
License Family: permissive
Last push: 2023-03-17T22:29:17+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2638, "days_push": 1265, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1600, forks 230 (observed 2026-08-28T04:05:09.550191+00:00)

## What it is
FALdetector is the official PyTorch implementation of the ICCV 2019 paper 'Detecting Photoshopped Faces by Scripting Photoshop'. It provides a global classifier that detects facial warping manipulations and a local detector that localizes edited regions, with pretrained model weights and an evaluation dataset.

## Use cases
- detect if a face photo has been warped or edited in photoshop
- localize which parts of a face image were manipulated
- detect liquify-style facial warping in images
- research image forensics and face manipulation detection
- evaluate face forgery detection models on a benchmark dataset
- reproduce results from the FAL paper

## When to choose
- you need to detect Face-aware Liquify style facial warping in photos
- you are doing research on image forensics or manipulation detection
- you want pretrained models from a peer-reviewed ICCV paper with an evaluation dataset

## When to avoid
- you need general-purpose image forgery or deepfake detection beyond facial warping
- you need to detect airbrushing, splicing, or other retouching the model was not trained on
- you need a production-ready service with support and guarantees rather than research code

## Facets
- artifact type: library
- maturity: maintenance
- function: computer-vision, image-processing, machine-learning, deep-learning
- domain: computer-vision, image-processing, deep-learning, artificial-intelligence
- platform: python
- tags: face-manipulation-detection, photoshop-detection, image-forensics, face-warping, research-code, pytorch, iccv-2019, pretrained-models, gpu

## Member repositories
- PeterWang512/FALdetector (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:09.550191+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:53:11.310739+00:00, confidence not recorded.
  - readme: https://github.com/PeterWang512/FALdetector (fetched 2026-08-28T04:05:09.550191+00:00, sha 6fafe754db31)
  - homepage: https://peterwang512.github.io/FALdetector/ (fetched 2026-08-29T11:24:24.673882+00:00, sha f4575cd3d9ec)
- Data as of 2026-08-30T08:39:29.467469+00:00.
