Skip to content

Feature request: Update paddle OCR models to V4 #2

@grinco

Description

@grinco

Hi, looks like paddle OCR version 4 brings in increased detection accuracy, and it would be great if you upgraded the current models to use it.

I tried using it as a drop in replacement for en_PP-OCRv3_det_infer_rk3588_unquantized.rknn and en_PP-OCRv3_rec_infer_rk3588_unquantized.rknn but failed:

12:50:56:ALPR_adapter.py: E RKNN: [10:50:56.027] 6, 1
12:50:56:ALPR_adapter.py: E RKNN: [10:50:56.028] Invalid RKNN model version 6
12:50:56:ALPR_adapter.py: E RKNN: [10:50:56.028] rknn_init, load model failed!
12:50:56:ALPR_adapter.py: [ERROR] fastdeploy/runtime/backends/rknpu2/rknpu2_backend.cc(123)::Init	Load model failed
12:50:56:ALPR_adapter.py: [ERROR] fastdeploy/runtime/runtime.cc(328)::CreateRKNPU2Backend	Failed to initialize RKNPU2 backend.```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions