Searched refs:contours (Results 1 – 4 of 4) sorted by relevance
/cts/apps/CameraITS/tests/rolling_shutter_skew/ |
D | test_rolling_shutter_skew.py | 304 contours, scratch_img, contour_img, mono_img = find_contours(frame.copy()) 309 largest_cluster, cluster_percentage = find_largest_cluster(contours, 390 contours, _ = cv2.findContours(opening, 394 cv2.drawContours(contour_img, contours, -1, (0, 0, 255), thickness=2) 395 return contours, img, contour_img, red_img 398 def convert_to_circles(contours): argument 429 return list(map(Circle, contours)) 432 def find_largest_cluster(contours, frame): argument 443 clusters = proximity_clusters(contours) 449 cluster_percentage = len(largest_cluster) / len(contours) [all …]
|
/cts/apps/CameraITS/pymodules/its/ |
D | cv2image.py | 284 contours = [] 287 contours, _ = cv2.findContours( 290 _, contours, _ = cv2.findContours( 296 for contour in contours:
|
/cts/apps/CameraITS/tests/scene4/ |
D | test_multi_camera_alignment.py | 116 contours, hierarchy = cv2.findContours(255-img_bw, cv2.RETR_TREE, 119 _, contours, hierarchy = cv2.findContours(255-img_bw, cv2.RETR_TREE, 126 for ct, hrch in zip(contours, hierarchy[0]): 138 prt_shape = component_shape(contours[parent]) 139 prt_area = cv2.contourArea(contours[parent])
|
D | test_aspect_ratio_and_crop.py | 514 contours, hierarchy = cv2.findContours(255-img_bw, cv2.RETR_TREE, 517 _, contours, hierarchy = cv2.findContours(255-img_bw, cv2.RETR_TREE, 525 for ct, hrch in zip(contours, hierarchy[0]): 537 prt_shape = component_shape(contours[parent]) 538 prt_area = cv2.contourArea(contours[parent])
|