Git Product home page Git Product logo

Comments (18)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
Thanks for reporting this issue! I think I fixed the cause in this commit:
http://code.google.com/p/javacv/source/detail?r=42b41d0a1b208ab9a8cf71b1830cad1f
8172ce0f
You can get an updated javacv.jar by calling, for example:
    > mvn package -Pffmpeg,videoinput -Djavacpp.skip=true
Does that fix the problem?

Original comment by [email protected] on 27 Apr 2013 at 5:32

  • Changed state: Started

from javacv.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
Seems to be fixed. Thanks!

Original comment by giedoterol on 27 Apr 2013 at 2:41

from javacv.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
[deleted comment]

from javacv.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
I am also getting similar error
C:\Users\AppData\Local\Temp\javacpp286444757914917\jniopencv_nonfree.dll: Can't 
find dependent libraries
when using CvSURFParams params = cvSURFParams(500,1);
How can I obtain the updated javacv.jar file for a non-mavenized project?
Thanks!

Original comment by [email protected] on 2 May 2013 at 12:26

from javacv.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
@all.shyam
My project isn't 'mavenized' either, I cloned JavaCV and built it from source 
using the maven command samuel posted.

However, I do understand using Maven is a hassle so here you go
https://www.dropbox.com/s/f6f5mmuym64189d/javacv.jar

Original comment by giedoterol on 2 May 2013 at 1:52

from javacv.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
@giedoterol , Hi could you please upload the javacv.jar again ? :)

Original comment by [email protected] on 29 Jul 2013 at 6:36

from javacv.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
Guess more people don't like Maven...
https://www.dropbox.com/s/23rt8v0osyeb3q6/javacv.jar

This is the last time I'll be posting a link though, it's not much of an effort 
to enter the command Samuel posted

Original comment by giedoterol on 29 Jul 2013 at 8:03

from javacv.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
[deleted comment]

from javacv.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
[deleted comment]

from javacv.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
I made one myself but it's introducing another error even before reaching the 
line of the last error:
OpenCV Error: Bad argument (Different sizes of objects) in cvCalcEigenObjects, 
file ..\..\..\src\opencv\modules\legacy\src\eigenobjects.cpp, line 1363
Exception in thread "main" java.lang.RuntimeException: 
..\..\..\src\opencv\modules\legacy\src\eigenobjects.cpp:1363: error: (-5) 
Different sizes of objects in function cvCalcEigenObjects
any ideas ?
yours is no different either unfortunately :(

Original comment by [email protected] on 29 Jul 2013 at 8:37

from javacv.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
I've had a lot of problems while doing my project using JavaCV
One of the problems was that the images used for training needed to be the 
exact same size.
I think that was the same error you're getting right now. Are you using images 
of different dimensions?

Original comment by giedoterol on 29 Jul 2013 at 8:43

from javacv.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
[deleted comment]

from javacv.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
They have different sizes yes, but it was ok before I resized them, they were 
too big and made a 2.6 GB xml so I tried to make them smaller and this happened 
!
P.S. Removing some of the images did the trick. Thanks !

Original comment by [email protected] on 29 Jul 2013 at 8:58

from javacv.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
@giedoterol You seem to have a pretty good grip on javaCV's problems do you 
know why the xml files created using cvWrite are so large ? (around 2 GB)

Original comment by [email protected] on 29 Jul 2013 at 11:58

from javacv.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
I've changed a lot of things w.r.t to dependency management in JavaCPP 0.6 and 
JavaCV 0.6. It should all work better now, but please let me know if any new 
problem pops up, thanks!

Original comment by [email protected] on 16 Sep 2013 at 4:11

  • Changed state: Fixed

from javacv.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
[deleted comment]

from javacv.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
I am now getting this error.

I am trying to do feature detection, and during my search I found examples

"ObjectDetection.java"

I cannot find the class for some reason, but it's one of the examples from 
JavaCV.


OpenCV Error: The function/feature is not implemented (OpenCV was built without 
SURF support) in cvExtractSURF, file 
..\..\..\..\opencv\modules\legacy\src\features2d.cpp, line 77
Exception in thread "main" java.lang.RuntimeException: 
..\..\..\..\opencv\modules\legacy\src\features2d.cpp:77: error: (-213) OpenCV 
was built without SURF support in function cvExtractSURF

    at com.googlecode.javacv.cpp.opencv_legacy.cvExtractSURF(Native Method)
    at imagerecognition.FeatureDetection.setSettings(FeatureDetection.java:145)
    at imagerecognition.FeatureDetection.<init>(FeatureDetection.java:54)
    at imagerecognition.FeatureDetection.main(FeatureDetection.java:373)
Java Result: 1

Then after the weird error, I found another example using SURF, which was 
extremely basic.

    static public void detect() {
        final IplImage image = cvLoadImage("image");
        final KeyPoint keyPoints = new KeyPoint();
        final SURF surf = new SURF(2500, 4, 2, true, false);
        // JVM crashes when JavaCV native binaries and OpenCV binaries are build with different versions of VisualStudio
        // For instance, JavaCV is build with VC10 and OpenCV with VC11.
        surf.detect(image, null, keyPoints);

    }


Exception in thread "main" java.lang.UnsatisfiedLinkError: no jniopencv_nonfree 
in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
Java Result: 1

So I'm assuming they both have to do with this?

I'm using the newest JavaCV, I believe 0.7, downloaded January 7th of this 
year(a day after the new update).

I would try the fixes above, but I'm not sure if that's 0.6 javacv jar or not, 
so I'll wait and see

Thanks


Original comment by [email protected] on 1 Feb 2014 at 11:24

from javacv.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
@ExoticDriedMeats The changes in this revision should fix that:
http://code.google.com/p/javacv/source/detail?r=75591364ceb4e3b18e1cd8269caea200
32fc27d0
Thanks for reporting!

Original comment by [email protected] on 2 Feb 2014 at 2:36

from javacv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.