How to use grays-ai/table-transformer-structure-recognition with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="grays-ai/table-transformer-structure-recognition")
# Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("grays-ai/table-transformer-structure-recognition") model = AutoModelForObjectDetection.from_pretrained("grays-ai/table-transformer-structure-recognition")