Content pfp
Content
@
0 reply
0 recast
0 reaction

Cristian Strat pfp
Cristian Strat
@c
Here's a demo I made: Perform zkML image classification that can be verified onchain. No ZK circuit design needed—just Rust! Use cases: perceptual rarity scoring for NFTs, proving branding/watermark/style, NSWF filters, visual access gating, airdrops to dog PFPs only, etc.
3 replies
105 recasts
282 reactions

Cristian Strat pfp
Cristian Strat
@c
Here's how it works: A program written in plain Rust, targeting the SP1 zkVM (succinct.xyz), receives an input JPEG and outputs: - A class prediction based on a simple MLP - An IPFS content identifier (CID), which acts as both a serving URI and an image content commitment.
1 reply
0 recast
3 reactions

Cristian Strat pfp
Cristian Strat
@c
The Succinct prover generates a proof of the execution that's small/cheap to verify onchain by an EVM app. This proves that an IPFS image (e.g., an NFT's tokenURI at ipfs://...) has a specific class prediction according to our model.
2 replies
0 recast
2 reactions

Cristian Strat pfp
Cristian Strat
@c
Source code, implementation details, and limitations: https://github.com/cgst/zkml-inference-sp1 The toy model used here is inadequate for real-world applications, but hey, it's just a demo!
1 reply
0 recast
3 reactions

Malik  pfp
Malik
@mariku
What’s the latency in this
0 reply
0 recast
0 reaction