projects
/
python_utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
322c0be
)
Fix a bug in sanity check image.
author
Scott Gasch
<
[email protected]
>
Tue, 15 Feb 2022 18:24:51 +0000
(10:24 -0800)
committer
Scott Gasch
<
[email protected]
>
Tue, 15 Feb 2022 18:24:51 +0000
(10:24 -0800)
camera_utils.py
patch
|
blob
|
history
diff --git
a/camera_utils.py
b/camera_utils.py
index 99ccdb32a5e949e7edd1b6ce89e866b6b6c63119..9e17c4263f844b921f8b35e5152e3d49be310a2b 100644
(file)
--- a/
camera_utils.py
+++ b/
camera_utils.py
@@
-32,8
+32,8
@@
class RawJpgHsv:
class SanityCheckImageMetadata:
"""Is a Blue Iris image bad (big grey borders around it) or infrared?"""
- is_bad_image: bool = False
is_infrared_image: bool = False
+ is_bad_image: bool = False
def sanity_check_image(hsv: np.ndarray) -> SanityCheckImageMetadata: