diff --git a/modules/dnn_superres/CMakeLists.txt b/modules/dnn_superres/CMakeLists.txt index e16f0b6d41..a3bba2f6de 100644 --- a/modules/dnn_superres/CMakeLists.txt +++ b/modules/dnn_superres/CMakeLists.txt @@ -6,5 +6,5 @@ ocv_define_module( opencv_imgproc opencv_dnn OPTIONAL opencv_quality - WRAP python -) \ No newline at end of file + WRAP python java +) diff --git a/modules/dnn_superres/misc/java/test/DnnSuperresTest.java b/modules/dnn_superres/misc/java/test/DnnSuperresTest.java new file mode 100644 index 0000000000..710f063b5d --- /dev/null +++ b/modules/dnn_superres/misc/java/test/DnnSuperresTest.java @@ -0,0 +1,14 @@ +package org.opencv.test.tracking; + +import org.opencv.core.Core; +import org.opencv.core.CvException; +import org.opencv.test.OpenCVTestCase; +import org.opencv.dnn_superres.DnnSuperResImpl; + +public class DnnSuperresTest extends OpenCVTestCase { + + public void testCreateSuperres() { + DnnSuperResImpl sr = DnnSuperResImpl.create(); + } + +}