/external/clang/test/Sema/ |
deref.c | 31 extern void cv2; 34 return &cv2; /* expected-warning{{address of an expression of type 'void'}} */
|
/cts/apps/CameraITS/pymodules/its/ |
cv2image.py | 18 import cv2 63 return cv2.resize(img.copy(), dim, interpolation=cv2.INTER_AREA) 74 img_gray = cv2.cvtColor(img, cv2.COLOR_RGB2GRAY) 145 template = cv2.imread(self._file, cv2.IMREAD_ANYDEPTH) 197 result = cv2.matchTemplate(scene_scaled, chart, cv2.TM_CCOEFF) 198 _, opt_val, _, top_left_scaled = cv2.minMaxLoc(result [all...] |
/external/python/cpython2/Demo/turtle/ |
tdemo_two_canvases.py | 14 cv2 = TK.Canvas(root, width=300, height=200, bg="#ffeeee") 16 cv2.pack() 20 s2 = TurtleScreen(cv2)
|
/external/python/cpython3/Lib/turtledemo/ |
two_canvases.py | 14 cv2 = TK.Canvas(root, width=300, height=200, bg="#ffeeee") 16 cv2.pack() 20 s2 = TurtleScreen(cv2)
|
/cts/apps/CameraITS/tests/scene3/ |
test_flip_mirror.py | 16 import cv2 54 template = cv2.imread(CHART_FILE, cv2.IMREAD_ANYDEPTH) 56 # take img, crop chart, scale and prep for cv2 template match 97 correlation = cv2.matchTemplate(comp_chart, template, cv2.TM_CCOEFF) 98 _, opt_val, _, _ = cv2.minMaxLoc(correlation) 100 cv2.imwrite('%s_%s.jpg' % (NAME, orientation), comp_chart)
|
/external/python/cpython3/Lib/test/ |
dataclass_module_1.py | 21 cv2: T_CV2
|
dataclass_module_2.py | 21 cv2: T_CV2
|
dataclass_module_2_str.py | 21 cv2: T_CV2
|
dataclass_module_1_str.py | 21 cv2: T_CV2
|
/cts/apps/CameraITS/tests/scene4/ |
test_aspect_ratio_and_crop.py | 17 import cv2 251 img_raw = cv2.resize(img_raw, (0, 0), fx=2.0, fy=2.0) 292 img_raw = cv2.undistort(img_raw, k, opencv_dist) 370 img = cv2.undistort(img, k_scale, opencv_dist) 515 _, img_bw = cv2.threshold(np.uint8(img_gray), 0, 255, 516 cv2.THRESH_BINARY + cv2.THRESH_OTSU) 519 cv2_version = cv2.__version__ 521 contours, hierarchy = cv2.findContours(255-img_bw, cv2.RETR_TREE [all...] |
test_multi_camera_alignment.py | 19 import cv2 109 _, img_bw = cv2.threshold(np.uint8(gray), 0, 255, 110 cv2.THRESH_BINARY + cv2.THRESH_OTSU) 113 cv2_version = cv2.__version__ 115 contours, hierarchy = cv2.findContours(255-img_bw, cv2.RETR_TREE, 116 cv2.CHAIN_APPROX_SIMPLE) 118 _, contours, hierarchy = cv2.findContours(255-img_bw, cv2.RETR_TREE [all...] |
/cts/apps/CameraITS/tests/rolling_shutter_skew/ |
test_rolling_shutter_skew.py | 15 import cv2 306 cv2.imwrite('%s/contour/%03d.png' % (debug_dir, frame_num), contour_img) 307 cv2.imwrite('%s/mono/%03d.png' % (debug_dir, frame_num), mono_img) 320 [vx], [vy], [x0], [y0] = cv2.fitLine(np_cluster, cv2.cv.CV_DIST_L2, 328 cv2.line(scratch_img, pt1, pt2, (0, 255, 255), thickness=3) 349 cv2.imwrite('%s/scratch/%03d.png' % (debug_dir, frame_num), 370 img = cv2.cvtColor(img, cv2.COLOR_RGB2BGR) 376 _, thresh = cv2.threshold(red_img, 0, 255, cv2.THRESH_BINARY [all...] |
/frameworks/av/services/camera/libcameraservice/tests/ |
DistortionMapperComp.py | 3 # Assumes a python that has numpy and cv2 (OpenCV) available 6 import cv2 29 expCoords = cv2.undistortPoints(rawCoords2, K, dist, P = K)
|
/cts/apps/CameraITS/tests/scene5/ |
test_lens_shading_and_color_uniformity.py | 21 import cv2 89 text_height = cv2.getTextSize('gf', cv2.FONT_HERSHEY_SIMPLEX, 102 cv2.rectangle(img_legend_ls, (left, top), (right, bottom), GREEN, 108 cv2.rectangle(img_legend_ufmt, (left, top), (right, bottom), GREEN, 171 cv2.rectangle(img_legend_ls, (left, top), (right, bottom), 189 cv2.rectangle(img_legend_ufmt, (left, top), (right, bottom), 246 cv2.putText(img, text, (text_org[0], text_org[1]), 247 cv2.FONT_HERSHEY_SIMPLEX, font_scale,
|
/external/autotest/client/site_tests/power_CameraSuspend/ |
power_CameraSuspend.py | 17 import cv2 44 cam = cv2.VideoCapture(cam_index) 78 cv2.imwrite(path, image)
|
/cts/apps/CameraITS/tests/scene2/ |
test_num_faces.py | 16 import cv2 75 cv2.rectangle(img, top_left, bot_rght, (0, 1, 0), 2)
|
/cts/apps/CameraITS/tests/scene2b/ |
test_num_faces.py | 16 import cv2 74 cv2.rectangle(img, top_left, bot_rght, (0, 1, 0), 2)
|
/cts/apps/CameraITS/tests/scene2c/ |
test_num_faces.py | 16 import cv2 74 cv2.rectangle(img, top_left, bot_rght, (0, 1, 0), 2)
|
/cts/apps/CameraITS/tests/sensor_fusion/ |
test_multi_camera_frame_sync.py | 22 import cv2 142 cv2.cvtColor(its.image.convert_capture_to_rgb_image(f, props=props), cv2.COLOR_RGB2GRAY) for f in pair 150 cv2.imwrite(file_name, imgs[j]*255)
|
test_sensor_fusion.py | 22 import cv2 59 criteria=(cv2.TERM_CRITERIA_EPS | cv2.TERM_CRITERIA_COUNT, 332 gframes.append(cv2.cvtColor(frame, cv2.COLOR_RGB2GRAY)) 340 p0 = cv2.goodFeaturesToTrack(gframe0, mask=None, **FEATURE_PARAMS) 353 p1, st, _ = cv2.calcOpticalFlowPyrLK(gframe0, gframe1, p0_filtered, 369 cv2.circle(frame, (x, y), 3, (100, 100, 255), -1)
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
CoverageLevel2.java | 181 CoverageLevel2 cv2 = CoverageLevel2.getInstance("de"); local 198 int newLevel = cv2.getIntLevel(path); 203 int newLevel = cv2.getIntLevel(path); 206 newLevel = cv2.getIntLevel(path);
|
/bionic/libm/x86_64/ |
e_asin.S | 239 movapd cv2(%rip), %xmm1 241 movapd 16+cv2(%rip), %xmm2 242 movapd 32+cv2(%rip), %xmm4 294 movapd cv2(%rip), %xmm2 304 movapd 48+cv2(%rip), %xmm1 305 movapd 16+cv2(%rip), %xmm5 306 movapd 32+cv2(%rip), %xmm0 1966 cv2: label [all...] |
e_acos.S | 223 movapd cv2(%rip), %xmm6 225 movapd 16+cv2(%rip), %xmm2 226 movapd 32+cv2(%rip), %xmm4 257 movapd cv2(%rip), %xmm1 259 movapd 16+cv2(%rip), %xmm2 261 movapd 32+cv2(%rip), %xmm3 1883 cv2: label [all...] |
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
ContactsContract_DataTest.java | 148 ContentValues cv2 = new ContentValues(); external variable declarations 149 cv2.put(Contacts.DISPLAY_NAME, "Hot Tamale"); 150 cv2.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); 151 cv2.put(Phone.DATA, "510-123-5769"); 152 cv2.put(Phone.TYPE, Phone.TYPE_HOME); 153 sContentValues[1] = cv2; 454 ContentValues cv2 = new ContentValues(); local 461 null, false, cv, cv2); [all...] |
ContactsContract_FrequentsStrequentsTest.java | 134 ContentValues cv2 = new ContentValues(); external variable declarations 135 cv2.put(Contacts.DISPLAY_NAME, "Cold Tamago"); 136 sContentValues[1] = cv2;
|