Home
last modified time | relevance | path

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

/cts/apps/CameraITS/pymodules/its/
Dcv2image.py260 for contour in contours:
261 rect = cv2.minAreaRect(contour)
271 area = cv2.contourArea(contour)
279 square_contours.append(contour)
282 for contour in square_contours:
283 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_aspect_ratio_and_crop.py587 def component_shape(contour): argument
600 for pt in contour:
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...