1 | initial version |
The easiest way is to create OpenCV module. But you can also try to include intrin.hpp in your build (copy files if needed) and define some macros, e.g CV_SSE2.
// @file myapp.cpp
#define CV_SSE2
// #define CV_NEON // uncomment for ARM
#include <opencv2/core/hal/intrin.hpp>
...
And your app should have corresponding compiler options enabled, e.g. -mfpu=neon
for GCC/Clang