Instructions to use Riksarkivet/yolov9-lines-within-regions-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- HTRflow
How to use Riksarkivet/yolov9-lines-within-regions-1 with HTRflow:
# CLI usage # see docs: https://ai-riksarkivet.github.io/htrflow/latest/getting_started/quick_start.html htrflow pipeline <path/to/pipeline.yaml> <path/to/image>
# Python usage from htrflow.pipeline.pipeline import Pipeline from htrflow.pipeline.steps import Task from htrflow.models.framework.model import ModelClass pipeline = Pipeline( [ Task( ModelClass, {"model": "Riksarkivet/yolov9-lines-within-regions-1"}, {} ), ]) - ultralytics
How to use Riksarkivet/yolov9-lines-within-regions-1 with ultralytics:
# Couldn't find a valid YOLO version tag. # Replace XX with the correct version. from ultralytics import YOLOvXX model = YOLOvXX.from_pretrained("Riksarkivet/yolov9-lines-within-regions-1") source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
works fine on full pages
#1 opened about 1 month ago
by
grofte