Document the 640x384 detector size
Browse files
README.md
CHANGED
|
@@ -32,6 +32,7 @@ an SL2619.
|
|
| 32 |
| File | Purpose |
|
| 33 |
|---|---|
|
| 34 |
| `ppocr_det_800x608.vmfb` | Detection (DBNet), static 800×608 bf16 input |
|
|
|
|
| 35 |
| `rec_buckets/rec_w320.vmfb` | Recognition, 48×320 lines |
|
| 36 |
| `rec_buckets/rec_w640.vmfb` | Recognition, 48×640 lines |
|
| 37 |
| `rec_buckets/rec_w1280.vmfb` | Recognition, 48×1280 lines |
|
|
@@ -41,6 +42,14 @@ an SL2619.
|
|
| 41 |
| `ppocr_rec_dynamic.onnx` | fp32 recognition, CPU reference for accuracy checks |
|
| 42 |
| `samples/sample.jpg` | Sample café menu card, 10 text lines |
|
| 43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
### Why four recognition models
|
| 45 |
|
| 46 |
Recognition input width is static per vmfb. Each detected line is routed to the
|
|
|
|
| 32 |
| File | Purpose |
|
| 33 |
|---|---|
|
| 34 |
| `ppocr_det_800x608.vmfb` | Detection (DBNet), static 800×608 bf16 input |
|
| 35 |
+
| `ppocr_det_640x384.vmfb` | Detection (DBNet), static 640×384 bf16 input, for wide/16:9 sources |
|
| 36 |
| `rec_buckets/rec_w320.vmfb` | Recognition, 48×320 lines |
|
| 37 |
| `rec_buckets/rec_w640.vmfb` | Recognition, 48×640 lines |
|
| 38 |
| `rec_buckets/rec_w1280.vmfb` | Recognition, 48×1280 lines |
|
|
|
|
| 42 |
| `ppocr_rec_dynamic.onnx` | fp32 recognition, CPU reference for accuracy checks |
|
| 43 |
| `samples/sample.jpg` | Sample café menu card, 10 text lines |
|
| 44 |
|
| 45 |
+
### Two detector sizes
|
| 46 |
+
|
| 47 |
+
DBNet's stride-32 backbone requires input dims that are multiples of 32.
|
| 48 |
+
800×608 is the default, matched to portrait documents; 640×384 serves wide/16:9
|
| 49 |
+
sources — it is 640×360 rounded *up* to the next multiple of 32, so letterboxed
|
| 50 |
+
16:9 content is padded rather than cropped. Select it in the demo with
|
| 51 |
+
`--det-hw 640 384`.
|
| 52 |
+
|
| 53 |
### Why four recognition models
|
| 54 |
|
| 55 |
Recognition input width is static per vmfb. Each detected line is routed to the
|