tiff warning fix
Browse files- experiments/__init__.py +5 -0
experiments/__init__.py
CHANGED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
|
| 3 |
+
# The bright-field TIFFs carry ImageJ/Fiji metadata tags (50838/50839) that OpenCV does not know and
|
| 4 |
+
# reports as warnings on every read. They are harmless; silence them before cv2 is imported anywhere.
|
| 5 |
+
os.environ.setdefault("OPENCV_LOG_LEVEL", "ERROR")
|