Searched refs:img_bw (Results 1 – 3 of 3) sorted by relevance
/cts/apps/CameraITS/utils/ |
D | opencv_processing_utils.py | 137 _, img_bw = cv2.threshold(numpy.uint8(img_gray), 0, 255, 139 return img_bw 452 def find_circle_fill_metric(shape, img_bw, color): argument 466 matching += 1 if img_bw[y][shape['ctx']] == color else 0 469 matching += 1 if img_bw[shape['cty']][x] == color else 0 497 img_bw = cv2.adaptiveThreshold(img_gray, 255, cv2.ADAPTIVE_THRESH_MEAN_C, 502 img_bw = binarize_image(img_gray) 505 contours = find_all_contours(255-img_bw) 520 colour = img_bw[shape['cty']][shape['ctx']] 523 fill = find_circle_fill_metric(shape, img_bw, color) [all …]
|
D | zoom_capture_utils.py | 172 _, img_bw = cv2.threshold( 176 contours = opencv_processing_utils.find_all_contours(255-img_bw) 182 (255-img_bw).astype(numpy.float)/255.0, axis=2), img_copy_name) 199 circle_color = img_bw[shape['cty']][shape['ctx']]
|
/cts/apps/CameraITS/tests/scene7/ |
D | test_multi_camera_switch.py | 241 def _find_aruco_markers(img_bw, img_path, lens_suffix): argument 255 img_bw, aruco_path)
|