0

I'm trying to calibrate my camera but I have some errors. When I try to compile the program in opencv/samples/calib3d.cpp, CodeBlocks tells me that I have errors in calib3d.hpp. I did some research and I find the probleem is in

#define CV_CALIB_USE_INTRINSIC_GUESS   
#define CV_CALIB_FIX_ASPECT_RATIO 

so if I gave a value to this lign, for exemple

#define CV_CALIB_USE_INTRINSIC_GUESS   1
#define CV_CALIB_FIX_ASPECT_RATIO 2

The program now works, so how can I find the exact value required? Is there any other way to make the program work?

aspiring_sarge
  • 2,355
  • 1
  • 25
  • 32
avatar12
  • 35
  • 6

0 Answers0