/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 32 return cv2.resize(img.copy(), dim, interpolation=cv2.INTER_AREA) 43 img_gray = cv2.cvtColor(img, cv2.COLOR_RGB2GRAY) 112 template = cv2.imread(self._file, cv2.IMREAD_ANYDEPTH) 161 result = cv2.matchTemplate(scene_scaled, chart, cv2.TM_CCOEFF) 162 _, opt_val, _, top_left_scaled = cv2.minMaxLoc(result [all...] |
/external/annotation-tools/asmx/test/conform/org/objectweb/asm/attrs/ |
StackMapTableAttributeTest.class | |
StackMapTableAttributeTest.java | 72 ClassVisitor cv2 = new TraceClassVisitor(new PrintWriter(sw2)); local 74 cr2.accept(cv2, attributes, true);
|
/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 59 template = cv2.imread(CHART_FILE, cv2.IMREAD_ANYDEPTH) 61 # take img, crop chart, scale and prep for cv2 template match 102 correlation = cv2.matchTemplate(comp_chart, template, cv2.TM_CCOEFF) 103 _, opt_val, _, _ = cv2.minMaxLoc(correlation) 105 cv2.imwrite('%s_%s.jpg' % (NAME, orientation), comp_chart)
|
/cts/apps/CameraITS/tests/scene4/ |
test_multi_camera_alignment.py | 19 import cv2 63 cv2_version = cv2.__version__ 66 circle = cv2.HoughCircles(gray, cv2.cv.CV_HOUGH_GRADIENT, 69 circle = cv2.HoughCircles(gray, cv2.HOUGH_GRADIENT, 142 img = cv2.resize(img_raw.astype(np.uint8), None, fx=2, fy=2) 172 img = cv2.undistort(img, k[i], cv2_distort) 177 circle[i] = find_circle(cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) [all...] |
test_aspect_ratio_and_crop.py | 17 import cv2 207 img_raw = cv2.resize(img_raw, (0,0), fx=2.0, fy=2.0) 248 img_raw = cv2.undistort(img_raw, k, opencv_dist) 322 img = cv2.undistort(img, k_scale, opencv_dist) 457 _, img_bw = cv2.threshold(np.uint8(img_gray), 0, 255, 458 cv2.THRESH_BINARY + cv2.THRESH_OTSU) 461 cv2_version = cv2.__version__ 463 contours, hierarchy = cv2.findContours(255-img_bw, cv2.RETR_TREE [all...] |
/external/autotest/client/site_tests/power_CameraSuspend/ |
power_CameraSuspend.py | 16 import cv2 42 cam = cv2.VideoCapture(cam_index) 76 cv2.imwrite(path, image)
|
/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...] |
/external/annotation-tools/asmx/test/conform/org/objectweb/asm/ |
AbstractTest.class | |
AbstractTest.java | 128 ClassVisitor cv2 = new TraceClassVisitor(new PrintWriter(sw2)); local 130 cr2.accept(new ClassFilter(cv2), false);
|
/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,
|
/cts/apps/CameraITS/tests/scene2/ |
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_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) 352 p1, st, _ = cv2.calcOpticalFlowPyrLK(gframe0, gframe1, p0_filtered, 368 cv2.circle(frame, (x, y), 3, (100, 100, 255), -1)
|
test_multi_camera_frame_sync.py | 22 import cv2 132 cv2.cvtColor(its.image.convert_capture_to_rgb_image(f, props=props), cv2.COLOR_RGB2GRAY) for f in pair 140 cv2.imwrite(file_name, imgs[j]*255)
|
/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 | 131 ContentValues cv2 = new ContentValues(); external variable declarations 132 cv2.put(Contacts.DISPLAY_NAME, "Cold Tamago"); 133 sContentValues[1] = cv2;
|
ContactsContract_SearchSnippetsTest.java | 56 ContentValues cv2 = new ContentValues(); external variable declarations 57 cv2.put(Contacts.DISPLAY_NAME, "Cold Tamago"); 58 sContentValues[1] = cv2;
|
/external/libcxx/test/std/utilities/variant/variant.visit/ |
visit.pass.cpp | 201 const V &cv2 = v2; local 206 std::visit(obj, cv1, cv2, std::move(v3));
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/PBQP/Heuristics/ |
Briggs.h | 66 const PBQP::Vector &cv2 = g->getNodeCosts(n2Itr); local 69 PBQPNum cost2 = cv2[0] / s->getSolverDegree(n2Itr);
|