This repository has been archived on 2026-02-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
breakpilot-pwa/admin-v2/components/ocr/index.ts
BreakPilot Dev 8c77df494b feat(ocr): Add Ground Truth labeling UI for OCR comparison
Adds a step-through tool for creating 100% correct reference data (ground truth)
with position information. Users scan a page, review each vocabulary entry with
image crops, confirm or correct the OCR text, and save the result as JSON.

Backend: extract_entries_with_boxes() helper + 3 endpoints (extract-with-boxes,
ground-truth save/load). Frontend: GroundTruthPanel component with SVG overlay,
ImageCrop, keyboard shortcuts (Enter/Tab/arrows), and tab navigation in page.tsx.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 09:04:36 +01:00

16 lines
519 B
TypeScript

/**
* OCR Components
*
* Components for OCR grid detection and visualization.
*/
export { GridOverlay, GridStats, GridLegend, getCellBlockNumber } from './GridOverlay'
export type { GridCell, GridData, CellStatus } from './GridOverlay'
export { CellCorrectionDialog } from './CellCorrectionDialog'
export { BlockReviewPanel, BlockReviewSummary } from './BlockReviewPanel'
export type { BlockStatus, MethodResult, BlockReviewData } from './BlockReviewPanel'
export { GroundTruthPanel } from './GroundTruthPanel'