Skip to content

[bug] Strategy cache hash should not depend solely on the file itself #96

@choinek

Description

@choinek

Changing the strategy in request obviously doesn't change anything when the cache is used (even if OCR was performed using a different strategy).

  • Analyze which fields could critically interfere with the results (I guess it's file_hash + strategy_name + language).
  • Combine them (it's not necessary to hash them after proper validation; it could be language:strategy_name:file_hash).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions