hengli / camodocal

CamOdoCal: Automatic Intrinsic and Extrinsic Calibration of a Rig with Multiple Generic Cameras and Odometry
Other
1.16k stars 389 forks source link

no segments, calibration fails #91

Open TengFeiHan0 opened 5 years ago

TengFeiHan0 commented 5 years ago

Screenshot from 2019-08-19 19-27-06 @stanathong I am trying to test the data. Unfortunately, after about twenty minutes, I got an error shown at the above pic, does anyone has met the same problem? highly appreciated if you could give some cues.

stanathong commented 5 years ago

Hi - this dataset worked fine for me when I tested with camodocal but that was in 2016 (I believe?). I haven't tested with the new version - there might have been some modification in the code since then. Did you have a look at the source code of what have caused of error? Sorry if I'm not helpful.

TengFeiHan0 commented 5 years ago

@stanathong OK, I will try to debug it. By the way, How did you get the event.dat? Do I need to record the GPS and camera data simultaneously by using rosbag?

stanathong commented 5 years ago

In my system, I have a multi-cam system temporally synchronised with GPS. As a result, I only have images and GPS (lat, lon). Hence, I was only be able to derive the bearing angle from the GPS data and other angles to be 0 or fixed hand-measured values. The even.dat is created with the assumption that the ground plane is flat and all the angles are saved into the file as quarternion.

EmiyaEstelle commented 4 years ago

Hello, I meet the same problem in Ubuntu 18.04 with OpenCV 3.4.4. But it is OK in my Ubuntu 16.04 with OpenCV 3.3.0. Do you solve it?

cy-goh commented 3 years ago

I encountered this problem when I have CUDA installed in my system.Managed to resolve this by building camodocal without CUDA. Just comment the following lines incmake/Libraryconfig.cmake

# enable GPU enhanced SURF features
# if BOTH CUDA and the OPENCV contrib cuda features are available
if(CUDA_FOUND AND HAVE_OPENCV_CUDAFEATURES2D)
    #add_definitions(-DHAVE_CUDA)
    #message(STATUS "defined HAVE_CUDA")

    #set(CUDA_CUDART_LIBRARY_OPTIONAL ${CUDA_CUDART_LIBRARY})
endif()
caxudong0513 commented 3 years ago

Screenshot from 2019-08-19 19-27-06 @stanathong I am trying to test the data. Unfortunately, after about twenty minutes, I got an error shown at the above pic, does anyone has met the same problem? highly appreciated if you could give some cues.

hi,where can i get this datasets for test ? thank you

sandeepnmenon commented 2 years ago

+1 Can someone post an example for the pose file or the events.dat event data? ( @TengFeiHan0 ) @caxudong0513 Did you obtain the data?