PaddleOCR/tests/models/object_detection_common.py
Lin Manhui de0ecd466f
[Feat] Add PP-DocTranslate and update docs (#15890)
* Add PP-DocTranslate and update docs

* Fix docs

* Add English doc

* Fix ut
2025-06-28 23:13:32 +08:00

8 lines
164 B
Python

def check_result_item_keys(result_item):
assert result_item.keys() == {
"input_path",
"page_index",
"input_img",
"boxes",
}