Open Source Computer Vision Library https://opencv.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
480 B

from __future__ import print_function
import cv2 as cv
from cv2 import testMatxPythonConverter
from tests_common import NewOpenCVTests
class MatxConverterTest(NewOpenCVTests):
def test_matxconverter(self):
samples = ['samples/data/lena.jpg', 'cv/cascadeandhog/images/mona-lisa.png']
for sample in samples:
img = self.get_sample(sample)
out = testMatxPythonConverter(img)
if __name__ == '__main__':
NewOpenCVTests.bootstrap()