[DEV] add more support of opencv
This commit is contained in:
parent
38ddf807be
commit
52564ca535
20
generated/opencl_kernels_calib3d.hpp
Normal file
20
generated/opencl_kernels_calib3d.hpp
Normal file
@ -0,0 +1,20 @@
|
||||
// This file is auto-generated. Do not edit!
|
||||
|
||||
#include "opencv2/core/ocl.hpp"
|
||||
#include "opencv2/core/ocl_genbase.hpp"
|
||||
#include "opencv2/core/opencl/ocl_defs.hpp"
|
||||
|
||||
#ifdef HAVE_OPENCL
|
||||
|
||||
namespace cv
|
||||
{
|
||||
namespace ocl
|
||||
{
|
||||
namespace calib3d
|
||||
{
|
||||
|
||||
extern const struct ProgramEntry stereobm;
|
||||
extern ProgramSource stereobm_oclsrc;
|
||||
}
|
||||
}}
|
||||
#endif
|
24
generated/opencl_kernels_features2d.hpp
Normal file
24
generated/opencl_kernels_features2d.hpp
Normal file
@ -0,0 +1,24 @@
|
||||
// This file is auto-generated. Do not edit!
|
||||
|
||||
#include "opencv2/core/ocl.hpp"
|
||||
#include "opencv2/core/ocl_genbase.hpp"
|
||||
#include "opencv2/core/opencl/ocl_defs.hpp"
|
||||
|
||||
#ifdef HAVE_OPENCL
|
||||
|
||||
namespace cv
|
||||
{
|
||||
namespace ocl
|
||||
{
|
||||
namespace features2d
|
||||
{
|
||||
|
||||
extern const struct ProgramEntry brute_force_match;
|
||||
extern ProgramSource brute_force_match_oclsrc;
|
||||
extern const struct ProgramEntry fast;
|
||||
extern ProgramSource fast_oclsrc;
|
||||
extern const struct ProgramEntry orb;
|
||||
extern ProgramSource orb_oclsrc;
|
||||
}
|
||||
}}
|
||||
#endif
|
22
generated/opencl_kernels_objdetect.hpp
Normal file
22
generated/opencl_kernels_objdetect.hpp
Normal file
@ -0,0 +1,22 @@
|
||||
// This file is auto-generated. Do not edit!
|
||||
|
||||
#include "opencv2/core/ocl.hpp"
|
||||
#include "opencv2/core/ocl_genbase.hpp"
|
||||
#include "opencv2/core/opencl/ocl_defs.hpp"
|
||||
|
||||
#ifdef HAVE_OPENCL
|
||||
|
||||
namespace cv
|
||||
{
|
||||
namespace ocl
|
||||
{
|
||||
namespace objdetect
|
||||
{
|
||||
|
||||
extern const struct ProgramEntry cascadedetect;
|
||||
extern ProgramSource cascadedetect_oclsrc;
|
||||
extern const struct ProgramEntry objdetect_hog;
|
||||
extern ProgramSource objdetect_hog_oclsrc;
|
||||
}
|
||||
}}
|
||||
#endif
|
20
generated/opencl_kernels_photo.hpp
Normal file
20
generated/opencl_kernels_photo.hpp
Normal file
@ -0,0 +1,20 @@
|
||||
// This file is auto-generated. Do not edit!
|
||||
|
||||
#include "opencv2/core/ocl.hpp"
|
||||
#include "opencv2/core/ocl_genbase.hpp"
|
||||
#include "opencv2/core/opencl/ocl_defs.hpp"
|
||||
|
||||
#ifdef HAVE_OPENCL
|
||||
|
||||
namespace cv
|
||||
{
|
||||
namespace ocl
|
||||
{
|
||||
namespace photo
|
||||
{
|
||||
|
||||
extern const struct ProgramEntry nlmeans;
|
||||
extern ProgramSource nlmeans_oclsrc;
|
||||
}
|
||||
}}
|
||||
#endif
|
22
generated/opencl_kernels_stitching.hpp
Normal file
22
generated/opencl_kernels_stitching.hpp
Normal file
@ -0,0 +1,22 @@
|
||||
// This file is auto-generated. Do not edit!
|
||||
|
||||
#include "opencv2/core/ocl.hpp"
|
||||
#include "opencv2/core/ocl_genbase.hpp"
|
||||
#include "opencv2/core/opencl/ocl_defs.hpp"
|
||||
|
||||
#ifdef HAVE_OPENCL
|
||||
|
||||
namespace cv
|
||||
{
|
||||
namespace ocl
|
||||
{
|
||||
namespace stitching
|
||||
{
|
||||
|
||||
extern const struct ProgramEntry multibandblend;
|
||||
extern ProgramSource multibandblend_oclsrc;
|
||||
extern const struct ProgramEntry warpers;
|
||||
extern ProgramSource warpers_oclsrc;
|
||||
}
|
||||
}}
|
||||
#endif
|
20
generated/opencl_kernels_superres.hpp
Normal file
20
generated/opencl_kernels_superres.hpp
Normal file
@ -0,0 +1,20 @@
|
||||
// This file is auto-generated. Do not edit!
|
||||
|
||||
#include "opencv2/core/ocl.hpp"
|
||||
#include "opencv2/core/ocl_genbase.hpp"
|
||||
#include "opencv2/core/opencl/ocl_defs.hpp"
|
||||
|
||||
#ifdef HAVE_OPENCL
|
||||
|
||||
namespace cv
|
||||
{
|
||||
namespace ocl
|
||||
{
|
||||
namespace superres
|
||||
{
|
||||
|
||||
extern const struct ProgramEntry superres_btvl1;
|
||||
extern ProgramSource superres_btvl1_oclsrc;
|
||||
}
|
||||
}}
|
||||
#endif
|
26
generated/opencl_kernels_video.hpp
Normal file
26
generated/opencl_kernels_video.hpp
Normal file
@ -0,0 +1,26 @@
|
||||
// This file is auto-generated. Do not edit!
|
||||
|
||||
#include "opencv2/core/ocl.hpp"
|
||||
#include "opencv2/core/ocl_genbase.hpp"
|
||||
#include "opencv2/core/opencl/ocl_defs.hpp"
|
||||
|
||||
#ifdef HAVE_OPENCL
|
||||
|
||||
namespace cv
|
||||
{
|
||||
namespace ocl
|
||||
{
|
||||
namespace video
|
||||
{
|
||||
|
||||
extern const struct ProgramEntry bgfg_mog2;
|
||||
extern ProgramSource bgfg_mog2_oclsrc;
|
||||
extern const struct ProgramEntry optical_flow_farneback;
|
||||
extern ProgramSource optical_flow_farneback_oclsrc;
|
||||
extern const struct ProgramEntry optical_flow_tvl1;
|
||||
extern ProgramSource optical_flow_tvl1_oclsrc;
|
||||
extern const struct ProgramEntry pyrlk;
|
||||
extern ProgramSource pyrlk_oclsrc;
|
||||
}
|
||||
}}
|
||||
#endif
|
88
lutin_opencv-calib3d.py
Normal file
88
lutin_opencv-calib3d.py
Normal file
@ -0,0 +1,88 @@
|
||||
#!/usr/bin/python
|
||||
import lutin.module as module
|
||||
import lutin.tools as tools
|
||||
import os
|
||||
|
||||
def get_type():
|
||||
return "LIBRARY"
|
||||
|
||||
def get_desc():
|
||||
return "opencv Image processing library"
|
||||
|
||||
def get_licence():
|
||||
return "APAPCHE-2"
|
||||
|
||||
def get_maintainer():
|
||||
return ["Maksim Shabunin <maksim.shabunin@itseez.com>"]
|
||||
|
||||
def get_version():
|
||||
return [3,1,0]
|
||||
|
||||
def create(target, module_name):
|
||||
my_module = module.Module(__file__, module_name, get_type())
|
||||
my_module.add_src_file([
|
||||
'opencv/modules/calib3d/src/polynom_solver.cpp',
|
||||
'opencv/modules/calib3d/src/circlesgrid.cpp',
|
||||
'opencv/modules/calib3d/src/compat_ptsetreg.cpp',
|
||||
'opencv/modules/calib3d/src/calibinit.cpp',
|
||||
'opencv/modules/calib3d/src/upnp.cpp',
|
||||
'opencv/modules/calib3d/src/epnp.cpp',
|
||||
'opencv/modules/calib3d/src/checkchessboard.cpp',
|
||||
'opencv/modules/calib3d/src/ptsetreg.cpp',
|
||||
'opencv/modules/calib3d/src/five-point.cpp',
|
||||
'opencv/modules/calib3d/src/fisheye.cpp',
|
||||
'opencv/modules/calib3d/src/levmarq.cpp',
|
||||
'opencv/modules/calib3d/src/stereobm.cpp',
|
||||
'opencv/modules/calib3d/src/triangulate.cpp',
|
||||
'opencv/modules/calib3d/src/compat_stereo.cpp',
|
||||
'opencv/modules/calib3d/src/quadsubpix.cpp',
|
||||
'opencv/modules/calib3d/src/homography_decomp.cpp',
|
||||
'opencv/modules/calib3d/src/stereosgbm.cpp',
|
||||
#'opencv/modules/calib3d/src/opencl/stereobm.cl',
|
||||
'opencv/modules/calib3d/src/calibration.cpp',
|
||||
'opencv/modules/calib3d/src/fundam.cpp',
|
||||
'opencv/modules/calib3d/src/rho.cpp',
|
||||
'opencv/modules/calib3d/src/dls.cpp',
|
||||
'opencv/modules/calib3d/src/posit.cpp',
|
||||
'opencv/modules/calib3d/src/solvepnp.cpp',
|
||||
'opencv/modules/calib3d/src/p3p.cpp',
|
||||
'opencv/modules/calib3d/src/main.cpp',
|
||||
])
|
||||
|
||||
my_module.compile_flags('c++', [
|
||||
"-DCVAPI_EXPORTS",
|
||||
"-D__OPENCV_BUILD=1",
|
||||
"-fsigned-char",
|
||||
"-W",
|
||||
"-Wall",
|
||||
"-Werror=return-type",
|
||||
"-Werror=non-virtual-dtor",
|
||||
"-Werror=address",
|
||||
"-Werror=sequence-point",
|
||||
"-Wformat",
|
||||
"-Werror=format-security",
|
||||
"-Wmissing-declarations",
|
||||
"-Winit-self",
|
||||
"-Wpointer-arith",
|
||||
"-Wshadow",
|
||||
"-Wsign-promo",
|
||||
"-Wno-narrowing",
|
||||
"-Wno-delete-non-virtual-dtor",
|
||||
"-fdiagnostics-show-option",
|
||||
"-Wno-long-long",
|
||||
"-fomit-frame-pointer",
|
||||
"-ffunction-sections",
|
||||
"-fvisibility=hidden",
|
||||
"-fvisibility-inlines-hidden",
|
||||
])
|
||||
my_module.add_header_file(
|
||||
"opencv/modules/calib3d/include/*",
|
||||
recursive=True)
|
||||
my_module.add_module_depend([
|
||||
'opencv-core',
|
||||
'opencv-features2d',
|
||||
])
|
||||
my_module.compile_version("C++", 2003)
|
||||
return my_module
|
||||
|
||||
|
@ -84,7 +84,6 @@ def create(target, module_name):
|
||||
"-Wformat",
|
||||
"-Werror=format-security",
|
||||
"-Wmissing-declarations",
|
||||
"-Wundef",
|
||||
"-Winit-self",
|
||||
"-Wpointer-arith",
|
||||
"-Wshadow",
|
||||
@ -93,15 +92,7 @@ def create(target, module_name):
|
||||
"-Wno-delete-non-virtual-dtor",
|
||||
"-fdiagnostics-show-option",
|
||||
"-Wno-long-long",
|
||||
#"-pthread",
|
||||
"-fomit-frame-pointer",
|
||||
"-msse",
|
||||
"-msse2",
|
||||
"-mno-avx",
|
||||
"-msse3",
|
||||
"-mno-ssse3",
|
||||
"-mno-sse4.1",
|
||||
"-mno-sse4.2",
|
||||
"-ffunction-sections",
|
||||
"-fvisibility=hidden",
|
||||
"-fvisibility-inlines-hidden",
|
||||
@ -130,20 +121,20 @@ def generate_config_file(my_module):
|
||||
file_data = "/* Auto generate file with lutin */\n"
|
||||
file_data+= "#pragma once\n"
|
||||
file_data+= "\n"
|
||||
#file_data+= "#define HAVE_OPENCV_CALIB3D\n"
|
||||
file_data+= "#define HAVE_OPENCV_CALIB3D\n"
|
||||
file_data+= "#define HAVE_OPENCV_CORE\n"
|
||||
#file_data+= "#define HAVE_OPENCV_FEATURES2D\n"
|
||||
#file_data+= "#define HAVE_OPENCV_FLANN\n"
|
||||
file_data+= "#define HAVE_OPENCV_FEATURES2D\n"
|
||||
file_data+= "#define HAVE_OPENCV_FLANN\n"
|
||||
#file_data+= "#define HAVE_OPENCV_HIGHGUI\n"
|
||||
#file_data+= "#define HAVE_OPENCV_IMGCODECS\n"
|
||||
file_data+= "#define HAVE_OPENCV_IMGPROC\n"
|
||||
#file_data+= "#define HAVE_OPENCV_ML\n"
|
||||
#file_data+= "#define HAVE_OPENCV_OBJDETECT\n"
|
||||
#file_data+= "#define HAVE_OPENCV_PHOTO\n"
|
||||
#file_data+= "#define HAVE_OPENCV_SHAPE\n"
|
||||
#file_data+= "#define HAVE_OPENCV_STITCHING\n"
|
||||
#file_data+= "#define HAVE_OPENCV_SUPERRES\n"
|
||||
#file_data+= "#define HAVE_OPENCV_VIDEO\n"
|
||||
file_data+= "#define HAVE_OPENCV_ML\n"
|
||||
file_data+= "#define HAVE_OPENCV_OBJDETECT\n"
|
||||
file_data+= "#define HAVE_OPENCV_PHOTO\n"
|
||||
file_data+= "#define HAVE_OPENCV_SHAPE\n"
|
||||
file_data+= "#define HAVE_OPENCV_STITCHING\n"
|
||||
file_data+= "#define HAVE_OPENCV_SUPERRES\n"
|
||||
file_data+= "#define HAVE_OPENCV_VIDEO\n"
|
||||
#file_data+= "#define HAVE_OPENCV_VIDEOIO\n"
|
||||
#file_data+= "#define HAVE_OPENCV_VIDEOSTAB\n"
|
||||
file_data+= "\n"
|
||||
|
89
lutin_opencv-features2d.py
Normal file
89
lutin_opencv-features2d.py
Normal file
@ -0,0 +1,89 @@
|
||||
#!/usr/bin/python
|
||||
import lutin.module as module
|
||||
import lutin.tools as tools
|
||||
import os
|
||||
|
||||
def get_type():
|
||||
return "LIBRARY"
|
||||
|
||||
def get_desc():
|
||||
return "opencv Image processing library"
|
||||
|
||||
def get_licence():
|
||||
return "APAPCHE-2"
|
||||
|
||||
def get_maintainer():
|
||||
return ["Maksim Shabunin <maksim.shabunin@itseez.com>"]
|
||||
|
||||
def get_version():
|
||||
return [3,1,0]
|
||||
|
||||
def create(target, module_name):
|
||||
my_module = module.Module(__file__, module_name, get_type())
|
||||
my_module.add_src_file([
|
||||
'opencv/modules/features2d/src/bagofwords.cpp',
|
||||
'opencv/modules/features2d/src/kaze/fed.cpp',
|
||||
'opencv/modules/features2d/src/kaze/nldiffusion_functions.cpp',
|
||||
'opencv/modules/features2d/src/kaze/KAZEFeatures.cpp',
|
||||
'opencv/modules/features2d/src/kaze/AKAZEFeatures.cpp',
|
||||
'opencv/modules/features2d/src/agast.cpp',
|
||||
'opencv/modules/features2d/src/agast_score.cpp',
|
||||
'opencv/modules/features2d/src/keypoint.cpp',
|
||||
'opencv/modules/features2d/src/fast.cpp',
|
||||
'opencv/modules/features2d/src/akaze.cpp',
|
||||
'opencv/modules/features2d/src/orb.cpp',
|
||||
'opencv/modules/features2d/src/brisk.cpp',
|
||||
'opencv/modules/features2d/src/mser.cpp',
|
||||
'opencv/modules/features2d/src/kaze.cpp',
|
||||
'opencv/modules/features2d/src/feature2d.cpp',
|
||||
#'opencv/modules/features2d/src/opencl/fast.cl',
|
||||
#'opencv/modules/features2d/src/opencl/orb.cl',
|
||||
#'opencv/modules/features2d/src/opencl/brute_force_match.cl',
|
||||
'opencv/modules/features2d/src/fast_score.cpp',
|
||||
'opencv/modules/features2d/src/evaluation.cpp',
|
||||
'opencv/modules/features2d/src/draw.cpp',
|
||||
'opencv/modules/features2d/src/matchers.cpp',
|
||||
'opencv/modules/features2d/src/dynamic.cpp',
|
||||
'opencv/modules/features2d/src/main.cpp',
|
||||
'opencv/modules/features2d/src/blobdetector.cpp',
|
||||
'opencv/modules/features2d/src/gftt.cpp',
|
||||
])
|
||||
|
||||
my_module.compile_flags('c++', [
|
||||
"-DCVAPI_EXPORTS",
|
||||
"-D__OPENCV_BUILD=1",
|
||||
"-fsigned-char",
|
||||
"-W",
|
||||
"-Wall",
|
||||
"-Werror=return-type",
|
||||
"-Werror=non-virtual-dtor",
|
||||
"-Werror=address",
|
||||
"-Werror=sequence-point",
|
||||
"-Wformat",
|
||||
"-Werror=format-security",
|
||||
"-Wmissing-declarations",
|
||||
"-Winit-self",
|
||||
"-Wpointer-arith",
|
||||
"-Wshadow",
|
||||
"-Wsign-promo",
|
||||
"-Wno-narrowing",
|
||||
"-Wno-delete-non-virtual-dtor",
|
||||
"-fdiagnostics-show-option",
|
||||
"-Wno-long-long",
|
||||
"-fomit-frame-pointer",
|
||||
"-ffunction-sections",
|
||||
"-fvisibility=hidden",
|
||||
"-fvisibility-inlines-hidden",
|
||||
])
|
||||
my_module.add_header_file(
|
||||
"opencv/modules/features2d/include/*",
|
||||
recursive=True)
|
||||
my_module.add_module_depend([
|
||||
'opencv-core',
|
||||
'opencv-flann',
|
||||
'opencv-imgproc',
|
||||
])
|
||||
my_module.compile_version("C++", 2003)
|
||||
return my_module
|
||||
|
||||
|
62
lutin_opencv-flann.py
Normal file
62
lutin_opencv-flann.py
Normal file
@ -0,0 +1,62 @@
|
||||
#!/usr/bin/python
|
||||
import lutin.module as module
|
||||
import lutin.tools as tools
|
||||
import os
|
||||
|
||||
def get_type():
|
||||
return "LIBRARY"
|
||||
|
||||
def get_desc():
|
||||
return "opencv Image processing library"
|
||||
|
||||
def get_licence():
|
||||
return "APAPCHE-2"
|
||||
|
||||
def get_maintainer():
|
||||
return ["Maksim Shabunin <maksim.shabunin@itseez.com>"]
|
||||
|
||||
def get_version():
|
||||
return [3,1,0]
|
||||
|
||||
def create(target, module_name):
|
||||
my_module = module.Module(__file__, module_name, get_type())
|
||||
my_module.add_src_file([
|
||||
'opencv/modules/flann/src/flann.cpp',
|
||||
'opencv/modules/flann/src/miniflann.cpp',
|
||||
])
|
||||
my_module.compile_flags('c++', [
|
||||
"-DCVAPI_EXPORTS",
|
||||
"-D__OPENCV_BUILD=1",
|
||||
"-fsigned-char",
|
||||
"-W",
|
||||
"-Wall",
|
||||
"-Werror=return-type",
|
||||
"-Werror=non-virtual-dtor",
|
||||
"-Werror=address",
|
||||
"-Werror=sequence-point",
|
||||
"-Wformat",
|
||||
"-Werror=format-security",
|
||||
"-Wmissing-declarations",
|
||||
"-Winit-self",
|
||||
"-Wpointer-arith",
|
||||
"-Wshadow",
|
||||
"-Wsign-promo",
|
||||
"-Wno-narrowing",
|
||||
"-Wno-delete-non-virtual-dtor",
|
||||
"-fdiagnostics-show-option",
|
||||
"-Wno-long-long",
|
||||
"-fomit-frame-pointer",
|
||||
"-ffunction-sections",
|
||||
"-fvisibility=hidden",
|
||||
"-fvisibility-inlines-hidden",
|
||||
])
|
||||
my_module.add_header_file(
|
||||
"opencv/modules/flann/include/*",
|
||||
recursive=True)
|
||||
my_module.add_module_depend([
|
||||
'opencv-core'
|
||||
])
|
||||
my_module.compile_version("C++", 2003)
|
||||
return my_module
|
||||
|
||||
|
@ -7,7 +7,7 @@ def get_type():
|
||||
return "LIBRARY"
|
||||
|
||||
def get_desc():
|
||||
return "opencv CORE library matrix computation evironement"
|
||||
return "opencv Image processing library"
|
||||
|
||||
def get_licence():
|
||||
return "APAPCHE-2"
|
||||
@ -87,7 +87,6 @@ def create(target, module_name):
|
||||
"-Wformat",
|
||||
"-Werror=format-security",
|
||||
"-Wmissing-declarations",
|
||||
"-Wundef",
|
||||
"-Winit-self",
|
||||
"-Wpointer-arith",
|
||||
"-Wshadow",
|
||||
@ -97,13 +96,6 @@ def create(target, module_name):
|
||||
"-fdiagnostics-show-option",
|
||||
"-Wno-long-long",
|
||||
"-fomit-frame-pointer",
|
||||
"-msse",
|
||||
"-msse2",
|
||||
"-mno-avx",
|
||||
"-msse3",
|
||||
"-mno-ssse3",
|
||||
"-mno-sse4.1",
|
||||
"-mno-sse4.2",
|
||||
"-ffunction-sections",
|
||||
"-fvisibility=hidden",
|
||||
"-fvisibility-inlines-hidden",
|
||||
|
75
lutin_opencv-ml.py
Normal file
75
lutin_opencv-ml.py
Normal file
@ -0,0 +1,75 @@
|
||||
#!/usr/bin/python
|
||||
import lutin.module as module
|
||||
import lutin.tools as tools
|
||||
import os
|
||||
|
||||
def get_type():
|
||||
return "LIBRARY"
|
||||
|
||||
def get_desc():
|
||||
return "opencv Image processing library"
|
||||
|
||||
def get_licence():
|
||||
return "APAPCHE-2"
|
||||
|
||||
def get_maintainer():
|
||||
return ["Maksim Shabunin <maksim.shabunin@itseez.com>"]
|
||||
|
||||
def get_version():
|
||||
return [3,1,0]
|
||||
|
||||
def create(target, module_name):
|
||||
my_module = module.Module(__file__, module_name, get_type())
|
||||
my_module.add_src_file([
|
||||
'opencv/modules/ml/src/rtrees.cpp',
|
||||
'opencv/modules/ml/src/nbayes.cpp',
|
||||
'opencv/modules/ml/src/lr.cpp',
|
||||
'opencv/modules/ml/src/svm.cpp',
|
||||
'opencv/modules/ml/src/em.cpp',
|
||||
'opencv/modules/ml/src/gbt.cpp',
|
||||
'opencv/modules/ml/src/data.cpp',
|
||||
'opencv/modules/ml/src/knearest.cpp',
|
||||
'opencv/modules/ml/src/kdtree.cpp',
|
||||
'opencv/modules/ml/src/testset.cpp',
|
||||
'opencv/modules/ml/src/tree.cpp',
|
||||
'opencv/modules/ml/src/ann_mlp.cpp',
|
||||
'opencv/modules/ml/src/boost.cpp',
|
||||
'opencv/modules/ml/src/inner_functions.cpp',
|
||||
])
|
||||
|
||||
my_module.compile_flags('c++', [
|
||||
"-DCVAPI_EXPORTS",
|
||||
"-D__OPENCV_BUILD=1",
|
||||
"-fsigned-char",
|
||||
"-W",
|
||||
"-Wall",
|
||||
"-Werror=return-type",
|
||||
"-Werror=non-virtual-dtor",
|
||||
"-Werror=address",
|
||||
"-Werror=sequence-point",
|
||||
"-Wformat",
|
||||
"-Werror=format-security",
|
||||
"-Wmissing-declarations",
|
||||
"-Winit-self",
|
||||
"-Wpointer-arith",
|
||||
"-Wshadow",
|
||||
"-Wsign-promo",
|
||||
"-Wno-narrowing",
|
||||
"-Wno-delete-non-virtual-dtor",
|
||||
"-fdiagnostics-show-option",
|
||||
"-Wno-long-long",
|
||||
"-fomit-frame-pointer",
|
||||
"-ffunction-sections",
|
||||
"-fvisibility=hidden",
|
||||
"-fvisibility-inlines-hidden",
|
||||
])
|
||||
my_module.add_header_file(
|
||||
"opencv/modules/ml/include/*",
|
||||
recursive=True)
|
||||
my_module.add_module_depend([
|
||||
'opencv-core'
|
||||
])
|
||||
my_module.compile_version("C++", 2003)
|
||||
return my_module
|
||||
|
||||
|
71
lutin_opencv-objdetect.py
Normal file
71
lutin_opencv-objdetect.py
Normal file
@ -0,0 +1,71 @@
|
||||
#!/usr/bin/python
|
||||
import lutin.module as module
|
||||
import lutin.tools as tools
|
||||
import os
|
||||
|
||||
def get_type():
|
||||
return "LIBRARY"
|
||||
|
||||
def get_desc():
|
||||
return "opencv Object detection processing library"
|
||||
|
||||
def get_licence():
|
||||
return "APAPCHE-2"
|
||||
|
||||
def get_maintainer():
|
||||
return ["Maksim Shabunin <maksim.shabunin@itseez.com>"]
|
||||
|
||||
def get_version():
|
||||
return [3,1,0]
|
||||
|
||||
def create(target, module_name):
|
||||
my_module = module.Module(__file__, module_name, get_type())
|
||||
my_module.add_src_file([
|
||||
'opencv/modules/objdetect/src/detection_based_tracker.cpp',
|
||||
'opencv/modules/objdetect/src/cascadedetect_convert.cpp',
|
||||
#'opencv/modules/objdetect/src/opencl/objdetect_hog.cl',
|
||||
#'opencv/modules/objdetect/src/opencl/cascadedetect.cl',
|
||||
'opencv/modules/objdetect/src/cascadedetect.cpp',
|
||||
'opencv/modules/objdetect/src/haar.cpp',
|
||||
'opencv/modules/objdetect/src/hog.cpp',
|
||||
'opencv/modules/objdetect/src/main.cpp',
|
||||
])
|
||||
|
||||
my_module.compile_flags('c++', [
|
||||
"-DCVAPI_EXPORTS",
|
||||
"-D__OPENCV_BUILD=1",
|
||||
"-fsigned-char",
|
||||
"-W",
|
||||
"-Wall",
|
||||
"-Werror=return-type",
|
||||
"-Werror=non-virtual-dtor",
|
||||
"-Werror=address",
|
||||
"-Werror=sequence-point",
|
||||
"-Wformat",
|
||||
"-Werror=format-security",
|
||||
"-Wmissing-declarations",
|
||||
"-Winit-self",
|
||||
"-Wpointer-arith",
|
||||
"-Wshadow",
|
||||
"-Wsign-promo",
|
||||
"-Wno-narrowing",
|
||||
"-Wno-delete-non-virtual-dtor",
|
||||
"-fdiagnostics-show-option",
|
||||
"-Wno-long-long",
|
||||
"-fomit-frame-pointer",
|
||||
"-ffunction-sections",
|
||||
"-fvisibility=hidden",
|
||||
"-fvisibility-inlines-hidden",
|
||||
])
|
||||
my_module.add_header_file(
|
||||
"opencv/modules/objdetect/include/*",
|
||||
recursive=True)
|
||||
my_module.add_module_depend([
|
||||
'opencv-core',
|
||||
'opencv-imgproc',
|
||||
'opencv-ml'
|
||||
])
|
||||
my_module.compile_version("C++", 2003)
|
||||
return my_module
|
||||
|
||||
|
77
lutin_opencv-photo.py
Normal file
77
lutin_opencv-photo.py
Normal file
@ -0,0 +1,77 @@
|
||||
#!/usr/bin/python
|
||||
import lutin.module as module
|
||||
import lutin.tools as tools
|
||||
import os
|
||||
|
||||
def get_type():
|
||||
return "LIBRARY"
|
||||
|
||||
def get_desc():
|
||||
return "opencv photo processing library"
|
||||
|
||||
def get_licence():
|
||||
return "APAPCHE-2"
|
||||
|
||||
def get_maintainer():
|
||||
return ["Maksim Shabunin <maksim.shabunin@itseez.com>"]
|
||||
|
||||
def get_version():
|
||||
return [3,1,0]
|
||||
|
||||
def create(target, module_name):
|
||||
my_module = module.Module(__file__, module_name, get_type())
|
||||
my_module.add_src_file([
|
||||
'opencv/modules/photo/src/tonemap.cpp',
|
||||
'opencv/modules/photo/src/contrast_preserve.cpp',
|
||||
'opencv/modules/photo/src/align.cpp',
|
||||
'opencv/modules/photo/src/seamless_cloning_impl.cpp',
|
||||
'opencv/modules/photo/src/inpaint.cpp',
|
||||
'opencv/modules/photo/src/denoising.cuda.cpp',
|
||||
'opencv/modules/photo/src/denoising.cpp',
|
||||
#'opencv/modules/photo/src/cuda/nlm.cu',
|
||||
'opencv/modules/photo/src/merge.cpp',
|
||||
'opencv/modules/photo/src/npr.cpp',
|
||||
'opencv/modules/photo/src/calibrate.cpp',
|
||||
#'opencv/modules/photo/src/opencl/nlmeans.cl',
|
||||
'opencv/modules/photo/src/hdr_common.cpp',
|
||||
'opencv/modules/photo/src/denoise_tvl1.cpp',
|
||||
'opencv/modules/photo/src/seamless_cloning.cpp',
|
||||
])
|
||||
|
||||
my_module.compile_flags('c++', [
|
||||
"-DCVAPI_EXPORTS",
|
||||
"-D__OPENCV_BUILD=1",
|
||||
"-fsigned-char",
|
||||
"-W",
|
||||
"-Wall",
|
||||
"-Werror=return-type",
|
||||
"-Werror=non-virtual-dtor",
|
||||
"-Werror=address",
|
||||
"-Werror=sequence-point",
|
||||
"-Wformat",
|
||||
"-Werror=format-security",
|
||||
"-Wmissing-declarations",
|
||||
"-Winit-self",
|
||||
"-Wpointer-arith",
|
||||
"-Wshadow",
|
||||
"-Wsign-promo",
|
||||
"-Wno-narrowing",
|
||||
"-Wno-delete-non-virtual-dtor",
|
||||
"-fdiagnostics-show-option",
|
||||
"-Wno-long-long",
|
||||
"-fomit-frame-pointer",
|
||||
"-ffunction-sections",
|
||||
"-fvisibility=hidden",
|
||||
"-fvisibility-inlines-hidden",
|
||||
])
|
||||
my_module.add_header_file(
|
||||
"opencv/modules/photo/include/*",
|
||||
recursive=True)
|
||||
my_module.add_module_depend([
|
||||
'opencv-core',
|
||||
'opencv-imgproc'
|
||||
])
|
||||
my_module.compile_version("C++", 2003)
|
||||
return my_module
|
||||
|
||||
|
69
lutin_opencv-shape.py
Normal file
69
lutin_opencv-shape.py
Normal file
@ -0,0 +1,69 @@
|
||||
#!/usr/bin/python
|
||||
import lutin.module as module
|
||||
import lutin.tools as tools
|
||||
import os
|
||||
|
||||
def get_type():
|
||||
return "LIBRARY"
|
||||
|
||||
def get_desc():
|
||||
return "opencv shape processing library"
|
||||
|
||||
def get_licence():
|
||||
return "APAPCHE-2"
|
||||
|
||||
def get_maintainer():
|
||||
return ["Maksim Shabunin <maksim.shabunin@itseez.com>"]
|
||||
|
||||
def get_version():
|
||||
return [3,1,0]
|
||||
|
||||
def create(target, module_name):
|
||||
my_module = module.Module(__file__, module_name, get_type())
|
||||
my_module.add_src_file([
|
||||
'opencv/modules/shape/src/tps_trans.cpp',
|
||||
'opencv/modules/shape/src/aff_trans.cpp',
|
||||
'opencv/modules/shape/src/precomp.cpp',
|
||||
'opencv/modules/shape/src/sc_dis.cpp',
|
||||
'opencv/modules/shape/src/emdL1.cpp',
|
||||
'opencv/modules/shape/src/hist_cost.cpp',
|
||||
'opencv/modules/shape/src/haus_dis.cpp',
|
||||
])
|
||||
|
||||
my_module.compile_flags('c++', [
|
||||
"-DCVAPI_EXPORTS",
|
||||
"-D__OPENCV_BUILD=1",
|
||||
"-fsigned-char",
|
||||
"-W",
|
||||
"-Wall",
|
||||
"-Werror=return-type",
|
||||
"-Werror=non-virtual-dtor",
|
||||
"-Werror=address",
|
||||
"-Werror=sequence-point",
|
||||
"-Wformat",
|
||||
"-Werror=format-security",
|
||||
"-Wmissing-declarations",
|
||||
"-Winit-self",
|
||||
"-Wpointer-arith",
|
||||
"-Wshadow",
|
||||
"-Wsign-promo",
|
||||
"-Wno-narrowing",
|
||||
"-Wno-delete-non-virtual-dtor",
|
||||
"-fdiagnostics-show-option",
|
||||
"-Wno-long-long",
|
||||
"-fomit-frame-pointer",
|
||||
"-ffunction-sections",
|
||||
"-fvisibility=hidden",
|
||||
"-fvisibility-inlines-hidden",
|
||||
])
|
||||
my_module.add_header_file(
|
||||
"opencv/modules/shape/include/*",
|
||||
recursive=True)
|
||||
my_module.add_module_depend([
|
||||
'opencv-core',
|
||||
'opencv-video'
|
||||
])
|
||||
my_module.compile_version("C++", 2003)
|
||||
return my_module
|
||||
|
||||
|
77
lutin_opencv-stitching.py
Normal file
77
lutin_opencv-stitching.py
Normal file
@ -0,0 +1,77 @@
|
||||
#!/usr/bin/python
|
||||
import lutin.module as module
|
||||
import lutin.tools as tools
|
||||
import os
|
||||
|
||||
def get_type():
|
||||
return "LIBRARY"
|
||||
|
||||
def get_desc():
|
||||
return "opencv Image processing library"
|
||||
|
||||
def get_licence():
|
||||
return "APAPCHE-2"
|
||||
|
||||
def get_maintainer():
|
||||
return ["Maksim Shabunin <maksim.shabunin@itseez.com>"]
|
||||
|
||||
def get_version():
|
||||
return [3,1,0]
|
||||
|
||||
def create(target, module_name):
|
||||
my_module = module.Module(__file__, module_name, get_type())
|
||||
my_module.add_src_file([
|
||||
'opencv/modules/stitching/src/timelapsers.cpp',
|
||||
'opencv/modules/stitching/src/autocalib.cpp',
|
||||
'opencv/modules/stitching/src/util.cpp',
|
||||
'opencv/modules/stitching/src/stitcher.cpp',
|
||||
'opencv/modules/stitching/src/camera.cpp',
|
||||
'opencv/modules/stitching/src/blenders.cpp',
|
||||
#'opencv/modules/stitching/src/cuda/build_warp_maps.cu',
|
||||
#'opencv/modules/stitching/src/opencl/multibandblend.cl',
|
||||
#'opencv/modules/stitching/src/opencl/warpers.cl',
|
||||
'opencv/modules/stitching/src/matchers.cpp',
|
||||
'opencv/modules/stitching/src/exposure_compensate.cpp',
|
||||
'opencv/modules/stitching/src/motion_estimators.cpp',
|
||||
'opencv/modules/stitching/src/seam_finders.cpp',
|
||||
'opencv/modules/stitching/src/warpers.cpp',
|
||||
'opencv/modules/stitching/src/warpers_cuda.cpp',
|
||||
])
|
||||
my_module.compile_flags('c++', [
|
||||
"-DCVAPI_EXPORTS",
|
||||
"-D__OPENCV_BUILD=1",
|
||||
"-fsigned-char",
|
||||
"-W",
|
||||
"-Wall",
|
||||
"-Werror=return-type",
|
||||
"-Werror=non-virtual-dtor",
|
||||
"-Werror=address",
|
||||
"-Werror=sequence-point",
|
||||
"-Wformat",
|
||||
"-Werror=format-security",
|
||||
"-Wmissing-declarations",
|
||||
"-Winit-self",
|
||||
"-Wpointer-arith",
|
||||
"-Wshadow",
|
||||
"-Wsign-promo",
|
||||
"-Wno-narrowing",
|
||||
"-Wno-delete-non-virtual-dtor",
|
||||
"-fdiagnostics-show-option",
|
||||
"-Wno-long-long",
|
||||
"-fomit-frame-pointer",
|
||||
"-ffunction-sections",
|
||||
"-fvisibility=hidden",
|
||||
"-fvisibility-inlines-hidden",
|
||||
])
|
||||
my_module.add_header_file(
|
||||
"opencv/modules/stitching/include/*",
|
||||
recursive=True)
|
||||
my_module.add_module_depend([
|
||||
'opencv-core',
|
||||
'opencv-features2d',
|
||||
'opencv-calib3d',
|
||||
])
|
||||
my_module.compile_version("C++", 2003)
|
||||
return my_module
|
||||
|
||||
|
70
lutin_opencv-superres.py
Normal file
70
lutin_opencv-superres.py
Normal file
@ -0,0 +1,70 @@
|
||||
#!/usr/bin/python
|
||||
import lutin.module as module
|
||||
import lutin.tools as tools
|
||||
import os
|
||||
|
||||
def get_type():
|
||||
return "LIBRARY"
|
||||
|
||||
def get_desc():
|
||||
return "opencv Image processing library"
|
||||
|
||||
def get_licence():
|
||||
return "APAPCHE-2"
|
||||
|
||||
def get_maintainer():
|
||||
return ["Maksim Shabunin <maksim.shabunin@itseez.com>"]
|
||||
|
||||
def get_version():
|
||||
return [3,1,0]
|
||||
|
||||
def create(target, module_name):
|
||||
my_module = module.Module(__file__, module_name, get_type())
|
||||
my_module.add_src_file([
|
||||
'opencv/modules/superres/src/btv_l1_cuda.cpp',
|
||||
'opencv/modules/superres/src/btv_l1.cpp',
|
||||
'opencv/modules/superres/src/optical_flow.cpp',
|
||||
'opencv/modules/superres/src/super_resolution.cpp',
|
||||
#'opencv/modules/superres/src/cuda/btv_l1_gpu.cu',
|
||||
'opencv/modules/superres/src/input_array_utility.cpp',
|
||||
#'opencv/modules/superres/src/opencl/superres_btvl1.cl',
|
||||
'opencv/modules/superres/src/frame_source.cpp',
|
||||
])
|
||||
my_module.compile_flags('c++', [
|
||||
"-DCVAPI_EXPORTS",
|
||||
"-D__OPENCV_BUILD=1",
|
||||
"-fsigned-char",
|
||||
"-W",
|
||||
"-Wall",
|
||||
"-Werror=return-type",
|
||||
"-Werror=non-virtual-dtor",
|
||||
"-Werror=address",
|
||||
"-Werror=sequence-point",
|
||||
"-Wformat",
|
||||
"-Werror=format-security",
|
||||
"-Wmissing-declarations",
|
||||
"-Winit-self",
|
||||
"-Wpointer-arith",
|
||||
"-Wshadow",
|
||||
"-Wsign-promo",
|
||||
"-Wno-narrowing",
|
||||
"-Wno-delete-non-virtual-dtor",
|
||||
"-fdiagnostics-show-option",
|
||||
"-Wno-long-long",
|
||||
"-fomit-frame-pointer",
|
||||
"-ffunction-sections",
|
||||
"-fvisibility=hidden",
|
||||
"-fvisibility-inlines-hidden",
|
||||
])
|
||||
my_module.add_header_file(
|
||||
"opencv/modules/superres/include/*",
|
||||
recursive=True)
|
||||
my_module.add_module_depend([
|
||||
'opencv-core',
|
||||
'opencv-imgproc',
|
||||
'opencv-video',
|
||||
])
|
||||
my_module.compile_version("C++", 2003)
|
||||
return my_module
|
||||
|
||||
|
75
lutin_opencv-video.py
Normal file
75
lutin_opencv-video.py
Normal file
@ -0,0 +1,75 @@
|
||||
#!/usr/bin/python
|
||||
import lutin.module as module
|
||||
import lutin.tools as tools
|
||||
import os
|
||||
|
||||
def get_type():
|
||||
return "LIBRARY"
|
||||
|
||||
def get_desc():
|
||||
return "opencv photo processing library"
|
||||
|
||||
def get_licence():
|
||||
return "APAPCHE-2"
|
||||
|
||||
def get_maintainer():
|
||||
return ["Maksim Shabunin <maksim.shabunin@itseez.com>"]
|
||||
|
||||
def get_version():
|
||||
return [3,1,0]
|
||||
|
||||
def create(target, module_name):
|
||||
my_module = module.Module(__file__, module_name, get_type())
|
||||
my_module.add_src_file([
|
||||
'opencv/modules/video/src/bgfg_gaussmix2.cpp',
|
||||
'opencv/modules/video/src/bgfg_KNN.cpp',
|
||||
'opencv/modules/video/src/lkpyramid.cpp',
|
||||
'opencv/modules/video/src/ecc.cpp',
|
||||
'opencv/modules/video/src/tvl1flow.cpp',
|
||||
'opencv/modules/video/src/compat_video.cpp',
|
||||
'opencv/modules/video/src/kalman.cpp',
|
||||
#'opencv/modules/video/src/opencl/pyrlk.cl',
|
||||
#'opencv/modules/video/src/opencl/optical_flow_farneback.cl',
|
||||
#'opencv/modules/video/src/opencl/optical_flow_tvl1.cl',
|
||||
#'opencv/modules/video/src/opencl/bgfg_mog2.cl',
|
||||
'opencv/modules/video/src/optflowgf.cpp',
|
||||
'opencv/modules/video/src/camshift.cpp',
|
||||
])
|
||||
|
||||
my_module.compile_flags('c++', [
|
||||
"-DCVAPI_EXPORTS",
|
||||
"-D__OPENCV_BUILD=1",
|
||||
"-fsigned-char",
|
||||
"-W",
|
||||
"-Wall",
|
||||
"-Werror=return-type",
|
||||
"-Werror=non-virtual-dtor",
|
||||
"-Werror=address",
|
||||
"-Werror=sequence-point",
|
||||
"-Wformat",
|
||||
"-Werror=format-security",
|
||||
"-Wmissing-declarations",
|
||||
"-Winit-self",
|
||||
"-Wpointer-arith",
|
||||
"-Wshadow",
|
||||
"-Wsign-promo",
|
||||
"-Wno-narrowing",
|
||||
"-Wno-delete-non-virtual-dtor",
|
||||
"-fdiagnostics-show-option",
|
||||
"-Wno-long-long",
|
||||
"-fomit-frame-pointer",
|
||||
"-ffunction-sections",
|
||||
"-fvisibility=hidden",
|
||||
"-fvisibility-inlines-hidden",
|
||||
])
|
||||
my_module.add_header_file(
|
||||
"opencv/modules/video/include/*",
|
||||
recursive=True)
|
||||
my_module.add_module_depend([
|
||||
'opencv-core',
|
||||
'opencv-imgproc',
|
||||
])
|
||||
my_module.compile_version("C++", 2003)
|
||||
return my_module
|
||||
|
||||
|
2
opencv
2
opencv
@ -1 +1 @@
|
||||
Subproject commit 92387b1ef8fad15196dd5f7fb4931444a68bc93a
|
||||
Subproject commit 1bf2379c8ad1da2a397c8292ce5ed328abd78148
|
Loading…
Reference in New Issue
Block a user