Instructions to use ajmaclin/prescription-yolo-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use ajmaclin/prescription-yolo-detector with ultralytics:
from ultralytics import YOLOvv8 model = YOLOvv8.from_pretrained("ajmaclin/prescription-yolo-detector") source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Prescription Field Detector โ YOLOv8s
Stage 1 ng YOLO+Donut prescription OCR pipeline.
Classes
drug_namedosagefrequencydurationdoctor_nameprc_numberpatient_namedateclinic_addressrx_block
Usage
from ultralytics import YOLO
from huggingface_hub import hf_hub_download
path = hf_hub_download("ajmaclin/prescription-yolo-detector", "model.pt")
model = YOLO(path)
results = model.predict("prescription.jpg", conf=0.3)
- Downloads last month
- 8