mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-06-03 21:53:39 +08: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",
|
||
|
}
|