Every image carries a receipt. hikaku reads it on your laptop.

The useful thing to know about AI image detection is that it is two different problems wearing the same coat.
One is provenance: does this file carry a record of how it was made. The other is inference: does this file look generated, regardless of what it claims. A tool that only does the first is trivially defeated by a screenshot. A tool that only does the second has no way to be sure.
hikaku-io/hikaku-extension does both, in a browser, on your machine. It has 406 stars, is written in JavaScript, and the name is Japanese for comparison, which is the right framing: it weighs what an image claims to be against the evidence it carries.
What it reads before it looks
The provenance side is a checklist of every place a generator might have left a mark.
| Signal | Formats | Notes |
|---|---|---|
| C2PA Content Credentials | JPEG, PNG, WebP, MP4/MOV, AVIF/HEIC | Parsed locally, signatures not yet verified |
| IPTC / XMP / EXIF | Images | Includes trainedAlgorithmicMedia, "Made with AI" tags, generator names |
| Embedded generation parameters | PNG/WebP from A1111, ComfyUI, InvokeAI, NovelAI | The full settings block some tools write by default |
| Platform labels | YouTube, TikTok, Meta | Listed as planned, not shipped |
That third row is the one practitioners recognise. If a PNG came out of Automatic1111 with metadata intact, the prompt and sampler are literally inside the file. Most social platforms strip it on upload, which is exactly why the tool also has to guess.
The second row is where the honest caveat lives. Reading a C2PA manifest tells you what the file says about itself. Verifying it tells you whether that claim survived intact. hikaku currently reads and does not verify, and the README marks that in the feature table with a clipboard icon rather than implying otherwise. For a forensics tool, that distinction is the difference between evidence and testimony.
What it does when the metadata is gone
Detection runs locally with a SwinV2 model through ONNX Runtime, on WebGPU in fp16 or falling back to WASM in uint8. Nothing is uploaded, which is the only way a tool like this gets installed by anyone who handles confidential material.
Video gets a specific treatment that is worth understanding. For every visible video, the extension samples three frames and reports the median score.
Median rather than max is a deliberate choice with a real trade-off. A single generated frame in a real video will not flip the verdict, which is good for false positives and bad for catching a two-second insert. Animated GIFs and WebP get the same logic across the first, middle and last frame.
There is also a filter that runs before inference and skips likely screenshots, UI and flat graphics. That is the least glamorous and most useful feature in the list. A detection model trained on photographs will produce nonsense scores on a screenshot of a spreadsheet, and a tool that flags half the interface of a web app is a tool you uninstall in a day.
What it looks like in use
Flags are visual and quiet: a border in solid, double or dashed style, or a corner dot, with preset and custom colours. Hovering gives a card, clicking opens a details panel, and there is a Copy JSON action for people who want to take the numbers somewhere else.
Right-click gives "Inspect for AI generation" on any image or video, which turns the extension into an on-demand check rather than a permanent overlay.
For a second opinion there is an optional 23 MB Community Forensics model, requested from the image details rather than swapped in automatically. On-demand is the right design. A second model that always runs doubles the cost and halves the battery life for a decision you only need when the first answer matters.
The honesty about limits is more thorough than most. Face-swap and deepfake detection is listed as under evaluation, with a face finder and per-face model, not as a shipped feature. C2PA signature verification is planned. Platform label reading is planned. The store listing exists on Firefox; Chrome and Edge installs currently come from a release zip.
What a score can and cannot mean
A probability from a detector is a fact about the detector's opinion, and that opinion depends on what it was trained on.
Three things follow, and they are worth internalising before you install anything.
First, scores drift across generators. A model trained mostly on one family of image models will be confident and wrong on a newer family it has rarely seen, which is why the extension ships a second, separate model as an on-demand opinion rather than a blended average. Two models disagreeing is information. Two models averaged is a number.
Second, compression destroys evidence. An image resized three times, screenshotted, and re-encoded as a JPEG has lost the pixel-level artefacts a detector looks for. The provenance signals are gone too. What remains is a picture that may look obviously generated to you and score as uncertain to the model, and the model is not necessarily wrong to hedge.
Third, the absence of a flag is not a certificate of authenticity. Nothing in this design claims that. The border appears when the evidence points one way. No border means no evidence was found, which is a different sentence.
The screenshots problem
There is a specific case that shows why local detection is worth having even with weak accuracy: the screenshot.
Most of the images people argue about online are screenshots. A screenshot of a generated image strips every provenance signal, resizes the pixels, and adds interface chrome around the edges. A provenance-only tool sees nothing. A detector trained on photographs sees a flat graphic and behaves unpredictably.
That is exactly what the flat-graphic filter is for: it declines to score what it cannot read rather than guessing. Declining is a feature. A tool that says "I do not know" on a screenshot of a chat window is more useful than one that assigns a confident number to a UI element.

Install
Firefox desktop 140+ / Android 142+: install from Firefox Add-ons,
or load the Firefox package from the latest GitHub release.
Chrome / Edge: download hikaku-x.y.z-chrome.zip from the latest release,
open the extensions page, enable developer mode, load the unpacked folder.
The Android support is more interesting than it sounds. Firefox on Android accepts extensions, which means the check works inside a mobile browser, where most image sharing actually happens.
Why this is harder than it looks
Three constraints make browser-side image forensics a genuinely difficult product.
The first is performance. A detector that adds 200 milliseconds to every image on a timeline makes browsing feel broken. Sampling, filtering and lazy inference are not optimisations here, they are the product.
The second is that the web strips evidence. Most platforms re-encode on upload, which removes EXIF and usually the C2PA manifest, and sometimes resizes. By the time you see a viral image, the receipt has been through a shredder. Detection models exist precisely because provenance does not survive distribution.
The third is that the answer is a probability, and people want a verdict. A border around an image reads as an accusation. Getting the presentation right, hedged but legible, is most of the design work.
The argument for local
There is a version of this product that runs server-side and gets better models, more memory and no browser limits. It would also mean every image you look at is uploaded to a third party, which for a journalist, a fraud investigator or anyone reviewing a confidential deck is a non-starter.
Local inference costs accuracy and buys trust. The extension's whole pitch depends on that trade being visible, which is why the README says everything runs on your device in the first line rather than the last.
For anyone who writes about images for a living, that is the useful part. Platforms now attach their own labels, and those labels do not travel with the file: a screenshot of a labelled post has no label. A local tool that reads both the file and the picture is the closest thing to a second opinion you can carry around, as long as you remember that a read credential is not a verified one.
Turn ideas into images with ChatPicture
60 free credits every day. Generate, edit, and download — no prompt engineering degree required.
Related articles
Thirteen eggs stump a whole lineup of models: AI images can draw, but they cannot count
On the evening of November 18, "Doubao stumped by thirteen eggs" reached Weibo's trending list. Of nine image models, only four got the number right, and research already says prompt tweaks cannot fix counting. The problem is a diffusion model with no counter.
A trading skill pack that refuses to tell you what to buy
claude-trading-skills ships four workflows for reviewing a portfolio, screening a setup and journaling a closed trade. It never issues a buy signal, and the README says so three times.
Tencent's Hy3D 3.6 generates the 3D draft, not the finished asset
Hy3D 3.6 pushes generated models to two million faces and eight-kay PBR textures, then hands them to a retopology artist. Tencent had hundreds of its own 3D artists blind-test it first.
ChatPicture
Start generating
Generate production-ready AI images for e-commerce, design, and film.