Home
last modified time | relevance | path

Searched refs:contour (Results 1 – 4 of 4) sorted by relevance

/cts/apps/CameraITS/pymodules/its/
Dcv2image.py296 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/
Dtest_rolling_shutter_skew.py411 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/
Dtest_multi_camera_alignment.py182 def component_shape(contour): argument
195 for pt in contour:
Dtest_aspect_ratio_and_crop.py645 def component_shape(contour): argument
658 for pt in contour: