package org.raddatz.familienarchiv.ocr;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
public record OcrBlockResult(
        int pageNumber,
        double x,
        double y,
        double width,
        double height,
        List<List<Double>> polygon,
        String text,
        String annotationId   // null in normal mode; set in guided mode to link back to existing annotation
) {}
