diff options
Diffstat (limited to 'apps/CameraITS/tests/scene1/test_yuv_plus_jpeg.py')
-rw-r--r-- | apps/CameraITS/tests/scene1/test_yuv_plus_jpeg.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/CameraITS/tests/scene1/test_yuv_plus_jpeg.py b/apps/CameraITS/tests/scene1/test_yuv_plus_jpeg.py index 305d42e..7841b36 100644 --- a/apps/CameraITS/tests/scene1/test_yuv_plus_jpeg.py +++ b/apps/CameraITS/tests/scene1/test_yuv_plus_jpeg.py @@ -37,12 +37,12 @@ def main(): cap_yuv, cap_jpeg = cam.do_capture(req, [fmt_yuv, fmt_jpeg]) - img = its.image.convert_capture_to_rgb_image(cap_yuv) + img = its.image.convert_capture_to_rgb_image(cap_yuv, True) its.image.write_image(img, "%s_yuv.jpg" % (NAME)) tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1) rgb0 = its.image.compute_image_means(tile) - img = its.image.convert_capture_to_rgb_image(cap_jpeg) + img = its.image.convert_capture_to_rgb_image(cap_jpeg, True) its.image.write_image(img, "%s_jpeg.jpg" % (NAME)) tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1) rgb1 = its.image.compute_image_means(tile) |