feat(ocr): full OCR pipeline with polygon annotations, training, and guided mode #232
@@ -31,7 +31,7 @@ public interface TranscriptionBlockRepository extends JpaRepository<Transcriptio
|
||||
SELECT b FROM TranscriptionBlock b
|
||||
JOIN DocumentAnnotation a ON a.id = b.annotationId
|
||||
JOIN Document d ON d.id = b.documentId
|
||||
WHERE b.source = 'MANUAL' AND (b.text IS NULL OR b.text = '')
|
||||
WHERE b.source = 'MANUAL'
|
||||
AND 'KURRENT_SEGMENTATION' MEMBER OF d.trainingLabels
|
||||
""")
|
||||
List<TranscriptionBlock> findSegmentationBlocks();
|
||||
|
||||
Reference in New Issue
Block a user