(img, img_path)
| 207 | cv2.imwrite(img_path, img) |
| 208 | |
| 209 | def imwrite(img, img_path): |
| 210 | img = np.squeeze(img) |
| 211 | if img.ndim == 3: |
| 212 | img = img[:, :, [2, 1, 0]] |
| 213 | cv2.imwrite(img_path, img) |
| 214 | |
| 215 | |
| 216 |
nothing calls this directly
no outgoing calls
no test coverage detected