Commit 784ccb1
#157 stage 3 (phase 2): expose resample + tf_match under ocr-prep
Both modules are already pure Rust (resample uses only `image`; tf_match
only std) but were gated behind `ml`. Re-gate them to ocr-prep and make
tf_match a public module so the browser TableFormer path (phase 3) can
crop table regions (page→1024px box-average, crop→448 bilinear) and run
docling's cell matcher — the same code the native pipeline uses. Native
`ml` still pulls them in (ocr-prep ⊂ ml); the ocr-prep-only slice now
compiles both. No behavior change.
Refs #157
Signed-off-by: artiz <artem.kustikov@gmail.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EY5KAiquN4YpVf2PXEQkVT1 parent 664622e commit 784ccb1
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
43 | | - | |
44 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
45 | 49 | | |
46 | 50 | | |
47 | 51 | | |
| |||
0 commit comments