Motorcyle-Helmet Computer Vision Model
How to use the Motorcyle-Helmet 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="motorcyle-helmet/10")Or, Use Free Bike_helmet, Full_helmet and Half_helmet 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": "bike_helmet, full_helmet, half_helmet, hard_helmet, no_helmet"
},
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 Motorcyle-Helmet Model
Here are a few use cases for this project:
-
Safety Compliance Monitoring: In workplaces or sports events where helmets are required, this model could be used to ensure compliance by monitoring CCTV or drone footage and identifying individuals not wearing the correct helmet.
-
Traffic Law Enforcement: Traffic police could use it to automatically identify and penalize motorcyclists not using helmets (or not using the correct type) and thereby increase road safety.
-
Sport Event Management: The model could be used to categorize different types of helmets worn in sports events like cycling, motorbiking, or go-karting for safety compliance and gear differentiation purposes.
-
Retail Analytics: Sports gear retailers and manufacturers could use it to analyze customer preferences for different types of helmets in store or at events, to inform their product development and marketing strategies.
-
Accident Investigation and Research: This model could be used in studying footage of accidents involving motorcyclists and bicyclists to assess and document the impact and performance of different helmet types during accidents.
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{ motorcyle-helmet_dataset,
title = { Motorcyle-Helmet Dataset },
type = { Open Source Dataset },
author = { DIS Projects },
howpublished = { \url{ https://universe.roboflow.com/dis-projects-tddp6/motorcyle-helmet } },
url = { https://universe.roboflow.com/dis-projects-tddp6/motorcyle-helmet },
journal = { Roboflow Universe },
publisher = { Roboflow },
year = { 2023 },
month = { jun },
note = { visited on 2026-07-29 },
}










