Comments (18)
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.
Seems to be fixed. Thanks!
Original comment by giedoterol
on 27 Apr 2013 at 2:41
from javacv.
[deleted comment]
from javacv.
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.
@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.
@giedoterol , Hi could you please upload the javacv.jar again ? :)
Original comment by [email protected]
on 29 Jul 2013 at 6:36
from javacv.
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.
[deleted comment]
from javacv.
[deleted comment]
from javacv.
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.
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.
[deleted comment]
from javacv.
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.
@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.
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.
[deleted comment]
from javacv.
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.
@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)
- JavaCv on android doesen't work HOT 5
- Access violation and like that HOT 2
- Face Recognition using Eigen and Fisher Face. HOT 8
- problems to acces data from all the detected patterns with singleTracker HOT 4
- Encoded H264 video using FFmpegFrameRecorder missing last few frames HOT 8
- sample RecordActivity broken version 0.5 HOT 3
- Can't compile JavaCV from source code HOT 2
- cvCalcOpticalFlowPyrLK method will cause fatal error HOT 2
- no jnivideoInputLib in java.library.path HOT 1
- Javacv 0.5 linux-x64 requires new glibc HOT 5
- Using Javacv And Opencv in same project HOT 1
- Null pointer error(native method ) HOT 2
- JavaFX Media Player can not play output video created by Javacv 0.5 HOT 1
- How to grab keyframe from a video with javacv? HOT 23
- [Android + FFMpeg] Encoding error while using FFMpegRecorder in RecordActivity.java HOT 6
- canvas.showimage opens empty window on Mac OS Lion HOT 9
- FFmpegFrameGrabber won't grab till the end of video. HOT 12
- Conversion of audio in FFMpegFrameGrabber HOT 6
- Cached value of CvMat.fullSize and *Buffer fields might get incorrect HOT 34
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javacv.