🦐 Shrimp Odd/Even Predictor

This model is part of the "Shrimp AI Project" for predicting whether the third decimal of a shrimp's weight (from an image) is even or odd.

  • Input: RGB image of a shrimp with ruler
  • Output: Binary classification (even / odd)

🛠️ How to use

import requests

API_URL = "https://api-inference.huggingface.co/models/laline2560/shrimp-ai-v25"
headers = {"Authorization": "Bearer hf_your_token_here"}

image_path = "test.jpg"
with open(image_path, "rb") as f:
    data = f.read()

response = requests.post(API_URL, headers=headers, data=data)
print(response.json())
Downloads last month
4
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support