(np_bgr, size, dtype=torch.float32)
| 14 | |
| 15 | |
| 16 | def image_preprocess(np_bgr, size, dtype=torch.float32): |
| 17 | img_np = cv2.resize(np_bgr, size) |
| 18 | return np_bgr_to_tensor(img_np, dtype) |
| 19 | |
| 20 | |
| 21 | def umeyama(src, dst, estimate_scale): |
no test coverage detected