mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-07-28 19:29:29 +00:00
10 lines
209 B
Python
10 lines
209 B
Python
def check_result_item_keys(result_item):
|
|
assert result_item.keys() == {
|
|
"input_path",
|
|
"page_index",
|
|
"input_img",
|
|
"class_ids",
|
|
"scores",
|
|
"label_names",
|
|
}
|