jloyd / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

cvCreateGaussianBGModel fails with java.lang.ExceptionInInitializerError #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. attempting to port bgfg_seg.cpp to java
2. attempt to initialized with cvCreateGaussianBGModel using null for the 
CvGaussBGStatModelParams and attempted with CvGaussBGStatModelParams with the 
following parameters
            params.win_size=2;  
            params.n_gauss=5;
            params.bg_threshold=0.7;
            params.std_threshold=3.5;
            params.minArea=15;
            params.weight_init=0.05;
            params.variance_init=30; 

What is the expected output? What do you see instead?

initialization

What version of the product are you using? On what operating system?
2.1 - fedora core 12

Please provide any additional information below.

Hello Everyone, and hello again Samuel
I have been tinkering with your fantastic jna interface with opencv for a 
while..  Of course every issue I've encountered so far has always been with my 
own source and this probably is not an exception, but I still have not figured 
it out.

Any direction or info you might provide will be greatly appreciated.

Best Regards,
Greg.

Original issue reported on code.google.com by supert...@gmail.com on 30 Jun 2010 at 7:28

GoogleCodeExporter commented 9 years ago
Yes, there was effectively a problem with that Structure, thanks for 
reporting... Could you test the test package at the following URL and let me 
know if it works?
http://www.ok.ctrl.titech.ac.jp/~saudet/javacv.jar
If everything is all right with this fix, I will eventually update the SVN 
server and the official packages in couple of weeks... thanks

Original comment by samuel.a...@gmail.com on 5 Jul 2010 at 12:35

GoogleCodeExporter commented 9 years ago
It appears to work now ! :)
However, I'm getting a crash in the model update - I've entered details in 
Issue 8.
Let me know if I can help, I am quite new to JNA debugging but am starting to 
rtfm now.
Regards,
Greg.

Original comment by supert...@gmail.com on 8 Jul 2010 at 2:17