numpy arrays do not like to be treated as booleans

This commit is contained in:
2024-10-03 11:03:55 +02:00
parent 5bf58d1193
commit df17ae536c

View File

@ -92,7 +92,7 @@ def work(backend_address, accumulator_host, accumulator_port, visualisation_host
image = jfdata.process(raw_image, metadata, double_pixels)
if not image:
if image is None:
continue
pixel_mask_pf = jfdata.get_pixel_mask(results, double_pixels)