(path: str | Path)
| 34 | |
| 35 | |
| 36 | def read_image_bgr(path: str | Path) -> np.ndarray: |
| 37 | path = Path(path) |
| 38 | img = cv2.imread(str(path)) |
| 39 | if img is None: |
| 40 | raise FileNotFoundError(path) |
| 41 | return img |
nothing calls this directly
no outgoing calls
no test coverage detected