OpenCV to JNI how to make it work?












0















I am tring to use opencv and java for face detection, and in that pursit i found this "JNI2OPENCV" file....but i am confused on how to make it work, can anyone help me?



http://img519.imageshack.us/img519/4803/askaj.jpg



and the following is the FaceDetection.java



class JNIOpenCV {
static {
System.loadLibrary("JNI2OpenCV");
}
public native int detectFace(int minFaceWidth, int minFaceHeight, String cascade, String filename);
}

public class FaceDetection {
private JNIOpenCV myJNIOpenCV;
private FaceDetection myFaceDetection;

public FaceDetection() {
myJNIOpenCV = new JNIOpenCV();
String filename = "lena.jpg";
String cascade = "haarcascade_frontalface_alt.xml";

int detectedFaces = myJNIOpenCV.detectFace(40, 40, cascade, filename);
int numFaces = detectedFaces.length / 4;

System.out.println("numFaces = " + numFaces);
for (int i = 0; i < numFaces; i++) {
System.out.println("Face " + i + ": " + detectedFaces[4 * i + 0] + " " + detectedFaces[4 * i + 1] + " " + detectedFaces[4 * i + 2] + " " + detectedFaces[4 * i + 3]);
}
}

public static void main(String args) {
FaceDetection myFaceDetection = new FaceDetection();
}
}


CAn anyone tell me how can i make this work on Netbeans?? I tried Google but help on this particular topic is very meger.



I have added the whole folder as Llibrary in netbeans project and whe i try to run the file i get the followig wrroes.



Exception in thread "main" java.lang.UnsatisfiedLinkError: FaceDetection.JNIOpenCV.detectFace(IILjava/lang/String;Ljava/lang/String;)[I
at FaceDetection.JNIOpenCV.detectFace(Native Method)
at FaceDetection.FaceDetection.<init>(FaceDetection.java:19)
at FaceDetection.FaceDetection.main(FaceDetection.java:29)
Java Result: 1
BUILD SUCCESSFUL (total time: 2 seconds)



CAn anyone tell me the exact way to work with this? like what all i have to do?










share|improve this question



























    0















    I am tring to use opencv and java for face detection, and in that pursit i found this "JNI2OPENCV" file....but i am confused on how to make it work, can anyone help me?



    http://img519.imageshack.us/img519/4803/askaj.jpg



    and the following is the FaceDetection.java



    class JNIOpenCV {
    static {
    System.loadLibrary("JNI2OpenCV");
    }
    public native int detectFace(int minFaceWidth, int minFaceHeight, String cascade, String filename);
    }

    public class FaceDetection {
    private JNIOpenCV myJNIOpenCV;
    private FaceDetection myFaceDetection;

    public FaceDetection() {
    myJNIOpenCV = new JNIOpenCV();
    String filename = "lena.jpg";
    String cascade = "haarcascade_frontalface_alt.xml";

    int detectedFaces = myJNIOpenCV.detectFace(40, 40, cascade, filename);
    int numFaces = detectedFaces.length / 4;

    System.out.println("numFaces = " + numFaces);
    for (int i = 0; i < numFaces; i++) {
    System.out.println("Face " + i + ": " + detectedFaces[4 * i + 0] + " " + detectedFaces[4 * i + 1] + " " + detectedFaces[4 * i + 2] + " " + detectedFaces[4 * i + 3]);
    }
    }

    public static void main(String args) {
    FaceDetection myFaceDetection = new FaceDetection();
    }
    }


    CAn anyone tell me how can i make this work on Netbeans?? I tried Google but help on this particular topic is very meger.



    I have added the whole folder as Llibrary in netbeans project and whe i try to run the file i get the followig wrroes.



    Exception in thread "main" java.lang.UnsatisfiedLinkError: FaceDetection.JNIOpenCV.detectFace(IILjava/lang/String;Ljava/lang/String;)[I
    at FaceDetection.JNIOpenCV.detectFace(Native Method)
    at FaceDetection.FaceDetection.<init>(FaceDetection.java:19)
    at FaceDetection.FaceDetection.main(FaceDetection.java:29)
    Java Result: 1
    BUILD SUCCESSFUL (total time: 2 seconds)



    CAn anyone tell me the exact way to work with this? like what all i have to do?










    share|improve this question

























      0












      0








      0








      I am tring to use opencv and java for face detection, and in that pursit i found this "JNI2OPENCV" file....but i am confused on how to make it work, can anyone help me?



      http://img519.imageshack.us/img519/4803/askaj.jpg



      and the following is the FaceDetection.java



      class JNIOpenCV {
      static {
      System.loadLibrary("JNI2OpenCV");
      }
      public native int detectFace(int minFaceWidth, int minFaceHeight, String cascade, String filename);
      }

      public class FaceDetection {
      private JNIOpenCV myJNIOpenCV;
      private FaceDetection myFaceDetection;

      public FaceDetection() {
      myJNIOpenCV = new JNIOpenCV();
      String filename = "lena.jpg";
      String cascade = "haarcascade_frontalface_alt.xml";

      int detectedFaces = myJNIOpenCV.detectFace(40, 40, cascade, filename);
      int numFaces = detectedFaces.length / 4;

      System.out.println("numFaces = " + numFaces);
      for (int i = 0; i < numFaces; i++) {
      System.out.println("Face " + i + ": " + detectedFaces[4 * i + 0] + " " + detectedFaces[4 * i + 1] + " " + detectedFaces[4 * i + 2] + " " + detectedFaces[4 * i + 3]);
      }
      }

      public static void main(String args) {
      FaceDetection myFaceDetection = new FaceDetection();
      }
      }


      CAn anyone tell me how can i make this work on Netbeans?? I tried Google but help on this particular topic is very meger.



      I have added the whole folder as Llibrary in netbeans project and whe i try to run the file i get the followig wrroes.



      Exception in thread "main" java.lang.UnsatisfiedLinkError: FaceDetection.JNIOpenCV.detectFace(IILjava/lang/String;Ljava/lang/String;)[I
      at FaceDetection.JNIOpenCV.detectFace(Native Method)
      at FaceDetection.FaceDetection.<init>(FaceDetection.java:19)
      at FaceDetection.FaceDetection.main(FaceDetection.java:29)
      Java Result: 1
      BUILD SUCCESSFUL (total time: 2 seconds)



      CAn anyone tell me the exact way to work with this? like what all i have to do?










      share|improve this question














      I am tring to use opencv and java for face detection, and in that pursit i found this "JNI2OPENCV" file....but i am confused on how to make it work, can anyone help me?



      http://img519.imageshack.us/img519/4803/askaj.jpg



      and the following is the FaceDetection.java



      class JNIOpenCV {
      static {
      System.loadLibrary("JNI2OpenCV");
      }
      public native int detectFace(int minFaceWidth, int minFaceHeight, String cascade, String filename);
      }

      public class FaceDetection {
      private JNIOpenCV myJNIOpenCV;
      private FaceDetection myFaceDetection;

      public FaceDetection() {
      myJNIOpenCV = new JNIOpenCV();
      String filename = "lena.jpg";
      String cascade = "haarcascade_frontalface_alt.xml";

      int detectedFaces = myJNIOpenCV.detectFace(40, 40, cascade, filename);
      int numFaces = detectedFaces.length / 4;

      System.out.println("numFaces = " + numFaces);
      for (int i = 0; i < numFaces; i++) {
      System.out.println("Face " + i + ": " + detectedFaces[4 * i + 0] + " " + detectedFaces[4 * i + 1] + " " + detectedFaces[4 * i + 2] + " " + detectedFaces[4 * i + 3]);
      }
      }

      public static void main(String args) {
      FaceDetection myFaceDetection = new FaceDetection();
      }
      }


      CAn anyone tell me how can i make this work on Netbeans?? I tried Google but help on this particular topic is very meger.



      I have added the whole folder as Llibrary in netbeans project and whe i try to run the file i get the followig wrroes.



      Exception in thread "main" java.lang.UnsatisfiedLinkError: FaceDetection.JNIOpenCV.detectFace(IILjava/lang/String;Ljava/lang/String;)[I
      at FaceDetection.JNIOpenCV.detectFace(Native Method)
      at FaceDetection.FaceDetection.<init>(FaceDetection.java:19)
      at FaceDetection.FaceDetection.main(FaceDetection.java:29)
      Java Result: 1
      BUILD SUCCESSFUL (total time: 2 seconds)



      CAn anyone tell me the exact way to work with this? like what all i have to do?







      java netbeans opencv face-detection dll






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 14 '10 at 4:33









      user293252user293252

      412




      412
























          3 Answers
          3






          active

          oldest

          votes


















          0














          If you are using JNI on Windows, Dependency Walker is going to be your friend.



          But, before we get to that first verify that the JRE can find your JNIOpenCV.dll by adding:
          System.out.println("java.library.path="+System.getProperty("java.library.path"));
          to the static constructor block.



          However, I think the issue here isn't finding your JNIOpenCV.dll file, but a file that it depends on. Open your .dll in dependency walker (just drag it in there) and look out for any error messages (except msjava.dll - ignore that, it doesn't matter). Most likely my hunch is that you need the Microsoft Visual C/C++ runtime libraries, download them from the Visual Studio website and put them in the same folder as your dll.



          Best of luck!






          share|improve this answer
























          • Hey Thanks a million for the reply......though i havnt checked the java.library.path thingy ...i opened the JNI2OpenCV.dll in dependency walker and could understand much would you help me in that? img221.imageshack.us/img221/5042/helpf.jpg

            – user293252
            Mar 18 '10 at 7:42











          • Here i added and found the java.library.path ' java.library.path=C:Program FilesJavajdk1.6.0_18bin;.;C:WINDOWSSunJavabin;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSsystem32WBEM;C:Program FilesIntelDMIX;C:OpenCV2.0bin;C:SunSDKjdkbin;C:Program FilesQuickTimeQTSystem;C:Program FilesMySQLMySQL Server 5.1bin;C:SunSDKbin '

            – user293252
            Mar 18 '10 at 7:44











          • The dependency walker seems to look good, MSJAVA and MPR commonly have errors, so if everything else that isn't visible is fine,t hen it is ok. System.loadLibrary() looks for the library in the path you have above, and since your dll isn't there, it isn't being loaded. You could either move it or use System.load(), which expects the full path and filename (and extension) for the DLL.

            – ianium
            Mar 22 '10 at 22:54



















          0














          You should take a look here, a few of the examples are hooked up with JNI:



          http://code.google.com/p/android-opencv/






          share|improve this answer































            0














            I have created a working Android example using OpenCV 2.3.1 and Eclipse instead of Netbeans.



            This small tutorial describes a robot following torchlight. The page contains the necessary steps and the source code as well.






            share|improve this answer























              Your Answer






              StackExchange.ifUsing("editor", function () {
              StackExchange.using("externalEditor", function () {
              StackExchange.using("snippets", function () {
              StackExchange.snippets.init();
              });
              });
              }, "code-snippets");

              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "1"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f2441198%2fopencv-to-jni-how-to-make-it-work%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              If you are using JNI on Windows, Dependency Walker is going to be your friend.



              But, before we get to that first verify that the JRE can find your JNIOpenCV.dll by adding:
              System.out.println("java.library.path="+System.getProperty("java.library.path"));
              to the static constructor block.



              However, I think the issue here isn't finding your JNIOpenCV.dll file, but a file that it depends on. Open your .dll in dependency walker (just drag it in there) and look out for any error messages (except msjava.dll - ignore that, it doesn't matter). Most likely my hunch is that you need the Microsoft Visual C/C++ runtime libraries, download them from the Visual Studio website and put them in the same folder as your dll.



              Best of luck!






              share|improve this answer
























              • Hey Thanks a million for the reply......though i havnt checked the java.library.path thingy ...i opened the JNI2OpenCV.dll in dependency walker and could understand much would you help me in that? img221.imageshack.us/img221/5042/helpf.jpg

                – user293252
                Mar 18 '10 at 7:42











              • Here i added and found the java.library.path ' java.library.path=C:Program FilesJavajdk1.6.0_18bin;.;C:WINDOWSSunJavabin;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSsystem32WBEM;C:Program FilesIntelDMIX;C:OpenCV2.0bin;C:SunSDKjdkbin;C:Program FilesQuickTimeQTSystem;C:Program FilesMySQLMySQL Server 5.1bin;C:SunSDKbin '

                – user293252
                Mar 18 '10 at 7:44











              • The dependency walker seems to look good, MSJAVA and MPR commonly have errors, so if everything else that isn't visible is fine,t hen it is ok. System.loadLibrary() looks for the library in the path you have above, and since your dll isn't there, it isn't being loaded. You could either move it or use System.load(), which expects the full path and filename (and extension) for the DLL.

                – ianium
                Mar 22 '10 at 22:54
















              0














              If you are using JNI on Windows, Dependency Walker is going to be your friend.



              But, before we get to that first verify that the JRE can find your JNIOpenCV.dll by adding:
              System.out.println("java.library.path="+System.getProperty("java.library.path"));
              to the static constructor block.



              However, I think the issue here isn't finding your JNIOpenCV.dll file, but a file that it depends on. Open your .dll in dependency walker (just drag it in there) and look out for any error messages (except msjava.dll - ignore that, it doesn't matter). Most likely my hunch is that you need the Microsoft Visual C/C++ runtime libraries, download them from the Visual Studio website and put them in the same folder as your dll.



              Best of luck!






              share|improve this answer
























              • Hey Thanks a million for the reply......though i havnt checked the java.library.path thingy ...i opened the JNI2OpenCV.dll in dependency walker and could understand much would you help me in that? img221.imageshack.us/img221/5042/helpf.jpg

                – user293252
                Mar 18 '10 at 7:42











              • Here i added and found the java.library.path ' java.library.path=C:Program FilesJavajdk1.6.0_18bin;.;C:WINDOWSSunJavabin;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSsystem32WBEM;C:Program FilesIntelDMIX;C:OpenCV2.0bin;C:SunSDKjdkbin;C:Program FilesQuickTimeQTSystem;C:Program FilesMySQLMySQL Server 5.1bin;C:SunSDKbin '

                – user293252
                Mar 18 '10 at 7:44











              • The dependency walker seems to look good, MSJAVA and MPR commonly have errors, so if everything else that isn't visible is fine,t hen it is ok. System.loadLibrary() looks for the library in the path you have above, and since your dll isn't there, it isn't being loaded. You could either move it or use System.load(), which expects the full path and filename (and extension) for the DLL.

                – ianium
                Mar 22 '10 at 22:54














              0












              0








              0







              If you are using JNI on Windows, Dependency Walker is going to be your friend.



              But, before we get to that first verify that the JRE can find your JNIOpenCV.dll by adding:
              System.out.println("java.library.path="+System.getProperty("java.library.path"));
              to the static constructor block.



              However, I think the issue here isn't finding your JNIOpenCV.dll file, but a file that it depends on. Open your .dll in dependency walker (just drag it in there) and look out for any error messages (except msjava.dll - ignore that, it doesn't matter). Most likely my hunch is that you need the Microsoft Visual C/C++ runtime libraries, download them from the Visual Studio website and put them in the same folder as your dll.



              Best of luck!






              share|improve this answer













              If you are using JNI on Windows, Dependency Walker is going to be your friend.



              But, before we get to that first verify that the JRE can find your JNIOpenCV.dll by adding:
              System.out.println("java.library.path="+System.getProperty("java.library.path"));
              to the static constructor block.



              However, I think the issue here isn't finding your JNIOpenCV.dll file, but a file that it depends on. Open your .dll in dependency walker (just drag it in there) and look out for any error messages (except msjava.dll - ignore that, it doesn't matter). Most likely my hunch is that you need the Microsoft Visual C/C++ runtime libraries, download them from the Visual Studio website and put them in the same folder as your dll.



              Best of luck!







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Mar 17 '10 at 4:23









              ianiumianium

              11




              11













              • Hey Thanks a million for the reply......though i havnt checked the java.library.path thingy ...i opened the JNI2OpenCV.dll in dependency walker and could understand much would you help me in that? img221.imageshack.us/img221/5042/helpf.jpg

                – user293252
                Mar 18 '10 at 7:42











              • Here i added and found the java.library.path ' java.library.path=C:Program FilesJavajdk1.6.0_18bin;.;C:WINDOWSSunJavabin;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSsystem32WBEM;C:Program FilesIntelDMIX;C:OpenCV2.0bin;C:SunSDKjdkbin;C:Program FilesQuickTimeQTSystem;C:Program FilesMySQLMySQL Server 5.1bin;C:SunSDKbin '

                – user293252
                Mar 18 '10 at 7:44











              • The dependency walker seems to look good, MSJAVA and MPR commonly have errors, so if everything else that isn't visible is fine,t hen it is ok. System.loadLibrary() looks for the library in the path you have above, and since your dll isn't there, it isn't being loaded. You could either move it or use System.load(), which expects the full path and filename (and extension) for the DLL.

                – ianium
                Mar 22 '10 at 22:54



















              • Hey Thanks a million for the reply......though i havnt checked the java.library.path thingy ...i opened the JNI2OpenCV.dll in dependency walker and could understand much would you help me in that? img221.imageshack.us/img221/5042/helpf.jpg

                – user293252
                Mar 18 '10 at 7:42











              • Here i added and found the java.library.path ' java.library.path=C:Program FilesJavajdk1.6.0_18bin;.;C:WINDOWSSunJavabin;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSsystem32WBEM;C:Program FilesIntelDMIX;C:OpenCV2.0bin;C:SunSDKjdkbin;C:Program FilesQuickTimeQTSystem;C:Program FilesMySQLMySQL Server 5.1bin;C:SunSDKbin '

                – user293252
                Mar 18 '10 at 7:44











              • The dependency walker seems to look good, MSJAVA and MPR commonly have errors, so if everything else that isn't visible is fine,t hen it is ok. System.loadLibrary() looks for the library in the path you have above, and since your dll isn't there, it isn't being loaded. You could either move it or use System.load(), which expects the full path and filename (and extension) for the DLL.

                – ianium
                Mar 22 '10 at 22:54

















              Hey Thanks a million for the reply......though i havnt checked the java.library.path thingy ...i opened the JNI2OpenCV.dll in dependency walker and could understand much would you help me in that? img221.imageshack.us/img221/5042/helpf.jpg

              – user293252
              Mar 18 '10 at 7:42





              Hey Thanks a million for the reply......though i havnt checked the java.library.path thingy ...i opened the JNI2OpenCV.dll in dependency walker and could understand much would you help me in that? img221.imageshack.us/img221/5042/helpf.jpg

              – user293252
              Mar 18 '10 at 7:42













              Here i added and found the java.library.path ' java.library.path=C:Program FilesJavajdk1.6.0_18bin;.;C:WINDOWSSunJavabin;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSsystem32WBEM;C:Program FilesIntelDMIX;C:OpenCV2.0bin;C:SunSDKjdkbin;C:Program FilesQuickTimeQTSystem;C:Program FilesMySQLMySQL Server 5.1bin;C:SunSDKbin '

              – user293252
              Mar 18 '10 at 7:44





              Here i added and found the java.library.path ' java.library.path=C:Program FilesJavajdk1.6.0_18bin;.;C:WINDOWSSunJavabin;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSsystem32WBEM;C:Program FilesIntelDMIX;C:OpenCV2.0bin;C:SunSDKjdkbin;C:Program FilesQuickTimeQTSystem;C:Program FilesMySQLMySQL Server 5.1bin;C:SunSDKbin '

              – user293252
              Mar 18 '10 at 7:44













              The dependency walker seems to look good, MSJAVA and MPR commonly have errors, so if everything else that isn't visible is fine,t hen it is ok. System.loadLibrary() looks for the library in the path you have above, and since your dll isn't there, it isn't being loaded. You could either move it or use System.load(), which expects the full path and filename (and extension) for the DLL.

              – ianium
              Mar 22 '10 at 22:54





              The dependency walker seems to look good, MSJAVA and MPR commonly have errors, so if everything else that isn't visible is fine,t hen it is ok. System.loadLibrary() looks for the library in the path you have above, and since your dll isn't there, it isn't being loaded. You could either move it or use System.load(), which expects the full path and filename (and extension) for the DLL.

              – ianium
              Mar 22 '10 at 22:54













              0














              You should take a look here, a few of the examples are hooked up with JNI:



              http://code.google.com/p/android-opencv/






              share|improve this answer




























                0














                You should take a look here, a few of the examples are hooked up with JNI:



                http://code.google.com/p/android-opencv/






                share|improve this answer


























                  0












                  0








                  0







                  You should take a look here, a few of the examples are hooked up with JNI:



                  http://code.google.com/p/android-opencv/






                  share|improve this answer













                  You should take a look here, a few of the examples are hooked up with JNI:



                  http://code.google.com/p/android-opencv/







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Aug 24 '10 at 5:05









                  peter karasevpeter karasev

                  1,77812037




                  1,77812037























                      0














                      I have created a working Android example using OpenCV 2.3.1 and Eclipse instead of Netbeans.



                      This small tutorial describes a robot following torchlight. The page contains the necessary steps and the source code as well.






                      share|improve this answer




























                        0














                        I have created a working Android example using OpenCV 2.3.1 and Eclipse instead of Netbeans.



                        This small tutorial describes a robot following torchlight. The page contains the necessary steps and the source code as well.






                        share|improve this answer


























                          0












                          0








                          0







                          I have created a working Android example using OpenCV 2.3.1 and Eclipse instead of Netbeans.



                          This small tutorial describes a robot following torchlight. The page contains the necessary steps and the source code as well.






                          share|improve this answer













                          I have created a working Android example using OpenCV 2.3.1 and Eclipse instead of Netbeans.



                          This small tutorial describes a robot following torchlight. The page contains the necessary steps and the source code as well.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Dec 21 '11 at 13:36









                          ricsrics

                          3,99232440




                          3,99232440






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Stack Overflow!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f2441198%2fopencv-to-jni-how-to-make-it-work%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

                              Calculate evaluation metrics using cross_val_predict sklearn

                              Insert data from modal to MySQL (multiple modal on website)