Lines Matching full:scene

63 # recover replaced '_' in scene def
71 # Notes on scene names:
72 # scene*_1/2/... are same scene split to load balance run times for scenes
73 # scene*_a/b/... are similar scenes that share one or more tests
95 # Scene extensions
110 # Scene requirements for manual testing.
113 'scene1_1': 'A grey card covering at least the middle 30% of the scene',
114 'scene1_2': 'A grey card covering at least the middle 30% of the scene',
123 'the scene. See tests/scene4/scene4.png',
133 'scene9': 'A scene with high entropy consisting of random size and colored '
137 'A tablet displayed scene with a face on the left '
142 'A tablet displayed scene with a grid of squares of varying '
151 'feature_combination': 'The same scene as sensor_fusion, '
154 'scene_video': 'A tablet displayed scene with a series of circles moving '
228 for scene in results:
229 if RESULT_KEY not in results[scene]:
230 raise ValueError(f'ITS result not found for {scene}')
231 if results[scene][RESULT_KEY] not in RESULT_VALUES:
232 raise ValueError(f'Unknown ITS result for {scene}: {results[RESULT_KEY]}')
233 if SUMMARY_KEY in results[scene]:
234 device_summary_path = f'/sdcard/its_camera{camera_id}_{scene}.txt'
236 f'{adb} push {results[scene][SUMMARY_KEY]} {device_summary_path}')
237 results[scene][SUMMARY_KEY] = device_summary_path
320 def check_manual_scenes(device_id, camera_id, scene, out_path): argument
326 scene: Name of the scene to copy image files.
345 f'{scene}.\n The scene setup should be: \n {_SCENE_REQ[scene]}\n')
347 if scene == 'scene5':
353 logging.info('Capturing an image to check the test scene')
356 img_name = os.path.join(out_path, f'test_{scene}.jpg')
357 logging.info('Please check scene setup in %s', img_name)
359 choice = input(f'Is the image okay for ITS {scene}? (Y/N)').lower()
543 scenes: the test scene(s) to be executed. Use comma to separate
546 where X is scene name minus 'scene')
580 # Prepend 'scene' if not specified at cmd line
582 if (not s.startswith('scene') and
584 'flash', 'feature_combination', '<scene-name>'))):
585 scenes[i] = f'scene{s}'
618 scenes = str(test_params_content['scene']).split(',')
675 for scene in scenes:
676 folded_device_scenes.append(f'{scene}_folded')
678 logging.info('Running ITS on device: %s, camera(s): %s, scene(s): %s',
732 # have specific scene name listed.
747 if ('<scene-name>' in scenes or 'checkerboard' in scenes or
751 # Validate user input scene names
757 raise ValueError('No valid scene specified for this camera.')
772 logging.info('camera: %s, scene(s): %s', camera_id, per_camera_scenes)
788 # A subdir in topdir will be created for each camera_id. All scene test
813 test_params_content['scene'] = testing_scene
817 # Copy scene images onto the tablet
854 # Run tests for scene
994 logging.info('scene tests: %s, Total tests passed: %s', tot_tests,
1010 # Delete temporary yml file after scene run.