/third_party/mindspore/tests/ut/python/dataset/ |
D | test_convertcolor.py | 18 import cv2 53 convertcolor_cv = cv2.cvtColor(original, cv_convert) 67 convert_color(mode.ConvertMode.COLOR_BGR2GRAY, cv2.COLOR_BGR2GRAY, plot) 68 convert_color(mode.ConvertMode.COLOR_BGR2RGB, cv2.COLOR_BGR2RGB, plot) 69 convert_color(mode.ConvertMode.COLOR_BGR2BGRA, cv2.COLOR_BGR2BGRA, plot) 77 img = cv2.imread(IMAGE_FILE) 80 img_expect = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
|
D | test_decode.py | 18 import cv2 48 expected = cv2.imdecode(item2["image"], cv2.IMREAD_COLOR) 49 expected = cv2.cvtColor(expected, cv2.COLOR_BGR2RGB) 74 expected = cv2.imdecode(item2["image"], cv2.IMREAD_COLOR) 75 expected = cv2.cvtColor(expected, cv2.COLOR_BGR2RGB)
|
D | test_vertical_flip.py | 18 import cv2 55 vertical_flip_cv = cv2.flip(original, 0) 69 img = cv2.imread(IMAGE_FILE) 72 img_cv = cv2.flip(img, 0)
|
D | test_horizontal_flip.py | 18 import cv2 55 horizontal_flip_cv = cv2.flip(original, 1) 69 img = cv2.imread(IMAGE_FILE) 72 img_cv = cv2.flip(img, 1)
|
D | test_eager_vision.py | 15 import cv2 33 img = cv2.imread("../data/dataset/apple.jpg") 42 img = cv2.imread("../data/dataset/apple.jpg") 67 img = cv2.imread("../data/dataset/apple.jpg") 108 img = cv2.imread("../data/dataset/apple.jpg")
|
D | test_gaussian_blur.py | 18 import cv2 55 gaussian_blur_cv = cv2.GaussianBlur(original, (3, 3), 3) 69 img = cv2.imread(IMAGE_FILE) 72 img_cv = cv2.GaussianBlur(img, (3, 5), 3.5, 3.5)
|
D | test_rotate.py | 18 import cv2 55 rotate_cv = cv2.rotate(original, cv2.ROTATE_90_COUNTERCLOCKWISE) 89 img = cv2.imread(IMAGE_FILE)
|
D | test_random_rotation.py | 19 import cv2 62 rotation_cv = cv2.rotate(original, cv2.ROTATE_90_COUNTERCLOCKWISE) 99 rotation_cv = cv2.rotate(original, cv2.ROTATE_90_COUNTERCLOCKWISE)
|
D | test_crop.py | 18 import cv2 69 img = cv2.imread(IMAGE_FILE)
|
D | test_epoch_ctrl.py | 21 import cv2 96 expected = cv2.imdecode(item2["image"], cv2.IMREAD_COLOR) 97 expected = cv2.cvtColor(expected, cv2.COLOR_BGR2RGB)
|
/third_party/mindspore/mindspore/dataset/utils/ |
D | browse_dataset.py | 70 cv2 = importlib.import_module("cv2") 114 draw_image = cv2.cvtColor(image, cv2.COLOR_RGB2BGR) 126 cv2.rectangle(draw_image, (x1, y1), (x2, y2), bbox_color, thickness) 134 …cv2.putText(draw_image, draw_label, (x1, y2), cv2.FONT_HERSHEY_SIMPLEX, font_size, text_color, thi… 145 cv2.imshow(win_name, draw_image) 146 if cv2.waitKey(wait_time) == 27: 150 cv2.imwrite(out_file, draw_image)
|
/third_party/glslang/Test/ |
D | nonSquare.vert | 8 const vec2 cv2 = vec2(10.0, 20.0); 24 … (m24 * m42) * v4 + cv2 * m42 + m24 * cv2 + vec4(cv2[1], cv2.x, m42[2][1], m42[2][0]);
|
D | spv.nonSquare.vert | 8 const vec2 cv2 = vec2(10.0, 20.0); 24 … (m24 * m42) * v4 + cv2 * m42 + m24 * cv2 + vec4(cv2[1], cv2.x, m42[2][1], m42[2][0]);
|
D | spv.conversion.frag | 109 ivec4 cv2 = ivec4(1.0); 110 bvec4 cv5 = bvec4(cv2);
|
D | conversion.frag | 109 ivec4 cv2 = ivec4(1.0); 110 bvec4 cv5 = bvec4(cv2);
|
/third_party/boost/libs/date_time/test/ |
D | testconstrained_value.cpp | 34 constrained_value<day_value_policies> cv1(0), cv2(31); in main() local 35 check("not equal", cv1 != cv2); in main() 37 check("greater", cv2 > cv1); in main() 38 check("greater or equal ", cv2 >= cv1); in main()
|
/third_party/python/Lib/turtledemo/ |
D | two_canvases.py | 14 cv2 = TK.Canvas(root, width=300, height=200, bg="#ffeeee") 16 cv2.pack() 20 s2 = TurtleScreen(cv2)
|
/third_party/mindspore/mindspore/mindrecord/tools/ |
D | cifar10_to_mr.py | 30 cv2 = import_module("cv2") variable 32 cv2 = None variable 141 if not cv2: 147 _, img = cv2.imencode(".jpeg", img[..., [2, 1, 0]])
|
D | cifar100_to_mr.py | 30 cv2 = import_module("cv2") variable 32 cv2 = None variable 146 if not cv2: 153 _, img = cv2.imencode(".jpeg", img[..., [2, 1, 0]])
|
D | mnist_to_mr.py | 29 cv2 = import_module("cv2") variable 31 cv2 = None variable 110 _, img = cv2.imencode(".jpeg", data) 123 _, img = cv2.imencode(".jpeg", data) 230 if not cv2:
|
/third_party/mindspore/tests/ut/python/mindrecord/ |
D | test_mnist_to_mr.py | 19 import cv2 135 _, img = cv2.imencode(".jpeg", data) 142 _, img = cv2.imencode(".jpeg", data)
|
/third_party/mindspore/tests/st/model_zoo_tests/yolov3_darknet53/src/ |
D | transforms.py | 22 import cv2 246 cv2.setNumThreads(1) 247 x = cv2.cvtColor(img, cv2.COLOR_RGB2HSV_FULL) 258 image_data = cv2.cvtColor(x, cv2.COLOR_HSV2RGB_FULL)
|
/third_party/python/Lib/test/ |
D | dataclass_module_2.py | 21 cv2: T_CV2
|
D | dataclass_module_2_str.py | 21 cv2: T_CV2
|
D | dataclass_module_1.py | 21 cv2: T_CV2
|