Skip to content

A user uploads an image. An AI model (via API) classifies the image. You store the classification result on the blockchain with a smart contract, and optionally mint it as an NFT

Notifications You must be signed in to change notification settings

bixie-dev/AI-Based-Image-Classifier-NFT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# AI-Based Image Classifier NFT

## Project Structure
- `frontend/index.html`: Basic HTML/JS UI to upload an image and display result.
- `backend/server.js`: Node.js server to call Hugging Face API and interact with Ethereum.
- `contracts/ClassifierStore.sol`: Solidity smart contract to store image hashes and labels.

## Setup Instructions
1. Deploy `ClassifierStore.sol` using Hardhat or Remix.
2. Replace contract address, private key, Hugging Face token in `server.js`.
3. Run server: `node server.js`
4. Open `index.html` in browser and test.

About

A user uploads an image. An AI model (via API) classifies the image. You store the classification result on the blockchain with a smart contract, and optionally mint it as an NFT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published