diff options
Diffstat (limited to 'apps/CameraITS/tests/scene1/test_auto_vs_manual.py')
-rw-r--r-- | apps/CameraITS/tests/scene1/test_auto_vs_manual.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/CameraITS/tests/scene1/test_auto_vs_manual.py b/apps/CameraITS/tests/scene1/test_auto_vs_manual.py index 2964e47..01a373c 100644 --- a/apps/CameraITS/tests/scene1/test_auto_vs_manual.py +++ b/apps/CameraITS/tests/scene1/test_auto_vs_manual.py @@ -13,6 +13,7 @@ # limitations under the License. import its.image +import its.caps import its.device import its.objects import os.path @@ -30,6 +31,11 @@ def main(): NAME = os.path.basename(__file__).split(".")[0] with its.device.ItsSession() as cam: + props = cam.get_camera_properties() + if (not its.caps.manual_sensor(props) or + not its.caps.manual_post_proc(props)): + print "Test skipped" + return # Converge 3A and get the estimates. sens, exp, gains, xform, focus = cam.do_3a() |