mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
Change imports order for copytomask
This commit is contained in:
parent
5218443784
commit
986bc65e1f
@ -32,8 +32,6 @@ class gapi_sample_pipelines(NewOpenCVTests):
|
|||||||
g_out = cv.gapi.mean(r)
|
g_out = cv.gapi.mean(r)
|
||||||
comp = cv.GComputation(g_in, g_out)
|
comp = cv.GComputation(g_in, g_out)
|
||||||
|
|
||||||
actual = comp.apply(in_mat)
|
|
||||||
|
|
||||||
for pkg in pkgs:
|
for pkg in pkgs:
|
||||||
actual = comp.apply(in_mat, args=cv.compile_args(pkg))
|
actual = comp.apply(in_mat, args=cv.compile_args(pkg))
|
||||||
# Comparison
|
# Comparison
|
||||||
|
@ -7,8 +7,8 @@ Test for copyto with mask
|
|||||||
# Python 2/3 compatibility
|
# Python 2/3 compatibility
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
import cv2 as cv
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
import cv2 as cv
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from tests_common import NewOpenCVTests
|
from tests_common import NewOpenCVTests
|
||||||
|
Loading…
Reference in New Issue
Block a user