Camera testing in Python