1 | initial version |
Ok, so to benefit from the drawFrameAxes function per Berak's assessment I reluctantly at first upgraded to Opencv 4.4. I turns out the upgrade was very easy, in part because I don't run multiple versions of OpenCV. Below I document the upgrade using Windows binaries for Visual Studio.
I backed up my current version to something somewhat arbitrary. Next I downloaded the prebuilt windows opencv binaries(.exe file) at source forge for Visual Studio. I extracted the package files to "opencv" folder, the folder I just vacated above. Now I have a backup copy and fresh 4.4 install at c:\opencv. Next I had to upgrade all of my projects by reconfiguring just a few Visual Studio properties:
opencv_core246d.lib was removed from 'Additional Dependencies' replaced with opencv_world440.lib;opencv_world440d.lib Removed cv.h & highgui.h from #include in main (4.0 doesn't support including this anymore ) truncated CV_FILLED to FILLED and CV_WINDOW_AUTOSIZE to WINDOW_AUTOSIZE You can extrapolate from here what to di if you have some variations. Make sure: (Visual Studio) Configuration Properties:
C/C++:
Additional Include Directories:C:\opencv\build\include;
Linker/General:
Additional Library Directories:C:\opencv\build\x64\vc15\lib
Linker/Input: opencv_world440.lib; opencv_world440d.lib;
Of course OpenCV: General configuration for OpenCV 4.4.0 ===================================== Version control: 4.4.0
IF you are going to create new projects, just create them with the changes above.