projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Optionally surface exceptions that happen under executors by reading
[python_utils.git]
/
camera_utils.py
diff --git
a/camera_utils.py
b/camera_utils.py
index 799efd35d19fa39a7879c6c0851f9e697704927b..d2c50ddf314d96402f885c10c6c79081569ca2c1 100644
(file)
--- a/
camera_utils.py
+++ b/
camera_utils.py
@@
-56,7
+56,8
@@
def sanity_check_image(hsv: np.ndarray) -> SanityCheckImageMetadata:
hs_zero_count += 1
logger.debug(f"hszero#={hs_zero_count}, weird_orange={weird_orange_count}")
return SanityCheckImageMetadata(
hs_zero_count += 1
logger.debug(f"hszero#={hs_zero_count}, weird_orange={weird_orange_count}")
return SanityCheckImageMetadata(
- hs_zero_count > (num_pixels * 0.75), weird_orange_count > (num_pixels * 0.75)
+ hs_zero_count > (num_pixels * 0.75),
+ weird_orange_count > (num_pixels * 0.75),
)
)