feat: OCR pipeline with NDJSON streaming and real-time progress (#226, #227, #231) #229

Merged
marcel merged 74 commits from feat/issue-226-227-ocr-pipeline-polygon into main 2026-04-13 12:39:04 +02:00
Showing only changes of commit 931fbc28e5 - Show all commits

View File

@@ -4,6 +4,8 @@ import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.persistence.*;
import lombok.*;
import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.JdbcTypeCode;
import org.hibernate.type.SqlTypes;
import java.time.LocalDateTime;
import java.util.List;
@@ -53,8 +55,8 @@ public class DocumentAnnotation {
@Column(name = "file_hash", length = 64)
private String fileHash;
@JdbcTypeCode(SqlTypes.JSON)
@Column(columnDefinition = "jsonb")
@Convert(converter = PolygonConverter.class)
private List<List<Double>> polygon;
@Column(name = "created_by")