DDWS Computer Vision Model
How to use the DDWS 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="ddws-icv9n/2")Or, Use Free Drinking, 0 and 1 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": "Drinking, 0, 1, 2, 3"
},
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 DDWS Model
Here are a few use cases for this project:
-
Road Safety Applications: The DDWS model can be used in vehicles' software systems to detect unsafe driving behaviors such as driving while drinking, texting, or talking on the phone. It can then initiate safety measures like alerting the driver or activating an auto-brake system.
-
Surveillance System: The model could be used in conjunction with traffic cameras to automatically detect drivers engaging in reckless activities like drinking while driving or texting. This data can then be used by law enforcement to issue warnings or fines and improve road safety.
-
Transportation Services: Taxi and rideshare services could utilize this model to ensure the safety and professionalism of their drivers. If a driver is detected engaging in any of these unsafe practices, the information could be used for training or disciplinary measures.
-
Traffic Accident Analysis: The DDWS model can be useful for insurance companies and traffic accident investigators to determine the causes of an accident. If the driver was engaged in any distracting activity, the model would serve as an effective tool in understanding culpability and liability.
-
Autonomous Vehicle Development: The model might be employed in the development of autonomous vehicles for understanding human driver behavior and situations which commonly lead to accidents, thus refining autonomous driving algorithms for safer navigation.
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{ ddws-icv9n_dataset,
title = { DDWS Dataset },
type = { Open Source Dataset },
author = { velabs },
howpublished = { \url{ https://universe.roboflow.com/velabs/ddws-icv9n } },
url = { https://universe.roboflow.com/velabs/ddws-icv9n },
journal = { Roboflow Universe },
publisher = { Roboflow },
year = { 2023 },
month = { may },
note = { visited on 2026-07-29 },
}










