Ask Your Question

luigidr's profile - activity

2012-12-12 05:43:21 -0600 commented question Wrapping OpenCV with desktop Java: Building for 64-bit x86

Under Windows my JAVA_HOME is set to C:\Program Files\Java\jdk1.7.0_05

2012-11-27 10:54:37 -0600 commented question Wrapping OpenCV with desktop Java: Building for 64-bit x86

Have you tried to set your JAVA_HOME to your JDK and not to your JRE?

2012-11-26 07:08:18 -0600 asked a question Problems with the calibration example in OpenCV 2.4.3

Hi,

I have compiled OpenCV 2.4.3 with the Qt support under Windows 7 x64 and I'm using it with the mingw32 compiler present in the QtSDK.

Right now, I'm playing with the camera calibration, following the tutorial present at http://docs.opencv.org/doc/tutorials/calib3d/camera_calibration/camera_calibration.html

However, the findChessboardCorners() function gives me the following error:

Invalid parameter passed to C runtime function.
Invalid parameter passed to C runtime function.
OpenCV Error: Bad flag (parameter or structure field) (Unrecognized or unsupported array type) in cvGetMat, file D:\Applications\opencv\modules\core\src\array.cpp, line 2482

The same problem is present if I compile (or execute) the samples "calibration.cpp" and "calibration_artificial.cpp".

Anyone with the same problem?

Can you help me at solving the problem?

Thanks!

P.S. The same program works without any problem with OpenCV 2.3.2...

2012-11-26 06:57:50 -0600 received badge  Editor (source)
2012-11-26 06:57:35 -0600 answered a question qt .pro file example

Hi, you can find a sample project of OpenCV (2.4.2) and Qt, made with Qt Creator, at: http://dl.dropbox.com/u/19717924/QtHelloCV.zip

It's a simple project I made for an introduction to OpenCV in a Computer Vision course...

2012-11-26 06:51:44 -0600 commented question Wrapping OpenCV with desktop Java: Building for 64-bit x86

Just an update: with the Visual Studio compiler everything works also under Windows 7 x64!

Tommy, I didn't use Cygwin. In CMake (gui) the BUILD_opencv_java flag is present if you correctly link your JDK path (you have to set the JAVA_HOME environment variable first).

2012-11-03 12:18:22 -0600 received badge  Supporter (source)
2012-11-03 12:17:01 -0600 commented question Wrapping OpenCV with desktop Java: Building for 64-bit x86

Hi! Thank you for your work: I've also been waiting for this for years!

I got all working on Mac OS X and Ubuntu x64, also with the "new" 2.4.3 version.

On Windows 7 x64 I don't have any problem during the compilation but... it doesn't work (the JNI-related error is "Can't find dependent libraries"). I suppose that the problem is the compiler: I'm using mingw32...

Just to let you know!

Thank you again!