Skip to content

Commit

Permalink
Merge pull request #3533 from asmorkalov:as/dnn_superres_java
Browse files Browse the repository at this point in the history
Added Java bindings for dnn_superres module
  • Loading branch information
asmorkalov committed Jul 27, 2023
2 parents 179021f + 0fe30d8 commit daaf645
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/dnn_superres/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ ocv_define_module(
opencv_imgproc
opencv_dnn
OPTIONAL opencv_quality
WRAP python
)
WRAP python java
)
14 changes: 14 additions & 0 deletions modules/dnn_superres/misc/java/test/DnnSuperresTest.java
Original file line number Diff line number Diff line change
@@ -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();
}

}

0 comments on commit daaf645

Please sign in to comment.