aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorTimothy Knight <tknight@google.com>2014-07-14 14:20:03 -0700
committerTimothy Knight <tknight@google.com>2014-07-14 21:26:38 +0000
commitfec6ded66891e61ae3d42a4779c7b3845c3b01c0 (patch)
treee10556a46868accf80bca9e9cc16dc6bbe203107 /apps
parent8e14269d9a7d5adc91ab901b34723901564fd633 (diff)
downloadpdk-fec6ded66891e61ae3d42a4779c7b3845c3b01c0.tar.gz
CameraITS: Bug fix in DNG tags test
Change-Id: I1b337d9c712e0eaaa1ef83bd5e06e49186229457 (cherry picked from commit 4dafec01f4ef325143de3406b92f37a80eeba0c2)
Diffstat (limited to 'apps')
-rw-r--r--apps/CameraITS/tests/scene2/test_dng_tags.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/CameraITS/tests/scene2/test_dng_tags.py b/apps/CameraITS/tests/scene2/test_dng_tags.py
index 946edef..2760a6b 100644
--- a/apps/CameraITS/tests/scene2/test_dng_tags.py
+++ b/apps/CameraITS/tests/scene2/test_dng_tags.py
@@ -66,7 +66,8 @@ def main():
props[cm_str[i]])).reshape(3,3)
fm_ref = numpy.array(its.objects.rational_to_float(
props[fm_str[i]])).reshape(3,3)
- asn_ref = numpy.array(cap['android.sensor.neutralColorPoint'])
+ asn_ref = numpy.array(its.objects.rational_to_float(
+ cap['metadata']['android.sensor.neutralColorPoint']))
print "Reported ColorMatrix:\n", cm_ref
print "Reported ForwardMatrix:\n", fm_ref
print "Reported AsShotNeutral:\n", asn_ref