How to use from the
Use from the
Transformers library
# Load model directly
from transformers import AutoImageProcessor, SegformerForRegressionMask

processor = AutoImageProcessor.from_pretrained("vikp/line_detector")
model = SegformerForRegressionMask.from_pretrained("vikp/line_detector")
Quick Links

This model detects text lines in documents. Learn more here.

Downloads last month
77
Safetensors
Model size
30M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support