drug type Computer Vision Model
How to use the drug type 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="drug-type/1")Or, Use Free Benq, Not and Tylenol 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": "benq, not, tylenol"
},
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 drug type Model
Here are a few use cases for this project:
-
Pharmaceutical Search Assistance: The model can be used as a search assistance tool within online pharmacy stores or pharmaceutical databases, allowing customers to upload an image of the medication they are looking for and the system would identify if it's Tylenol, Benq or neither.
-
Medication Identification: The model can be utilized in medical facilities to help health workers identify medication via a mobile application or a desktop software where one only needs to scan the boxes of medication.
-
Telemedicine and E-Health: The model can be implemented in telemedicine software to enable patients to scan their medication during a consultation, helping the doctor to quickly identify what types of drugs they are currently taking.
-
Drug Recognition Training: It can be used in a training program for pharmacists, nurses or EMTs, improving their ability to recognize different types of common medications.
-
Smart Home Health Assistant: The model can be integrated into smart home assistants or devices such as Google Home, Alexa to assist elderly or visually impaired individuals in ensuring they are taking the correct medication at home.
Tell the agent what you want to build.
Cite This Project
LicenseMITIf you use this dataset in a research paper, please cite it using the following BibTeX:
@misc{ drug-type_dataset,
title = { drug type Dataset },
type = { Open Source Dataset },
author = { 21104 },
howpublished = { \url{ https://universe.roboflow.com/21104-7efcf/drug-type } },
url = { https://universe.roboflow.com/21104-7efcf/drug-type },
journal = { Roboflow Universe },
publisher = { Roboflow },
year = { 2023 },
month = { jun },
note = { visited on 2026-07-29 },
}










