The Image Belongs to the Task. Not the Hall.
The camera exposes for about a millisecond, and the image shows exactly what is lighting the part at that moment. If the task is not dominated by its own light, every little change in the hall shifts the inspection result: an open gate, sun through a skylight, a switched-off row of luminaires. Strong local light keeps the image the same.