From 273990d62f4563e2285a9848eb0d811263784176 Mon Sep 17 00:00:00 2001 From: jamesb Date: Sun, 14 Mar 2010 22:08:26 +0000 Subject: [PATCH] #178 repro attempt git-svn-id: https://code.ros.org/svn/opencv/trunk@2812 73c94f0f-984f-4a5f-82bc-2d8db8d8ee08 --- opencv/tests/python/test.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/opencv/tests/python/test.py b/opencv/tests/python/test.py index 5337ce8f..204295ff 100644 --- a/opencv/tests/python/test.py +++ b/opencv/tests/python/test.py @@ -797,6 +797,11 @@ class AreaTests(OpenCVTests): im = cv.CreateMatND([2, 13], cv.CV_16UC3) self.assertEqual(numpy.asarray(im).shape, (2, 13, 3)) + # multi-dimensional NumPy array + na = numpy.ones([7,9,2,1,8]) + cm = cv.fromarray(na, True) + print cv.GetDims(cm) + else: print "SKIPPING test_numpy - numpy support not built" -- 2.39.2