Drink Detection Computer Vision Model
How to use the Drink Detection Detection API
Try This Model
Drop an image here or click to upload
Code Snippets
from inference_sdk import InferenceHTTPClient
CLIENT = InferenceHTTPClient(
api_url="https://serverless.roboflow.com",
api_key="API_KEY"
)
result = CLIENT.infer("YOUR_IMAGE.jpg", model_id="drink-detection/3")Or, Use Free 7up_320ml, 7up_390ml and 7up_chat_xo_320ml Detection API
Powered by general detection model
pip install inference-sdk# 1. Import the library
from inference_sdk import InferenceHTTPClient
# 2. Connect to your workspace
client = InferenceHTTPClient(
api_url="https://serverless.roboflow.com",
api_key="API_KEY"
)
# 3. Run your workflow on an image
result = client.run_workflow(
workspace_name="<YOUR_WORKSPACE>",
workflow_id="<YOUR_WORKFLOW_ID>",
images={
"image": "YOUR_IMAGE.jpg" # Path to your image file
},
parameters={
"classes": "7up_320ml, 7up_390ml, 7up_chat_xo_320ml, aquafina_soda, cocacola_390ml"
},
use_cache=True # cache workflow definition for 15 minutes
)
# 4. Get your results
print(result)Run on custom image
Drop an image here or click to upload
About Drink Detection Model
This project is for detecting soft drinks, especially in a product shelf with high object density.
The dataset (70 images with annotations) is copied from: https://universe.roboflow.com/hqsoftinternship-hvwh8/soft-drink-bottle-detection
30 classes in the original dataset: 7up_320ml, 7up_390ml, 7up_chat_xo_320ml, aquafina_soda, lipton_450ml, mirinda_cam_320ml, mirinda_cam_390ml, mirinda_sa_si_320ml, mirinda_sa_si_390ml, mirinda_soda_kem_320ml, mirinda_soda_kem_390ml, mirinda_viet_quat_320ml, mirinda_viet_quat_390ml, pepsi_320ml, pepsi_390ml, pepsi_zero_320ml, pepsi_zero_390ml, rockstar_250ml, revive_original, revive_salt_lemon, sting_320ml, sting_330ml, sting_vang_320ml, sting_vang_330ml, tea_olong_320ml, tea_olong_450ml, tea_olong_chanh_450ml, tea_olong_khong_duong_450ml, twister_450ml, twister_cam_c320ml
3 additional classes by the author: cocacola_390ml, cocacola_600ml, cocacola_zero_600ml
Tell the agent what you want to build.
Cite This Project
LicenseCC BY 4.0If you use this dataset in a research paper, please cite it using the following BibTeX:
@misc{ drink-detection_dataset,
title = { Drink Detection Dataset },
type = { Open Source Dataset },
author = { product recognition },
howpublished = { \url{ https://universe.roboflow.com/product-recognition-h6t0g/drink-detection } },
url = { https://universe.roboflow.com/product-recognition-h6t0g/drink-detection },
journal = { Roboflow Universe },
publisher = { Roboflow },
year = { 2023 },
month = { aug },
note = { visited on 2026-07-29 },
}










