跳到正文
Hacker News 热门(buzzing.cc 中文翻译)
46AI 编辑部评分,满分 100

开源相机 Proof of Capture:用隐写术在像素中嵌入签名,成本不到 100 美元

2026-09-11 17:33· 1小时前· merybenavente
AI 导读

两位开发者在 Recurse Center 用 Raspberry Pi Zero、ATECC608 加密芯片和 3D 打印外壳做出开源相机 Proof of Capture,在拍摄瞬间把签名后的感知哈希以 DWT + DCT 频域水印嵌入像素,可扛住 WhatsApp 级压缩并检测内容篡改。

Apple Reference Image, but open source and using steganography

Apple introduced yesterday Apple Reference Image: a way to cryptographically prove a photo was actually taken by a camera, instead of AI generated. During my time at the Recurse Center this summer, Alex Hornstein and I (two camera lovers) built a camera with proof of capture.
Hand holding the display PCB over the 3D-printed camera enclosure with a Raspberry Pi Zero inside
The camera: a Raspberry Pi Zero, a display board, an ATECC608 crypto chip, a shutter button, and a 3D-printed enclosure.

Prove what’s real at capture time

Back in 2019 I was deploying ML fact-checking tools, and even in the Will-Smith-eating-spaghetti era it was obvious that

generators outrun detectors

. Detection is a losing race: every improvement in the detector is training signal for the next generator. Our approach flips the problem: instead of trying to detect what's fake after the fact,

prove what's real at the moment of capture

.

The complexity of this is not at the technical level but in how to handle

photo edits

(should a cropped photo keep its signature?) and

metadata

: the moment you share an image, the EXIF gets stripped for privacy reasons, and any signature stored there is gone.

Steganography and perceptual hashes

For our camera we used

steganography

: an invisible watermark hidden in the image pixels themselves, containing a signed

perceptual hash

(a hash of what the photo

looks like

, not its exact bytes). Because nothing lives in the metadata, the signature

survives compression and resizing

. Our first version hid an exact SHA-256 hash in the last bit of each pixel, and any JPEG recompression destroyed it; the current one signs a

pHash

and spreads it across the whole image as a frequency-domain watermark (

DWT + DCT

), which survives WhatsApp-grade compression and still detects content edits.

Diagram: a photo’s pixel color channels feed a crypto chip, which produces a signature string embedded into the least significant bits of the image
Simplified illustration: LSB replacement is shown for clarity, the actual embedding spreads the signature across a DWT + DCT watermark.

The ATECC608 chip

The signing is handled by an

ATECC608

cryptographic chip (self-soldered!) that holds a public key for verifying and a private one for signing. Once minted,

the private key never leaves the chip

: not even the owner can read it. And if you tamper with it, the chip locks itself.

ATECC608 breakout board with a padlock silkscreen around the chipATECC608 breakout held by a helping-hands clip at the soldering stationHand holding the soldered ATECC608 breakout board
The ATECC608 secure element.

What Apple is doing

Apple does something similar: the sensor

signs every pixel at capture time

. But instead of embedding the signature into the image, Private Cloud Compute develops it into a "digital negative" that lives next to your photo. Their verification flow is neither public nor clear yet.

Three iPhone screens showing Apple’s Reference Image flow: the photo, the authenticated reference image, and the comparison view
Apple Reference Image: compare the authenticated capture against the photo to see if it was altered. [source]

Something I don't like is that they're not using the existing open standard,

C2PA

, already used by Nikon, Sony, Leica and Adobe. And even though they're opening APIs so platforms can verify natively,

the root of trust stays inside Apple's Private Cloud Compute

. Apple... (sigh)

To be fair...

Neither Proof of Capture, Apple Reference Image nor C2PA fully solve the problem. For example, a screen attack still works: photograph a screen displaying an AI image and you get a signed photo of a fake. But it's always nice seeing big actors interested in addressing this problem. The project is open source. You can build your own for under $100. Closing with a printed photo from our Proof of Capture camera. Visit the Recurse Center to see this piece of art. If you look closely enough you may see the hidden signature.
Printed photo from the Proof of Capture camera taped to a workstation at the Recurse Center
"Trust me, this photo is 100% authentic. Signed."

来源:Hacker News 热门(buzzing.cc 中文翻译)· merybenavente.me