我现在正在使用NDK实现图像处理方法,我想将一些额外的模块,比如xphoto和matlab,导入OpenCV,这样我就可以将额外的库包含到我的cpp文件中。
我已经下载了这些额外的模块。这些模块看起来像这样:
├── CONTRIBUTING.md
├── doc
├── LICENSE
├── modules
├── README.md
└── samples
而 modules
文件夹看起来像这样:
modules
├── aruco
├── bgsegm
├── bioinspired
├── ccalib
├── cnn_3dobj
├── contrib_world
├── cvv
├── datasets
├── dnn
├── dnns_easily_fooled
├── dpm
├── face
├── freetype
├── fuzzy
├── hdf
├── line_descriptor
├── matlab
├── optflow
├── phase_unwrapping
├── plot
├── README.md
├── reg
├── rgbd
├── saliency
├── sfm
├── stereo
├── structured_light
├── surface_matching
├── text
├── tracking
├── xfeatures2d
├── ximgproc
├── xobjdetect
└── xphoto
由于我对配置CMake设置不是很熟悉,请提供详细的步骤。