Valentines Chocolates Object Detection Model by Chocolates

Roboflow

2 min read Original article ↗

How to use the Valentines Chocolates Detection API

Try This Model

Drop an image here or click to upload

Checkpoint: valentine-s-chocolates/3

Feb 7, 2022

Code Snippets

from inference_sdk import InferenceHTTPClient, InferenceConfiguration

CLIENT = InferenceHTTPClient(
    api_url="https://serverless.roboflow.com",
    api_key="API_KEY"
).configure(InferenceConfiguration(
    api_key_transport="header"  # header-based auth (inference v1.5.0+)
))

result = CLIENT.infer("YOUR_IMAGE.jpg", model_id="valentines-chocolates/4")

Give your agent everything it needs

Or, Use Free Sees-dark-almond-nougat, Sees-dark-almonds and Sees-dark-bordeaux Detection API

Powered by general detection model

pip install inference-sdk

Run on custom image

Drop an image here or click to upload

Overview

This is an attempt to make a computer vision model that can identify chocolates in a box of chocolates.

I trained this model on images of a See’s 1lb Classic Red Heart - Assorted Chocolates box. There are 22 different classes, one for each type of chocolate in this box.

This dataset contains 87 original images, and 1,697 annotations.

Learn More

Read more about this project on the Roboflow blog.

Roboflow Agent

Tell the agent what you want to build.

Cite This Project

LicenseCC BY 4.0

If you use this dataset in a research paper, please cite it using the following BibTeX:

@misc{ valentines-chocolates_dataset,
  title = { Valentines Chocolates Dataset },
  type = { Open Source Dataset },
  author = { Chocolates },
  howpublished = { \url{ https://universe.roboflow.com/chocolates/valentines-chocolates } },
  url = { https://universe.roboflow.com/chocolates/valentines-chocolates },
  journal = { Roboflow Universe },
  publisher = { Roboflow },
  year = { 2026 },
  month = { aug },
  note = { visited on 2026-10-08 },
}