Skip to content

ValueError: "EasyOcrOptions" object has no field "coverage_threshold" #172

Answered by dolfim-ibm
AdityaMannu1709 asked this question in Q&A
Discussion options

You must be logged in to vote

Do you mean explaining the parameter?

  • This parameters controls the minimum area ratio (with respect to the page) for a picture to be processed with OCR.
  • In short: if (image_area / page_area) > pipeline_options.ocr_options.coverage_threshold: DO OCR ON IT

The title of your post "object has no field coverage_threshold" looks a bit suspicious? Are you having problem with this parameter?

  • Since it was recently added, I would suggest making sure you are using the latest docling version.
  • The actual parameter is called pipeline_options.ocr_options.bitmap_area_threshold.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@AdityaMannu1709
Comment options

@sanjana-7890
Comment options

@dolfim-ibm
Comment options

@AdityaMannu1709
Comment options

@dolfim-ibm
Comment options

Answer selected by PeterStaar-IBM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants