[VIC]ITS: lint cleanups
Clean up:
1. 'preview_size' instead of 'video_size' in test_preview_stabilization
2. Label return value for get_last_key_frame_... in video_processing_utils
3. Fix line too long in test_preview_stabilization
bug: 286889140
Change-Id: I6ce874a72eb1d2330da84d932783e256f7dc9116
diff --git a/apps/CameraITS/utils/video_processing_utils.py b/apps/CameraITS/utils/video_processing_utils.py
index 6dcec25..d6caf18 100644
--- a/apps/CameraITS/utils/video_processing_utils.py
+++ b/apps/CameraITS/utils/video_processing_utils.py
@@ -246,7 +246,7 @@
file_name: str file name for saved video
Returns:
- dictionary of images
+ numpy image of last key frame
"""
key_frame_files = extract_key_frames_from_video(log_path, file_name)
logging.debug('key_frame_files: %s', key_frame_files)
@@ -255,7 +255,7 @@
last_key_frame_file = get_key_frame_to_process(key_frame_files)
logging.debug('last_key_frame: %s', last_key_frame_file)
- # Convert lastKeyFrame to numpy array
+ # Convert last_key_frame to numpy array
np_image = image_processing_utils.convert_image_to_numpy_array(
os.path.join(log_path, last_key_frame_file))
logging.debug('last key frame image shape: %s', np_image.shape)