diff options
Diffstat (limited to 'apps/CameraITS/tests/scene1/test_yuv_jpeg_all.py')
-rw-r--r-- | apps/CameraITS/tests/scene1/test_yuv_jpeg_all.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/CameraITS/tests/scene1/test_yuv_jpeg_all.py b/apps/CameraITS/tests/scene1/test_yuv_jpeg_all.py index aed9b66..2367ca2 100644 --- a/apps/CameraITS/tests/scene1/test_yuv_jpeg_all.py +++ b/apps/CameraITS/tests/scene1/test_yuv_jpeg_all.py @@ -13,11 +13,11 @@ # limitations under the License. import its.image +import its.caps import its.device import its.objects import its.target import os.path -import Image import math def main(): @@ -29,6 +29,9 @@ def main(): with its.device.ItsSession() as cam: props = cam.get_camera_properties() + if not its.caps.compute_target_exposure(props): + print "Test skipped" + return # Use a manual request with a linear tonemap so that the YUV and JPEG # should look the same (once converted by the its.image module). |