Searched refs:contour (Results 1 – 4 of 4) sorted by relevance
/cts/apps/CameraITS/utils/ |
D | opencv_processing_utils.py | 285 def component_shape(contour): argument 298 for pt in contour: 346 for contour in contours: 347 area = cv2.contourArea(contour) 348 num_pts = len(contour) 351 shape = component_shape(contour) 499 for contour in contours: 500 rect = cv2.minAreaRect(contour) 508 area = cv2.contourArea(contour) 512 square_contours.append(contour) [all …]
|
/cts/apps/CameraITS/tests/inprog/rolling_shutter_skew/ |
D | test_rolling_shutter_skew.py | 415 def __init__(self, contour): argument 416 self.x = int(np.mean(contour[:, 0, 0])) 417 self.y = int(np.mean(contour[:, 0, 1])) 419 x_r = (np.max(contour[:, 0, 0]) - np.min(contour[:, 0, 0])) / 2.0 420 y_r = (np.max(contour[:, 0, 1]) - np.min(contour[:, 0, 1])) / 2.0
|
/cts/apps/CameraITS/tests/scene6/ |
D | test_zoom.py | 162 for contour in contours: 163 area = cv2.contourArea(contour) 164 if area > min_area and len(contour) >= MIN_CIRCLE_PTS: 165 shape = opencv_processing_utils.component_shape(contour)
|
/cts/apps/CtsVerifier/libs/ |
D | opencv3-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |