Small change

This commit is contained in:
2025-12-18 13:03:12 +02:00
parent 268ed5175e
commit a8e5db3135

View File

@@ -44,7 +44,7 @@ def apply_ultralytics_16bit_tiff_patches(*, force: bool = False) -> None:
_original_imread = ul_patches.imread
def tifffile_imread(
filename: str, flags: int = cv2.IMREAD_COLOR, pseudo_rgb: bool = False
filename: str, flags: int = cv2.IMREAD_COLOR, pseudo_rgb: bool = True
) -> Optional[np.ndarray]:
"""Replacement for [`ultralytics.utils.patches.imread()`](venv/lib/python3.12/site-packages/ultralytics/utils/patches.py:20).