Do Edits Break AI Image Detectors? A 24-File Test
By Sekora Studios · Published · Updated
Mostly, yes — with one measured exception. We ran one real photograph and one AI-generated image through eight common transformations each (untouched original, JPEG re-compression at quality 90, 75 and 30, WebP at q80, a 50% resize, a 50% center crop, and a screenshot-style frame) and scored all 24 files with the same two pinned models the <a href="/ai-image-detector" class="underline underline-offset-4">AI image detector</a> uses. Light-to-moderate edits moved verdicts within the inconclusive band rather than flipping them; heavy JPEG re-compression (quality 30) made every verdict inconclusive; and framing the AI image inside a screenshot-style border produced a confident <em>real-like</em> verdict — a false negative we lead with. No real photo was falsely flagged as AI in any of the 16 real-photo tests.
How the detector works (methodology)
The detector ensemble runs two ONNX models, both pinned to exact revisions and verified by SHA-256 checksum. Every score below was produced by those pinned models in a local test harness, and the browser detector was cross-checked against the harness on sampled files.
- Detectra v3 (ViT-S/16, 384px input) — artifact
model.onnx(43,684,258 bytes, SHA-2561414b9aa…962b), pinned to revisiond8709d3c…bf4c. Images are resized so the shortest edge is 440px, center-cropped to 384 × 384, and normalized with ImageNet mean and standard deviation. The raw logit is calibrated with a sigmoid-linear transform (slope 1.121656, intercept 0.506874) and evaluated in a five-region multi-crop mode whose five logits are averaged, never maxed. - Community forensics frontier model (384px input) — artifact
community_forensics_frontier_fp16.onnx(43,778,110 bytes, SHA-256d75791ba…375d), pinned to revision16db1352…b595. Same 440-shortest-edge resize and center 384 crop; calibration slope 1.0 with intercept −0.740336. The experiment used its center-crop variant. - Fusion and verdict bands — the two calibrated probabilities are averaged into one fused score. Below 0.35 reads real-like, above 0.65 reads ai-like, and the band between is inconclusive — matching the product's on-page calibration. Inconclusive is a result, not a failure: it means the signal was not strong enough to commit either way.
What we tested
Sources: two real photographs (real-photo-a, real-photo-b) and one AI-generated image (a Gemini-generated fixture). Using a single AI source is a real limitation of this test — cross-generator claims are not made here.
Transformations (8 per source): untouched original; JPEG re-compression at quality 90, 75, and 30; WebP conversion at q80; 50% center resize; 50% center crop; and screenshot-like framing — the image composited inside a mock application window.
The finding that embarrasses the tool, stated first
Screenshot-framing produced a false negative on the AI image. The Gemini-generated image, composited into a screenshot-style frame, scored 0.007 fused — a confident real-like verdict. The frame's interface chrome apparently dominates what the models see. The same transform on the real photos stayed inconclusive (0.459 and 0.426), but that asymmetry is small comfort: an AI image wearing a screenshot costume can be called real by this detector. The honest workaround is to crop to the inner image before drawing conclusions.
AI image: all 8 files
| Transform | Fused score | Verdict |
|---|---|---|
| Untouched original (PNG) | 0.508 | inconclusive |
| JPEG q90 | 0.507 | inconclusive |
| JPEG q75 | 0.514 | inconclusive |
| JPEG q30 | 0.511 | inconclusive |
| WebP q80 | 0.507 | inconclusive |
| Resize 50% | 0.494 | inconclusive |
| Crop center 50% | 0.504 | inconclusive |
| Screenshot-framed | 0.007 | real-like — false negative |
Two honest readings. First, the untouched AI image scored 0.508 — inconclusive, not ai-like. This detector will not confidently flag this particular AI image even unedited; its design favors the inconclusive band over confident wrong answers. Second, every standard edit kept it inside the inconclusive band (0.494–0.514), so the edits did not create a false positive either — there was never a confident AI verdict to preserve.
Real photos: all 16 files
| Source | Score range | Verdicts |
|---|---|---|
| real-photo-a | 0.419–0.511 | all 8 inconclusive |
| real-photo-b | 0.157–0.509 | 7 inconclusive, 1 real-like (50% crop) |
Zero false positives: no real photo, under any transformation, was flagged ai-like. The 50% center crop of real-photo-b slid to 0.157 (real-like) — the opposite direction of concern — which shows cropping shifts scores materially. That is exactly why the inconclusive band exists.
What heavy re-compression does
Every JPEG q30 file landed between 0.505 and 0.514 regardless of source. Heavy re-compression destroys the evidence both models read: the two models disagree — one leans real, the other leans AI — and the averaged score lands mid-band. The honest output for a destroyed signal is inconclusive, and that is what the ensemble returns. It also means a heavily re-compressed AI image will not be confidently flagged by this detector.
One per-model disclosure belongs in the record: on one heavily re-compressed real photo (real-photo-a at JPEG q30), the community-forensics center-crop model alone scored 0.998 — an ai-like read on a real photograph — and it also read real-photo-a at a 50% resize as ai-like (0.966). In both cases the Detectra counter-score kept the fused verdict inconclusive. The fusion masked a per-model false positive, which is precisely why heavy JPEG artifacts put files in the inconclusive band instead of earning a confident label.
What this means for detector users
- Verdicts travel badly. If a screenshot or claim cites a detector score, the specific file matters — a crop can move a verdict by a full band.
- The inconclusive band is doing real work. A detector that returns inconclusive under destructive edits is more honest than one returning confident verdicts on destroyed signals — but only if you accept inconclusive as an answer.
- Test the inner image, not the frame. Screenshot-framing is a demonstrated blind spot (0.007). Crop to the photo itself before testing.
- Cross-generator claims are unsupported here. One Gemini fixture means we learned about this image, not about AI images broadly. Head-to-head tests against other detectors' products remain pending.
How to check our claims yourself
Every number above comes from the two pinned models described in the methodology section, run on files produced by the transformation list. You can reproduce the spirit of the test with any detector, ours included: take one photo and one AI image you control, produce the same eight edits (recompress at JPEG quality 90, 75, 30; convert to WebP; halve the dimensions; crop the center half; composite into a screenshot-style frame), and compare the verdicts. A detector that keeps real photos out of the ai-like band under all eight edits, and admits inconclusive when compression destroys the signal, is behaving honestly. The raw per-model scores, the fused table, and SHA-256-verified model files are retained in our internal test records from the 2026-11-17 run.
One more honest note: the detector checks your image on our server when available, with browser processing as a fallback; server checks process your image in memory without saving it, and browser checks never transmit the image at all. This experiment was run offline in a local harness — no images left the test machine.