Imaging and Object Detection under Extreme Lighting Conditions and Real World Adversarial Attacks