enable structured_light module
MODIFY
README.md
README.md
@@ -164,6 +164,7 @@ installed:
* phase_unwrapping
* plot
* sfm
+ * structured_light
## OpenCV 2 support

MODIFY
build.rs
build.rs
@@ -52,7 +52,6 @@ fn get_modules(opencv_dir_as_string: &str) -> Result<&'static Vec<(String, Vec<S
"rgbd",
"saliency",
"stereo",
- "structured_light",
"surface_matching",
"text",
"tracking",

MODIFY
gen_rust.py
gen_rust.py
@@ -1075,7 +1075,7 @@ class FuncInfo(GeneralInfo):
self.is_ignored = False
if self.classname and not self.classname.startswith("operator"):
- self.ci = gen.get_class(self.classname)
+ self.ci = gen.get_class(self.classpath)
if not self.ci:
if self.classname == "std" or "<" in self.classname:
self.is_ignored = True
@@ -1086,7 +1086,7 @@ class FuncInfo(GeneralInfo):
if self.classname == self.name:
self.kind = self.KIND_CONSTRUCTOR
self.name = "new"
- self.type = gen.get_type_info(self.classname)
+ self.type = gen.get_type_info(self.classpath)
else:
self.kind = self.KIND_METHOD
self.type = gen.get_type_info(decl[1])

enable structured_light module