fix: PaddleOCR CPU crash, content-aware-resize limits, barcode fixtures

- Add enable_mkldnn=False to PaddleOCR constructor to bypass PaddlePaddle
  3.3+ OneDNN/PIR crash on CPU-only systems
- Add 25MP and 75% max-reduction guard to seam carving with clear error
  messages instead of silent timeout/crash
- Replace barcode/QR AVIF test fixtures with actual scannable codes
  (old fixtures did not contain real barcodes)
This commit is contained in:
SnapOtter
2026-04-24 23:58:06 +08:00
parent 598f75ef63
commit e3259d163a
4 changed files with 19 additions and 1 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB