Skip to content

Commit

Permalink
Added Java bindings for dnn_superres module.
Browse files Browse the repository at this point in the history
  • Loading branch information
asmorkalov committed Jul 17, 2023
1 parent d89b2b9 commit 0fe30d8
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 0fe30d8

Please sign in to comment.