Comments (11)
Original comment by [email protected]
on 29 Jan 2011 at 12:50
- Changed state: Accepted
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from javacv.
Sorry, didn't work for me...
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77a12a1d, pid=1964, tid=576
#
# JRE version: 6.0_23-b05
# Java VM: Java HotSpot(TM) Client VM (19.0-b09 mixed mode, sharing windows-x86
)
# Problematic frame:
# C [ntdll.dll+0x32a1d]
Tested with OpenCV 2.1, Windows 7 Professional 64bit, Netbeans IDE 6.9.1
no Idea what is wrong.
But thanks für the samples, now i just need to get them working :)
Original comment by [email protected]
on 14 Feb 2011 at 3:51
Attachments:
from javacv.
Please, check the file paths to all the PNG files - i.e.
- image0.png
- image1.png
- image0.png (dont forget the last one)
Original comment by [email protected]
on 14 Feb 2011 at 7:19
from javacv.
Thanks for the quick answer, but i already checked that. To be sure about that,
i just deleted the images, now i get a different Error (Runtime Error - Array
should be CvMat or IplImage...), so this is not the Problem.
With the last one i guess you mean image0-1.png
I already figured out, that the cvCalcOpticalFlowPyrLK causes the problem.
Now i tried on another System, Vista 32bit, OpenCV 2.1, Netbeans 3.8: same
problem
I would say there is something wrong with the environment, but no idea what. I
have the latest Java Version, OpenCV 2.1, added the .jar (JNA and JavaCv) to my
Project. That shuold have been all.
Original comment by [email protected]
on 15 Feb 2011 at 7:05
from javacv.
I have almost the same configuration as you mentioned before:
OpenCV 2.1, Windows 7 Professional 64bit, Eclipse IDE (not importatnt), JRE
version 1.6.0_23
I think that the problem is in DLLs
You can try these DLLs:
http://spl.utko.feec.vutbr.cz/cs/component/content/article/21-zpracovani-medicin
skych-signalu/261-rapidminer-5-opencv-extension
Download the i686 version
http://spl.utko.feec.vutbr.cz/images/stories/rapidminer/rmx_opencv/opencv210_Win
_i686.zip
Run the JRE with this VM argument:
-Djna.library.path=c:\path\to\downloaded\DLLs
Original comment by [email protected]
on 15 Feb 2011 at 8:48
from javacv.
Sorry, i dont really know what i should download here.
The first link points to a homepage with a lot of dead links, do you mean i
should try something with rapidminer?
second link does not work either
Original comment by [email protected]
on 15 Feb 2011 at 9:16
from javacv.
Sorry for that and thank you for notifying me about that. The links on the site
should be now corrected.
i686
http://spl.utko.feec.vutbr.cz/images/stories/rapidminer/rmx_opencv/opencv210_win
_i686.zip
and
AMD64
http://spl.utko.feec.vutbr.cz/images/stories/rapidminer/rmx_opencv/opencv210_win
_amd64.zip
-RB-
Original comment by [email protected]
on 15 Feb 2011 at 10:24
from javacv.
Thanks, links work fine now!
I did what yous suggested, downloaded the new .dlls, and ran the code with the
VM argument (of course with my own path to the .dlls).
I'm sorry to say, that nothing changed, still the same Error. But i have some
new information which might help:
Sometimes the build is successful! I dit not change anything, but in maybe 1 of
20 builds i do not get an Error.(I really keep on klicking and re-executing the
program until it works). This happens both with your new .dlls and also with
the old .dlls
The whole thing is getting even more confusing now, I have no idea what cuold
cause such an undeterministic behaviour...
But thanks a lot for your effort, i really appreciate it
Original comment by [email protected]
on 15 Feb 2011 at 12:16
from javacv.
These lines are incorrect:
CvPoint2D32f[] cornersB = new CvPoint2D32f[MAX_CORNERS];
for (int i = 0; i < MAX_CORNERS; i++) {
cornersB[i] = new CvPoint2D32f();
}
Please refer to the README.txt to see how we need to allocate arrays..
Original comment by [email protected]
on 15 Feb 2011 at 1:21
from javacv.
thank you Samuel!
i replaced the array allocation with:
CvPoint2D32f[] cornersB = CvPoint2D32f.createArray(MAX_CORNERS);
now it works! I am very glad that my environment was set up corretly, was
beginning to doubt myself.
Still, i am very greatful for the examples
Original comment by [email protected]
on 15 Feb 2011 at 2:01
from javacv.
Added (a fixed version of this) sample to the samples in latest version. Thank
you for your contribution. Please change status to "Verified" if satisfied.
Original comment by [email protected]
on 19 Feb 2011 at 3:56
- Changed state: Fixed
from javacv.
Related Issues (20)
- how to put audio video javacv? HOT 2
- human detecion (color based) HOT 1
- CanvasFrame blank (on mac with java 7) HOT 1
- av_interleaved_write_frame() error -22 while writing interleaved video frame HOT 3
- Android video record using H264 format is to large HOT 1
- Error while createFisher/Eigen/LBPHFaceRecognizer() method is called. HOT 7
- FFmpegFrameGrabber doesn't grab upto the end of the video on Android HOT 5
- RTMP streaming problems HOT 1
- Unable to record with sample code on HOT 4
- Question about the applying the proguard on android HOT 2
- CODEC_ID_MPEG1VIDEO,PIX_FMT_YUV420P cannot be resolved to a variable HOT 4
- While using OpenCV 2.4.9 and JavaCV 0.7 in netbeans windows 7 getting error HOT 3
- Help me Dr.Samuel..(Fatal signal 8 (SIGFPE) at 0x00002835 (code=-6), thread 10293 ) HOT 4
- multi processing with opencv HOT 2
- Problem on train method in face recognition HOT 1
- how to rotate video with javacv on android HOT 1
- Caused by: java.lang.UnsatisfiedLinkError: Couldn't load opencv_core from loader dalvik.system.PathClassLoader HOT 1
- .mp4 video not working in splash screen in htc desire 500 HOT 1
- How to grab the RGB frame instead the gray one? HOT 2
- reconstructImageToNewType Method not Found
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.