drug type Computer Vision Model

by21104Task:
Object Detection
License:MIT256 views11 downloads

How to use the drug type Detection API

Try This Model

Drop an image here or click to upload

Or try a test image 

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")
Give your agent everything it needs

Or, Use Free Benq, Not and Tylenol Detection API

Powered by general detection model

Code
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

Detecting classes:
Or try a test image 

About drug type Model

Here are a few use cases for this project:

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

Cite This Project

LicenseMIT

If 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 },
}

Similar Projects

See More