(leafs, ref)
| 179 | normalize_tree_leafs(child, ref) |
| 180 | |
| 181 | def normalize_leafs(leafs, ref): |
| 182 | for leaf in leafs: |
| 183 | leaf['node']['norm_bbox'] = normalize_bbox(leaf['node']['bounding_box'], ref) |
| 184 | |
| 185 | def leaf_cost(gleaf, pleaf): |
| 186 | is_both_image = (gleaf['node']['tag'] == 'image' and pleaf['node']['tag'] == 'g' and pleaf['ref_group_name'] in ['icon-item', 'image']) |
nothing calls this directly
no test coverage detected