1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-19 19:44:14 +08:00

- Wrap computeNormalsPC3d() for python

- Update its usage
This commit is contained in:
Hamdi Sahloul
2017-02-18 16:36:52 +09:00
parent 5d9808b01a
commit 1df961cd9a
3 changed files with 6 additions and 6 deletions

View File

@@ -65,7 +65,7 @@ int main(int argc, char** argv)
cv::ppf_match_3d::loadPLYSimple(modelFileName.c_str(), 1).copyTo(points);
cout << "Computing normals\n";
double viewpoint[3] = { 0.0, 0.0, 0.0 };
cv::Vec3d viewpoint(0, 0, 0);
cv::ppf_match_3d::computeNormalsPC3d(points, pointsAndNormals, 6, false, viewpoint);
std::cout << "Writing points\n";