Skip to content

Commit daaf645

Browse files
authored
Merge pull request #3533 from asmorkalov:as/dnn_superres_java
Added Java bindings for dnn_superres module
2 parents 179021f + 0fe30d8 commit daaf645

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

modules/dnn_superres/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ ocv_define_module(
66
opencv_imgproc
77
opencv_dnn
88
OPTIONAL opencv_quality
9-
WRAP python
10-
)
9+
WRAP python java
10+
)
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package org.opencv.test.tracking;
2+
3+
import org.opencv.core.Core;
4+
import org.opencv.core.CvException;
5+
import org.opencv.test.OpenCVTestCase;
6+
import org.opencv.dnn_superres.DnnSuperResImpl;
7+
8+
public class DnnSuperresTest extends OpenCVTestCase {
9+
10+
public void testCreateSuperres() {
11+
DnnSuperResImpl sr = DnnSuperResImpl.create();
12+
}
13+
14+
}

0 commit comments

Comments
 (0)