Searched refs:contour (Results 1 – 4 of 4) sorted by relevance
/cts/apps/CameraITS/pymodules/its/ |
D | cv2image.py | 296 for contour in contours: 297 rect = cv2.minAreaRect(contour) 307 area = cv2.contourArea(contour) 315 square_contours.append(contour) 318 for contour in square_contours: 319 area = cv2.contourArea(contour)
|
/cts/apps/CameraITS/tests/rolling_shutter_skew/ |
D | test_rolling_shutter_skew.py | 411 def __init__(self, contour): argument 412 self.x = int(np.mean(contour[:, 0, 0])) 413 self.y = int(np.mean(contour[:, 0, 1])) 415 x_r = (np.max(contour[:, 0, 0]) - np.min(contour[:, 0, 0])) / 2.0 416 y_r = (np.max(contour[:, 0, 1]) - np.min(contour[:, 0, 1])) / 2.0
|
/cts/apps/CameraITS/tests/scene4/ |
D | test_multi_camera_alignment.py | 182 def component_shape(contour): argument 195 for pt in contour:
|
D | test_aspect_ratio_and_crop.py | 645 def component_shape(contour): argument 658 for pt in contour:
|