opencv functions (cvFindCornerSubPix) return Segmentation fault
Bug #663639 reported by
toomuchcookies
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
opencv (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I was trying to implement a camera calibration using opencv-python and it produced Segmentation faults upon using cv.FindCornerSu
1. It finds the camera and gets the image without problems
2. If a chessboard is partly in the image, it finds the corners that are visible
3. Whenever the whole chessboard appears inside the image, the program crashes with a segmentation fault.
Here is the output:
./calibration -w 8 -h 8
When the live video from camera is used as input, the following hot-keys may be used:
<ESC>, 'q' - quit the program
'g' - start capturing images
'u' - switch undistortion on/off
Segmentation fault
To post a comment you must log in.
Do you by any chance use a 32bit system? I have a similar problem with a seg fault caused by a call to lapack/blas in opencv (I think it is in the same function but at C level, I'm unfortunately not able to test right now). This only occurs on my 32bit system, and it went away when I recompile opencv with their own lapack implementation instead of linking with the Ubuntu lapack package.