HamoudaOthman / javacv

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

find and draw chessboard for undistortion #73

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.

in opencv_calib3d.java

public static native int cvFindChessboardCorners(CvArr image, @ByVal CvSize 
pattern_size,
            CvPoint2D32f corners, int[] corner_count/*=null*/, 
            int flags/*=CV_CALIB_CB_ADAPTIVE_THRESH | CV_CALIB_CB_NORMALIZE_IMAGE */);

in native c function

int cvFindChessboardCorners(const void* image, CvSize patternSize, 
CvPoint2D32f* corners, int* cornerCount=NULL, int 
flags=CV_CALIB_CB_ADAPTIVE_THRESH)

2.
3.

What is the expected output? What do you see instead?
->  int[] corner_count  Vs  int *cornerCount
what should I put in here? I tried int[] corner_count; variable but it crashed. 
Overall codes are from "Learning OpenCV" by Gary & Adrian.(CH.11 Calibration)

What version of the product are you using? On what operating system?

Please provide any additional information below.

# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x67365456, pid=2228, tid=2468
#
# JRE version: 6.0_25-b06
# Java VM: Java HotSpot(TM) Client VM (20.0-b11 mixed mode windows-x86 )
# Problematic frame:
# C  [opencv_imgproc220.dll+0xc5456]
#
# An error report file with more information is saved as:
# E:\NML Tools\processing-1.5\hs_err_pid2228.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.

Original issue reported on code.google.com by limch0...@gmail.com on 22 May 2011 at 9:20

GoogleCodeExporter commented 8 years ago
You put the same thing as you would put in C/C++. If you have a test case that 
fails, please post it. 

If this is not an issue with JavaCV and you simply do not know /how to use/ 
JavaCV, please post on the mailing list, thank you.

Original comment by samuel.a...@gmail.com on 22 May 2011 at 9:41

GoogleCodeExporter commented 8 years ago
I am guessing the issue has been resolved...

Original comment by samuel.a...@gmail.com on 10 Jun 2011 at 1:40

GoogleCodeExporter commented 8 years ago
I am having this exact same problem too. Here is the log generated by JRE.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000076e132d0, pid=8776, 
tid=6560
#
# JRE version: 7.0_01-b08
# Java VM: Java HotSpot(TM) 64-Bit Server VM (21.1-b02 mixed mode windows-amd64 
compressed oops)
# Problematic frame:
# C  [ntdll.dll+0x532d0]
#
# Failed to write core dump. Minidumps are not enabled by default on client 
versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x000000000648c000):  JavaThread "Thread-1" [_thread_in_native, 
id=6560, stack(0x00000000083f0000,0x00000000084f0000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000e574c9a7a58

Registers:
RAX=0x0000000043ce0000, RBX=0x00000e574c9a7a50, RCX=0x000000ffffffffff, 
RDX=0x00000000094bae30
RSP=0x00000000084ee410, RBP=0x0000000000000000, RSI=0x0000000000460000, 
RDI=0x00000000094bae40
R8 =0x00000000094bae40, R9 =0x0000000000000204, R10=0x0000000000000182, 
R11=0x000000000000001b
R12=0x00000000084eea88, R13=0x0000000000000000, R14=0x00000000084eeaf8, 
R15=0x0000000000000001
RIP=0x0000000076e132d0, EFLAGS=0x0000000000010206

Top of Stack: (sp=0x00000000084ee410)
0x00000000084ee410:   0000000000460000 0002000024c70001
0x00000000084ee420:   0000000000000000 000000000965ddf0
0x00000000084ee430:   0000000000000000 00000000084eea88
0x00000000084ee440:   00000000ffffffff 0000000000000000
0x00000000084ee450:   0000000000000001 00000000084eeaf8
0x00000000084ee460:   0000000000000000 00000000084eea88
0x00000000084ee470:   00000000ffffffff 0000000000000000
0x00000000084ee480:   00000000084ee660 000000007686301a
0x00000000084ee490:   0000000000460230 0000000007d0fb60
0x00000000084ee4a0:   00000000000003ff 00000000084ee780
0x00000000084ee4b0:   0000000007d0fb60 0000000061548cc4
0x00000000084ee4c0:   fffffffffffffffe 0000000000000cb9
0x00000000084ee4d0:   0000b2f600010000 000007fee84a4d04
0x00000000084ee4e0:   0000000007d0fb60 000007fee8230b21
0x00000000084ee4f0:   0000000007d0fb60 000007fee85556c6
0x00000000084ee500:   0000b2f6f5e9dcae 0000000000000101 

Instructions: (pc=0x0000000076e132d0)
0x0000000076e132b0:   ff ff 00 00 00 48 33 de 48 23 c1 48 c1 eb 04 48
0x0000000076e132c0:   33 d8 48 33 1d ff f0 0d 00 48 c1 e3 04 0f 0d 0b
0x0000000076e132d0:   4c 8b 63 08 49 bd 01 00 00 00 01 00 00 00 49 be
0x0000000076e132e0:   ff 7f 00 00 ff ff ff ff c6 42 0f 80 c6 42 0e 00 

Register to memory mapping:

RAX=0x0000000043ce0000 is an unknown value
RBX=0x00000e574c9a7a50 is an unknown value
RCX=0x000000ffffffffff is an unknown value
RDX=0x00000000094bae30 is an unknown value
RSP=0x00000000084ee410 is pointing into the stack for thread: 0x000000000648c000
RBP=0x0000000000000000 is an unknown value
RSI=0x0000000000460000 is an unknown value
RDI=0x00000000094bae40 is an unknown value
R8 =0x00000000094bae40 is an unknown value
R9 =0x0000000000000204 is an unknown value
R10=0x0000000000000182 is an unknown value
R11=0x000000000000001b is an unknown value
R12=0x00000000084eea88 is pointing into the stack for thread: 0x000000000648c000
R13=0x0000000000000000 is an unknown value
R14=0x00000000084eeaf8 is pointing into the stack for thread: 0x000000000648c000
R15=0x0000000000000001 is an unknown value

Stack: [0x00000000083f0000,0x00000000084f0000],  sp=0x00000000084ee410,  free 
space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [ntdll.dll+0x532d0]  RtlFreeHeap+0xd0

[error occurred during error reporting (printing native stack), id 0xc0000005]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  
com.googlecode.javacv.cpp.opencv_calib3d.cvFindChessboardCorners(Lcom/googlecode
/javacv/cpp/opencv_core$CvArr;Lcom/googlecode/javacv/cpp/opencv_core$CvSize;Lcom
/googlecode/javacv/cpp/opencv_core$CvPoint2D32f;[II)I+0
j  software.eng.Camera.run()V+103
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x0000000009413800 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=6648, stack(0x000000000d850000,0x000000000d950000)]
  0x0000000007ce6800 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=7072, stack(0x000000000d320000,0x000000000d420000)]
  0x0000000007cb9000 JavaThread "BaseCreateLabDeviceConnectivityManager.executorService pool-1-thread-1" daemon [_thread_blocked, id=8884, stack(0x0000000008c50000,0x0000000008d50000)]
  0x0000000007b0a800 JavaThread "DatasetPlotter.executorService pool-4-thread-1" daemon [_thread_blocked, id=8872, stack(0x000000000a9c0000,0x000000000aac0000)]
  0x0000000007b09800 JavaThread "DatasetPlotter.executorService pool-3-thread-1" daemon [_thread_blocked, id=8876, stack(0x0000000009b00000,0x0000000009c00000)]
  0x00000000092c6800 JavaThread "DatasetPlotter.executorService pool-2-thread-1" daemon [_thread_blocked, id=8868, stack(0x000000000a860000,0x000000000a960000)]
  0x0000000007b05000 JavaThread "AWT-Windows" daemon [_thread_in_native, id=8864, stack(0x00000000097f0000,0x00000000098f0000)]
  0x0000000007ca6800 JavaThread "AWT-Shutdown" [_thread_blocked, id=8860, stack(0x0000000009db0000,0x0000000009eb0000)]
  0x0000000007c2c000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=8856, stack(0x0000000009c10000,0x0000000009d10000)]
=>0x000000000648c000 JavaThread "Thread-1" [_thread_in_native, id=6560, 
stack(0x00000000083f0000,0x00000000084f0000)]
  0x00000000063c9800 JavaThread "Service Thread" daemon [_thread_blocked, id=8788, stack(0x00000000075e0000,0x00000000076e0000)]
  0x00000000063b9800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=8796, stack(0x00000000073d0000,0x00000000074d0000)]
  0x00000000063a6000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=8800, stack(0x00000000071e0000,0x00000000072e0000)]
  0x000000000639e800 JavaThread "Attach Listener" daemon [_thread_blocked, id=8808, stack(0x0000000006ff0000,0x00000000070f0000)]
  0x0000000006399800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=8804, stack(0x0000000006d90000,0x0000000006e90000)]
  0x00000000022c7000 JavaThread "Finalizer" daemon [_thread_blocked, id=8812, stack(0x0000000006900000,0x0000000006a00000)]
  0x00000000022bd800 JavaThread "Reference Handler" daemon [_thread_blocked, id=8828, stack(0x0000000006c30000,0x0000000006d30000)]
  0x000000000046b800 JavaThread "main" [_thread_blocked, id=3360, stack(0x00000000023a0000,0x00000000024a0000)]

Other Threads:
  0x00000000022b9000 VMThread [stack: 0x0000000006ac0000,0x0000000006bc0000] [id=8824]
  0x00000000063e2000 WatcherThread [stack: 0x0000000007810000,0x0000000007910000] [id=8792]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 PSYoungGen      total 38144K, used 31831K [0x00000007d56b0000, 0x00000007d8140000, 0x0000000800000000)
  eden space 32704K, 97% used [0x00000007d56b0000,0x00000007d75c5e48,0x00000007d76a0000)
  from space 5440K, 0% used [0x00000007d7bf0000,0x00000007d7bf0000,0x00000007d8140000)
  to   space 5440K, 0% used [0x00000007d76a0000,0x00000007d76a0000,0x00000007d7bf0000)
 PSOldGen        total 87232K, used 0K [0x0000000780400000, 0x0000000785930000, 0x00000007d56b0000)
  object space 87232K, 0% used [0x0000000780400000,0x0000000780400000,0x0000000785930000)
 PSPermGen       total 21248K, used 12935K [0x000000077b200000, 0x000000077c6c0000, 0x0000000780400000)
  object space 21248K, 60% used [0x000000077b200000,0x000000077bea1e18,0x000000077c6c0000)

Code Cache  [0x00000000024a0000, 0x0000000002710000, 0x00000000054a0000)
 total_blobs=568 nmethods=55 adapters=464 free_code_cache=48503Kb largest_free_block=49648064

Dynamic libraries:
0x000000013fdc0000 - 0x000000013fdf3000     C:\Program 
Files\Java\jre7\bin\javaw.exe
0x0000000076dc0000 - 0x0000000076f69000     C:\Windows\SYSTEM32\ntdll.dll
0x0000000076840000 - 0x000000007695f000     C:\Windows\system32\kernel32.dll
0x000007fefc8c0000 - 0x000007fefc92c000     C:\Windows\system32\KERNELBASE.dll
0x000007fefe280000 - 0x000007fefe35b000     C:\Windows\system32\ADVAPI32.dll
0x000007fefda90000 - 0x000007fefdb2f000     C:\Windows\system32\msvcrt.dll
0x000007fefcc40000 - 0x000007fefcc5f000     C:\Windows\SYSTEM32\sechost.dll
0x000007fefe360000 - 0x000007fefe48d000     C:\Windows\system32\RPCRT4.dll
0x0000000076ab0000 - 0x0000000076baa000     C:\Windows\system32\USER32.dll
0x000007fefda20000 - 0x000007fefda87000     C:\Windows\system32\GDI32.dll
0x000007fefd9f0000 - 0x000007fefd9fe000     C:\Windows\system32\LPK.dll
0x000007fefcaf0000 - 0x000007fefcbb9000     C:\Windows\system32\USP10.dll
0x000007fefb040000 - 0x000007fefb234000 
    C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.
7601.17514_none_fa396087175ac9ac\COMCTL32.dll
0x000007fefcbc0000 - 0x000007fefcc31000     C:\Windows\system32\SHLWAPI.dll
0x000007fefded0000 - 0x000007fefdefe000     C:\Windows\system32\IMM32.DLL
0x000007fefdf00000 - 0x000007fefe009000     C:\Windows\system32\MSCTF.dll
0x00000000614e0000 - 0x00000000615b1000     C:\Program 
Files\Java\jre7\bin\msvcr100.dll
0x0000000059660000 - 0x0000000059d2d000     C:\Program 
Files\Java\jre7\bin\server\jvm.dll
0x000007fef0d90000 - 0x000007fef0d99000     C:\Windows\system32\WSOCK32.dll
0x000007fefe570000 - 0x000007fefe5bd000     C:\Windows\system32\WS2_32.dll
0x000007fefcae0000 - 0x000007fefcae8000     C:\Windows\system32\NSI.dll
0x000007fefa780000 - 0x000007fefa7bb000     C:\Windows\system32\WINMM.dll
0x0000000076f80000 - 0x0000000076f87000     C:\Windows\system32\PSAPI.DLL
0x00000000744f0000 - 0x00000000744ff000     C:\Program 
Files\Java\jre7\bin\verify.dll
0x000000006c270000 - 0x000000006c298000     C:\Program Files\Java\jre7\bin\java.dll
0x0000000074280000 - 0x0000000074295000     C:\Program Files\Java\jre7\bin\zip.dll
0x00000000726b0000 - 0x0000000072748000     C:\Windows\System32\msvcp100.dll
0x000007fefa1b0000 - 0x000007fefa1e0000 
    C:\opencv\build\common\tbb\intel64\vc10\tbb.dll
0x000007fee8450000 - 0x000007fee8654000 
    C:\opencv\build\x64\vc10\bin\opencv_core231.dll
0x000007fefbf90000 - 0x000007fefbfa7000     C:\Windows\system32\CRYPTSP.dll
0x000007fefbb60000 - 0x000007fefbba7000     C:\Windows\system32\rsaenh.dll
0x000007fefba50000 - 0x000007fefba6e000     C:\Windows\system32\USERENV.dll
0x000007fefc710000 - 0x000007fefc71f000     C:\Windows\system32\profapi.dll
0x000007fefc600000 - 0x000007fefc60f000     C:\Windows\system32\CRYPTBASE.dll
0x00000000744b0000 - 0x00000000744c9000     C:\Program Files\Java\jre7\bin\net.dll
0x000007fefbee0000 - 0x000007fefbf35000     C:\Windows\system32\mswsock.dll
0x000007fefc130000 - 0x000007fefc137000     C:\Windows\System32\wship6.dll
0x000007fefaa90000 - 0x000007fefaaa5000     C:\Windows\system32\NLAapi.dll
0x000007fefaee0000 - 0x000007fefaef5000     C:\Windows\system32\napinsp.dll
0x000007fefa6e0000 - 0x000007fefa6f9000     C:\Windows\system32\pnrpnsp.dll
0x000007fefbd70000 - 0x000007fefbdcb000     C:\Windows\system32\DNSAPI.dll
0x000007fefa6d0000 - 0x000007fefa6db000     C:\Windows\System32\winrnr.dll
0x000007fefb920000 - 0x000007fefb927000     C:\Windows\System32\wshtcpip.dll
0x000007fefa480000 - 0x000007fefa4a7000     C:\Windows\system32\IPHLPAPI.DLL
0x000007fefa420000 - 0x000007fefa42b000     C:\Windows\system32\WINNSI.DLL
0x000007fef8f40000 - 0x000007fef8f48000     C:\Windows\system32\rasadhlp.dll
0x000007fefa300000 - 0x000007fefa353000     C:\Windows\System32\fwpuclnt.dll
0x0000000074260000 - 0x0000000074271000     C:\Program Files\Java\jre7\bin\nio.dll
0x000007fee8c20000 - 0x000007fee8c9c000 
    C:\Users\michaelvarga\AppData\Local\Temp\jniopencv_core175073657600174301.dll
0x000007fee81e0000 - 0x000007fee8449000 
    C:\opencv\build\x64\vc10\bin\opencv_imgproc231.dll
0x000007fee8bd0000 - 0x000007fee8c14000 
    C:\Users\michaelvarga\AppData\Local\Temp\jniopencv_imgproc1764351083827899087.d
ll
0x000007fee99b0000 - 0x000007fee9ace000 
    C:\opencv\build\x64\vc10\bin\opencv_highgui231.dll
0x000007fefe070000 - 0x000007fefe273000     C:\Windows\system32\ole32.dll
0x000007fefe490000 - 0x000007fefe567000     C:\Windows\system32\OLEAUT32.dll
0x000007fefa190000 - 0x000007fefa1af000     C:\Windows\system32\AVIFIL32.dll
0x000007fef2610000 - 0x000007fef2628000     C:\Windows\system32\MSACM32.dll
0x000007fef3fb0000 - 0x000007fef3fd9000     C:\Windows\system32\MSVFW32.dll
0x000007fefcc60000 - 0x000007fefd9e8000     C:\Windows\system32\SHELL32.dll
0x000007fefa250000 - 0x000007fefa267000     C:\Windows\system32\AVICAP32.dll
0x000007fefb850000 - 0x000007fefb85c000     C:\Windows\system32\VERSION.dll
0x000007fefae80000 - 0x000007fefaed6000     C:\Windows\system32\uxtheme.dll
0x000007fefa170000 - 0x000007fefa180000 
    C:\Users\michaelvarga\AppData\Local\Temp\jniopencv_highgui8987891499869371563.d
ll
0x000007fefde30000 - 0x000007fefdec9000     C:\Windows\system32\CLBCatQ.DLL
0x000007fef0b40000 - 0x000007fef0b56000     C:\Windows\system32\devenum.dll
0x000007fefdb30000 - 0x000007fefdd07000     C:\Windows\system32\setupapi.dll
0x000007fefc880000 - 0x000007fefc8b6000     C:\Windows\system32\CFGMGR32.dll
0x000007fefc860000 - 0x000007fefc87a000     C:\Windows\system32\DEVOBJ.dll
0x000007fefac30000 - 0x000007fefac5d000     C:\Windows\system32\ntmarta.dll
0x000007fefe010000 - 0x000007fefe062000     C:\Windows\system32\WLDAP32.dll
0x000007fefcaa0000 - 0x000007fefcada000     C:\Windows\system32\WINTRUST.dll
0x000007fefc930000 - 0x000007fefca97000     C:\Windows\system32\CRYPT32.dll
0x000007fefc7b0000 - 0x000007fefc7bf000     C:\Windows\system32\MSASN1.dll
0x000007fef0b30000 - 0x000007fef0b3d000     C:\Windows\system32\msdmo.dll
0x000007fef3f80000 - 0x000007fef3faf000     C:\Windows\system32\qcap.dll
0x000007fee8020000 - 0x000007fee81d2000     C:\Windows\system32\quartz.dll
0x000007fefa430000 - 0x000007fefa448000     C:\Windows\system32\dwmapi.dll
0x000007fef3f30000 - 0x000007fef3f71000     C:\Windows\system32\ksproxy.ax
0x0000000074660000 - 0x0000000074666000     C:\Windows\system32\ksuser.dll
0x000007fee5e00000 - 0x000007fee5fff000     C:\Windows\system32\d3d9.dll
0x000007fefa4c0000 - 0x000007fefa4c7000     C:\Windows\system32\d3d8thk.dll
0x000007fefa180000 - 0x000007fefa18b000     C:\Windows\system32\vidcap.ax
0x000007fef3f00000 - 0x000007fef3f24000     C:\Windows\system32\kswdmcap.ax
0x000007fee5ca0000 - 0x000007fee5dfc000     C:\Windows\system32\MFC42.dll
0x000007feede50000 - 0x000007feedf01000     C:\Windows\system32\ODBC32.dll
0x0000000060b70000 - 0x0000000060ba8000     C:\Windows\system32\odbcint.dll
0x000007fee9910000 - 0x000007fee99ab000     C:\Windows\System32\qedit.dll
0x000007fefdd10000 - 0x000007fefdda7000     C:\Windows\system32\COMDLG32.dll
0x000007fefac60000 - 0x000007fefae75000 
    C:\Windows\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.175
14_none_2b24536c71ed437a\gdiplus.dll
0x000007fef2370000 - 0x000007fef2461000     C:\Windows\system32\DDRAW.dll
0x000007fef2770000 - 0x000007fef2778000     C:\Windows\system32\DCIMAN32.dll
0x000000005dab0000 - 0x000000005dc43000     C:\Program Files\Java\jre7\bin\awt.dll
0x0000000180000000 - 0x0000000180037000 
    C:\Users\michaelvarga\AppData\Local\Temp\jna2581857985609543894.dll
0x000007fefb3f0000 - 0x000007fefb3fb000     C:\Windows\system32\hid.dll
0x000007fee4e00000 - 0x000007fee5c97000     C:\Windows\system32\nvd3dumx.dll
0x000007fefb290000 - 0x000007fefb2bc000     C:\Windows\system32\powrprof.dll
0x0000000061c40000 - 0x0000000061c74000     C:\Program 
Files\Java\jre7\bin\fontmanager.dll
0x000007fef3720000 - 0x000007fef379c000 
    C:\opencv\build\x64\vc10\bin\opencv_flann231.dll
0x000007fef9f20000 - 0x000007fef9f35000 
    C:\Users\michaelvarga\AppData\Local\Temp\jniopencv_flann2230744033911937194.dll
0x000007fee88b0000 - 0x000007fee8995000 
    C:\opencv\build\x64\vc10\bin\opencv_calib3d231.dll
0x000007fee4cf0000 - 0x000007fee4df9000 
    C:\opencv\build\x64\vc10\bin\opencv_features2d231.dll
0x000007fee8ba0000 - 0x000007fee8bc7000 
    C:\Users\michaelvarga\AppData\Local\Temp\jniopencv_calib3d630797155994385571.dl
l
0x000007fef7ac0000 - 0x000007fef7be5000     C:\Windows\system32\dbghelp.dll

VM Arguments:
jvm_args: -Dfile.encoding=Cp1252 
java_command: software.eng.Camera
Launcher Type: SUN_STANDARD

Environment Variables:
CLASSPATH=C:\Users\michaelvarga\eclipse\jars
PATH=C:\Program Files (x86)\NVIDIA 
Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\ogre1.7.3\bin\debug;C:\ogre1.7.3
\bin\release;C:\Program Files (x86)\CMake 
2.8\bin;C:\Python26;C:\irrlicht-1.7.2\bin\Win32-VisualStudio;C:\Program Files 
(x86)\PostgreSQL\9.1\bin;C:\Program Files (x86)\Java\jre6\bin;C:\Program Files 
(x86)\Java\jre6\bin\client;C:\Program Files 
(x86)\Java\jre6\bin\new_plugin;c:\Program Files (x86)\Microsoft SQL 
Server\110\Tools\Binn\;c:\Program Files\Microsoft SQL 
Server\110\Tools\Binn\;c:\Program Files\Microsoft SQL 
Server\110\DTS\Binn\;C:\opencv\build\common\tbb\intel64\vc10\;C:\opencv\build\x6
4\vc10\bin\;C:\Modeltech_pe_edu_10.0c\win32pe_edu
USERNAME=michaelvarga
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel

---------------  S Y S T E M  ---------------

OS: Windows 7 , 64 bit Build 7601 Service Pack 1

CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 42 stepping 7, 
cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt

Memory: 4k page, physical 8371632k(4359372k free), swap 16741416k(11784120k 
free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (21.1-b02) for windows-amd64 JRE 
(1.7.0_01-b08), built on Oct  3 2011 01:39:25 by "java_re" with unknown MS 
VC++:1600

time: Sun Dec 04 20:58:13 2011
elapsed time: 5 seconds

Original comment by yuck...@gmail.com on 5 Dec 2011 at 2:18

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Please make sure you followed these instructions:
Common issues with OpenCV under Windows 7
http://code.google.com/p/javacv/wiki/Windows7AndOpenCV

Original comment by samuel.a...@gmail.com on 5 Dec 2011 at 4:41

GoogleCodeExporter commented 8 years ago
I want to know how the function
cvFindChessboardCorners(CvArr image, @ByVal CvSize pattern_size,
            CvPoint2D32f corners, int[] corner_count/*=null*/, 
            int flags/*=CV_CALIB_CB_ADAPTIVE_THRESH | CV_CALIB_CB_NORMALIZE_IMAGE */);

find the corners ..when i print corners.x(),corners.y() ..it prints the last 
corner point of chessboard...how to find the rest 

Original comment by rohit.sa...@gmail.com on 11 Dec 2011 at 2:07

GoogleCodeExporter commented 8 years ago
As explained in the README.txt file, use the Pointer.position() method, i.e.: 
corners.position(i) for the i'th point

Original comment by samuel.a...@gmail.com on 11 Dec 2011 at 2:24

GoogleCodeExporter commented 8 years ago
and the 4th parameter in cvAnd() and cvOr()

Original comment by rohit.sa...@gmail.com on 11 Dec 2011 at 4:47