Files
Oleksandr_Sanin 2901c7fcb3 fix(image-redactor): remove double bbox formatting in eval_dicom_instance (#2079)
`verify_dicom_instance` already returns formatted ocr bboxes and
analyzer bboxes (the result of calling `get_bboxes_from_ocr_results`
and `get_bboxes_from_analyzer_results` internally). However,
`eval_dicom_instance` was calling both formatters a second time on those
already-formatted lists, causing a TypeError when list-of-dict results
were indexed with a string key instead of an integer.

Also fix the positional argument mismatch in the `verify_dicom_instance`
call: `use_metadata` was passed as the 4th positional argument but the
4th parameter of `verify_dicom_instance` is `show_text_annotation`.
Changed to a keyword argument to avoid ambiguity.

Closes #1251

Signed-off-by: Oleksandr Sanin <alexaaander.sanin@gmail.com>
Co-authored-by: Sharon Hart <sharonh.dev@gmail.com>
2026-06-21 13:04:57 +03:00
..
2024-05-12 15:05:41 +03:00
2024-05-12 13:12:55 +03:00
2024-12-29 13:16:29 +02:00