Giter Club home page Giter Club logo

3dunderworld-sls-gpu_cpu's People

Contributors

charalambos avatar geekyboi avatar mamaddl avatar v3c70r avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

3dunderworld-sls-gpu_cpu's Issues

cant build

cant build source

cmake version 3.16.3

cmake ..

-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found GLM: /usr/include
-- Found OpenCV: /usr (found version "4.2.0")
-- Could NOT find CUDA (missing: CUDA_NVCC_EXECUTABLE CUDA_CUDART_LIBRARY)
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ton14/3DUNDERWORLD-SLS-GPU_CPU/build

make

log build_1.log

Compile issues

Hello, I am trying to compile the project, however I run into an issue.

When I am trying to run make from the dev branch I get an error into the 'FileReaderCUDA.cuh' that the file FileReader.h from core which is imported into this file is missing, which is true, in the dev branch this file is missing. I have tried to switch to the master branch where this file exists, however I get multiple compilation errors from 'Calibration.cpp' file.

I leave the stack trace below:
`
/usr/include/glm/detail/type_mat4x3.hpp(36): warning: host annotation is ignored on a function("mat") that is explicitly defaulted on its first declaration

/usr/include/glm/detail/type_mat4x4.hpp(35): warning: device annotation is ignored on a function("mat") that is explicitly defaulted on its first declaration

/usr/include/glm/detail/type_mat4x4.hpp(35): warning: host annotation is ignored on a function("mat") that is explicitly defaulted on its first declaration

/usr/include/glm/detail/type_vec1.hpp(95): warning: device annotation is ignored on a function("vec") that is explicitly defaulted on its first declaration

/usr/include/glm/detail/type_vec1.hpp(95): warning: host annotation is ignored on a function("vec") that is explicitly defaulted on its first declaration

/usr/include/glm/detail/type_vec1.hpp(96): warning: device annotation is ignored on a function("vec") that is explicitly defaulted on its first declaration

/usr/include/glm/detail/type_vec1.hpp(96): warning: host annotation is ignored on a function("vec") that is explicitly defaulted on its first declaration

/usr/include/glm/detail/type_vec1.hpp(132): warning: device annotation is ignored on a function("operator=") that is explicitly defaulted on its first declaration

/usr/include/glm/detail/type_vec1.hpp(132): warning: host annotation is ignored on a function("operator=") that is explicitly defaulted on its first declaration

Scanning dependencies of target sls_gpu
[ 26%] Linking CXX static library libsls_gpu.a
[ 26%] Built target sls_gpu
Scanning dependencies of target sls_graycode
[ 26%] Building CXX object src/lib/GrayCode/CMakeFiles/sls_graycode.dir/GrayCode.cpp.o
[ 26%] Linking CXX static library libsls_graycode.a
[ 26%] Built target sls_graycode
Scanning dependencies of target sls_calib
[ 26%] Building CXX object src/lib/calibration/CMakeFiles/sls_calib.dir/Calibrator.cpp.o
In file included from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:40:16: error: ‘vector’ in namespace ‘cv’ does not name a template type
40 | static cv::vectorcv::Point2f manualMarkCheckBoard(cv::Mat img);
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:52:60: error: ‘cv::vector’ has not been declared
52 | static bool findCornersInCamImg(const cv::Mat &img,cv::vectorcv::Point2f &camCorners,cv::vectorcv::Point3f &objCorners, cv::Size squareSize);
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:52:66: error: expected ‘,’ or ‘...’ before ‘<’ token
52 | static bool findCornersInCamImg(const cv::Mat &img,cv::vectorcv::Point2f &camCorners,cv::vectorcv::Point3f &objCorners, cv::Size squareSize);
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp: In static member function ‘static void SLS::Calibrator::showImgAvecText_Block(const cv::Mat&, const string&, const string&)’:
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:26:36: error: ‘CV_GRAY2RGB’ was not declared in this scope
26 | cv::cvtColor(img, textImg, CV_GRAY2RGB);
| ^~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:27:36: error: ‘cvPoint’ was not declared in this scope
27 | cv::putText(textImg, text, cvPoint(20,70),
| ^~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:28:48: error: ‘cvScalar’ was not declared in this scope
28 | cv::FONT_HERSHEY_SIMPLEX, 3.0, cvScalar(0,0,255), 2, CV_AA);
| ^~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:28:70: error: ‘CV_AA’ was not declared in this scope; did you mean ‘CV_AVX’?
28 | cv::FONT_HERSHEY_SIMPLEX, 3.0, cvScalar(0,0,255), 2, CV_AA);
| ^~~~~
| CV_AVX
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp: In function ‘void SLS::calib_board_corners_mouse_callback(int, int, int, int, void*)’:
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:12:13: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
12 | cv::vectorcv::Point2f corners= (cv::vectorcv::Point2f) param;
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:12:31: error: expected primary-expression before ‘>’ token
12 | cv::vectorcv::Point2f corners= (cv::vectorcv::Point2f) param;
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:12:34: error: ‘corners’ was not declared in this scope
12 | cv::vectorcv::Point2f corners= (cv::vectorcv::Point2f) param;
| ^~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:12:48: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
12 | cv::vectorcv::Point2f corners= (cv::vectorcv::Point2f) param;
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:12:66: error: expected primary-expression before ‘>’ token
12 | cv::vectorcv::Point2f corners= (cv::vectorcv::Point2f) param;
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:12:68: error: expected primary-expression before ‘)’ token
12 | cv::vectorcv::Point2f corners= (cv::vectorcv::Point2f) param;
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:16:18: error: ‘CV_EVENT_LBUTTONDOWN’ was not declared in this scope
16 | case CV_EVENT_LBUTTONDOWN:
| ^~~~~~~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp: In function ‘void SLS::image_point_return(int, int, int, int, void*)’:
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:27:9: error: ‘CvScalar’ was not declared in this scope
27 | CvScalar point= (CvScalar) param;
| ^~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:27:19: error: ‘point’ was not declared in this scope
27 | CvScalar point= (CvScalar) param;
| ^~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:27:36: error: expected primary-expression before ‘)’ token
27 | CvScalar point= (CvScalar) param;
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:30:18: error: ‘CV_EVENT_LBUTTONDOWN’ was not declared in this scope
30 | case CV_EVENT_LBUTTONDOWN:
| ^~~~~~~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp: At global scope:
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:38:9: error: ‘vector’ in namespace ‘cv’ does not name a template type
38 | cv::vectorcv::Point2f Calibrator::manualMarkCheckBoard(cv::Mat img)
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:116:49: error: ‘cv::vector’ has not been declared
116 | void drawOutsideOfRectangle(cv::Mat img,cv::vectorcv::Point2f rectanglePoints, float color)
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:116:55: error: expected ‘,’ or ‘...’ before ‘<’ token
116 | void drawOutsideOfRectangle(cv::Mat img,cv::vectorcv::Point2f rectanglePoints, float color)
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp: In function ‘void SLS::drawOutsideOfRectangle(cv::Mat, int)’:
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:120:29: error: ‘rectanglePoints’ was not declared in this scope
120 | for(unsigned i=0; i<rectanglePoints.size(); i++)
| ^~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:131:22: error: ‘color’ was not declared in this scope
131 | background = color;
| ^~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp: In static member function ‘static float SLS::Calibrator::markWhite(const cv::Mat&)’:
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:139:38: error: ‘CV_WINDOW_NORMAL’ was not declared in this scope
139 | cv::namedWindow("Mark White",CV_WINDOW_NORMAL);
| ^~~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:160:45: error: ‘cvPoint’ was not declared in this scope
160 | cv::rectangle(img_copy, cvPoint(point.val[0]-10,point.val[1]-10),cvPoint(point.val[0]+10,point.val[1]+10),cvScalar(0,0,255),3);
| ^~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:160:127: error: ‘cvScalar’ was not declared in this scope
160 | cv::rectangle(img_copy, cvPoint(point.val[0]-10,point.val[1]-10),cvPoint(point.val[0]+10,point.val[1]+10),cvScalar(0,0,255),3);
| ^~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:188:9: error: ‘cvDestroyWindow’ was not declared in this scope
188 | cvDestroyWindow("Mark White");
| ^~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp: At global scope:
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:194:65: error: ‘cv::vector’ has not been declared
194 | bool Calibrator::findCornersInCamImg(const cv::Mat &img,cv::vectorcv::Point2f &camCorners,cv::vectorcv::Point3f &objCorners, cv::Size squareSize)
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:194:71: error: expected ‘,’ or ‘...’ before ‘<’ token
194 | bool Calibrator::findCornersInCamImg(const cv::Mat &img,cv::vectorcv::Point2f &camCorners,cv::vectorcv::Point3f &objCorners, cv::Size squareSize)
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp: In static member function ‘static bool SLS::Calibrator::findCornersInCamImg(const cv::Mat&, int)’:
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:209:17: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
209 | cv::vectorcv::Point2f chessBoardCorners = manualMarkCheckBoard(img_copy);
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:209:35: error: expected primary-expression before ‘>’ token
209 | cv::vectorcv::Point2f chessBoardCorners = manualMarkCheckBoard(img_copy);
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:209:37: error: ‘chessBoardCorners’ was not declared in this scope
209 | cv::vectorcv::Point2f chessBoardCorners = manualMarkCheckBoard(img_copy);
| ^~~~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:209:57: error: ‘manualMarkCheckBoard’ was not declared in this scope
209 | cv::vectorcv::Point2f chessBoardCorners = manualMarkCheckBoard(img_copy);
| ^~~~~~~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:219:43: error: ‘CV_WINDOW_NORMAL’ was not declared in this scope
219 | cv::namedWindow("Calibration",CV_WINDOW_NORMAL);
| ^~~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:257:55: error: ‘cvSize’ was not declared in this scope
257 | found=cv::findChessboardCorners(img_grey, cvSize(numOfCornersX,numOfCornersY), camCorners, CV_CALIB_CB_ADAPTIVE_THRESH );
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:257:92: error: ‘camCorners’ was not declared in this scope; did you mean ‘numOfCornersY’?
257 | found=cv::findChessboardCorners(img_grey, cvSize(numOfCornersX,numOfCornersY), camCorners, CV_CALIB_CB_ADAPTIVE_THRESH );
| ^~~~~~~~~~
| numOfCornersY
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:257:104: error: ‘CV_CALIB_CB_ADAPTIVE_THRESH’ was not declared in this scope
257 | found=cv::findChessboardCorners(img_grey, cvSize(numOfCornersX,numOfCornersY), camCorners, CV_CALIB_CB_ADAPTIVE_THRESH );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:295:40: error: ‘camCorners’ was not declared in this scope; did you mean ‘numOfCornersY’?
295 | cv::cornerSubPix(img_grey, camCorners, cvSize(20,20), cvSize(-1,-1), cvTermCriteria(CV_TERMCRIT_EPS+CV_TERMCRIT_ITER, 30, 0.1));
| ^~~~~~~~~~
| numOfCornersY
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:295:52: error: ‘cvSize’ was not declared in this scope
295 | cv::cornerSubPix(img_grey, camCorners, cvSize(20,20), cvSize(-1,-1), cvTermCriteria(CV_TERMCRIT_EPS+CV_TERMCRIT_ITER, 30, 0.1));
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:295:97: error: ‘CV_TERMCRIT_EPS’ was not declared in this scope
295 | cv::cornerSubPix(img_grey, camCorners, cvSize(20,20), cvSize(-1,-1), cvTermCriteria(CV_TERMCRIT_EPS+CV_TERMCRIT_ITER, 30, 0.1));
| ^~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:295:113: error: ‘CV_TERMCRIT_ITER’ was not declared in this scope
295 | cv::cornerSubPix(img_grey, camCorners, cvSize(20,20), cvSize(-1,-1), cvTermCriteria(CV_TERMCRIT_EPS+CV_TERMCRIT_ITER, 30, 0.1));
| ^~~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:295:82: error: ‘cvTermCriteria’ was not declared in this scope
295 | cv::cornerSubPix(img_grey, camCorners, cvSize(20,20), cvSize(-1,-1), cvTermCriteria(CV_TERMCRIT_EPS+CV_TERMCRIT_ITER, 30, 0.1));
| ^~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:298:16: error: ‘squareSize’ was not declared in this scope
298 | if(squareSize.height == 0)
| ^~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:312:29: error: ‘squareSize’ was not declared in this scope
312 | p.x = jsquareSize.width;
| ^~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:315:21: error: ‘objCorners’ was not declared in this scope
315 | objCorners.push_back(p);
| ^~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp: In static member function ‘static void SLS::Calibrator::Calibrate(SLS::FileReader
, const string&, const string&)’:
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:347:13: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
347 | cv::vector<cv::vectorcv::Point2f> imgBoardCornersCam;
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:347:24: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
347 | cv::vector<cv::vectorcv::Point2f> imgBoardCornersCam;
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:347:42: error: expected primary-expression before ‘>>’ token
347 | cv::vector<cv::vectorcv::Point2f> imgBoardCornersCam;
| ^~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:347:45: error: ‘imgBoardCornersCam’ was not declared in this scope
347 | cv::vector<cv::vectorcv::Point2f> imgBoardCornersCam;
| ^~~~~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:348:13: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
348 | cv::vector<cv::vectorcv::Point3f> objBoardCornersCam;
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:348:24: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
348 | cv::vector<cv::vectorcv::Point3f> objBoardCornersCam;
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:348:42: error: expected primary-expression before ‘>>’ token
348 | cv::vector<cv::vectorcv::Point3f> objBoardCornersCam;
| ^~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:348:45: error: ‘objBoardCornersCam’ was not declared in this scope
348 | cv::vector<cv::vectorcv::Point3f> objBoardCornersCam;
| ^~~~~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:353:17: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
353 | cv::vectorcv::Point2f cCam;
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:353:35: error: expected primary-expression before ‘>’ token
353 | cv::vectorcv::Point2f cCam;
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:353:37: error: ‘cCam’ was not declared in this scope; did you mean ‘cam’?
353 | cv::vectorcv::Point2f cCam;
| ^~~~
| cam
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:354:17: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
354 | cv::vectorcv::Point3f cObj;
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:354:35: error: expected primary-expression before ‘>’ token
354 | cv::vectorcv::Point3f cObj;
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:354:37: error: ‘cObj’ was not declared in this scope
354 | cv::vectorcv::Point3f cObj;
| ^~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:363:13: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
363 | cv::vectorcv::Mat camRotationVectors;
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:363:27: error: expected primary-expression before ‘>’ token
363 | cv::vectorcv::Mat camRotationVectors;
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:363:29: error: ‘camRotationVectors’ was not declared in this scope
363 | cv::vectorcv::Mat camRotationVectors;
| ^~~~~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:364:13: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
364 | cv::vectorcv::Mat camTranslationVectors;
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:364:27: error: expected primary-expression before ‘>’ token
364 | cv::vectorcv::Mat camTranslationVectors;
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:364:29: error: ‘camTranslationVectors’ was not declared in this scope; did you mean ‘translationVector’?
364 | cv::vectorcv::Mat camTranslationVectors;
| ^~~~~~~~~~~~~~~~~~~~~
| translationVector
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:372:13: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
372 | cv::vectorcv::Point2f imgPoints;
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:372:31: error: expected primary-expression before ‘>’ token
372 | cv::vectorcv::Point2f imgPoints;
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:372:33: error: ‘imgPoints’ was not declared in this scope; did you mean ‘midPoint’?
372 | cv::vectorcv::Point2f imgPoints;
| ^~~~~~~~~
| midPoint
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:373:13: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
373 | cv::vectorcv::Point3f objPoints3D;
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:373:31: error: expected primary-expression before ‘>’ token
373 | cv::vectorcv::Point3f objPoints3D;
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:373:33: error: ‘objPoints3D’ was not declared in this scope
373 | cv::vectorcv::Point3f objPoints3D;
| ^~~~~~~~~~~
make[2]: *** [src/lib/calibration/CMakeFiles/sls_calib.dir/build.make:63: src/lib/calibration/CMakeFiles/sls_calib.dir/Calibrator.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:261: src/lib/calibration/CMakeFiles/sls_calib.dir/all] Error 2
make: *** [Makefile:95: all] Error 2
`

can not read the calibrated pics

run ./calibrateCamera

error:

No image read from ../../data/alexander/rightCam/calib ...

i did put the pics in the correct road ....what's the reason???

Read image error

Hi,
I tried to run it, but there was an error.
I don't know where to control the number of images to read, w I don't know why this error occurs
I hope you can give me some help if you see it, thank you very much!

[ WARN:[email protected]] global loadsave.cpp:244 findDecoder imread_('/home/ubuntu/Lin/Code/3DUNDERWORLD-SLS-GPU_CPU/3DUNDERWORLD-SLS-DATA/alexander/leftCam/dataset1/0042.jpg'): can't open/read file: check file path/integrity

is there visual studio ?

hello sir , is there visual studio version ? everytime my friend try to compile on windows he get problems with cuda , i really would like to know if we can use it on windows , or is it just linux ?

SLS_GPU can't run

./SLS can run ,but ./SLS_GPU can't.Errors happen as follows.

terminate called after throwing an instance of 'std::bad_function_call'
what(): bad_function_call
Segmentation fault(core dumped)

Include paper tex and put it into doc

I think it would be better to include the paper LaTeX file and put them into the doc. I can write a cmake script to generate pdf. So all of the stuffs can share the same building system .

Clarify: License

This repository is listed as GPLv3, but on the website indicates that:

image

This is inconsistent with the license terms of the GPLv3 can someone clarify. As it stands now, commercial use is explicitly allowed in the license. If none is desired, please provide an update notice for versions moving forward.

issue building, version of CV

hello,
I am trying to build this project using VS2017 on a Windows 10 PC. The build keeps breaking on CV related includes, I am using openCV v4.0, should i use another version? Also, I tried to build OpenCV 2.4 but could not configure using cmake, im guessing because of VS2017? any tips would help. thanks

Question about "ImageFileProcessor.cpp"

In the file “3DUNDERWORLD-SLS-GPU_CPU/src/lib/core/ImageFileProcessor.cpp”, line 90-94: I think the expression of camTransMat_ has something wrong!

Refer to https://docs.opencv.org/2.4/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html

In my opinion, camTransMat_ = - R.transpose() * t, where R denotes the rotation matrix and t is the translation vector.

However, after the twice transpose operations of R in line 92 and line 93, the camTransMat_ in line 94 is “- R * t”, not “R.transpose() * t”.

Could you share your ideas about the aforementioned? Thanks!

cant build

C:>cd \Users\dream\3DUNDERWORLD-SLS-GPU_CPU-dev

C:\Users\dream\3DUNDERWORLD-SLS-GPU_CPU-dev>mkdir build

C:\Users\dream\3DUNDERWORLD-SLS-GPU_CPU-dev>cd build

C:\Users\dream\3DUNDERWORLD-SLS-GPU_CPU-dev\build>cmake ..
-- Building for: Visual Studio 15 2017
-- Selecting Windows SDK version to target Windows 10.0.17134.
CMake Error at CMakeLists.txt:24 (project):
Failed to run MSBuild command:

C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/MSBuild/15.0/Bin/MSBuild.exe

to get the value of VCTargetsPath:

Microsoft (R) Build Engine version 15.7.180.61344 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 8/6/2018 12:59:46 AM.
Project "C:\Users\dream\3DUNDERWORLD-SLS-GPU_CPU-dev\build\CMakeFiles\3.12.0\VCTargetsPath.vcxproj" on node 1 (default targets).
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargets\Platforms\Win32\PlatformToolsets\v141\Toolset.targets(34,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:\Users\dream\3DUNDERWORLD-SLS-GPU_CPU-dev\build\CMakeFiles\3.12.0\VCTargetsPath.vcxproj]
Done Building Project "C:\Users\dream\3DUNDERWORLD-SLS-GPU_CPU-dev\build\CMakeFiles\3.12.0\VCTargetsPath.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\Users\dream\3DUNDERWORLD-SLS-GPU_CPU-dev\build\CMakeFiles\3.12.0\VCTargetsPath.vcxproj" (default target) (1) ->
(Desktop_PlatformPrepareForBuild target) ->
  C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargets\Platforms\Win32\PlatformToolsets\v141\Toolset.targets(34,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:\Users\dream\3DUNDERWORLD-SLS-GPU_CPU-dev\build\CMakeFiles\3.12.0\VCTargetsPath.vcxproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.65

Exit code: 1

-- Configuring incomplete, errors occurred!
See also "C:/Users/dream/3DUNDERWORLD-SLS-GPU_CPU-dev/build/CMakeFiles/CMakeOutput.log".

C:\Users\dream\3DUNDERWORLD-SLS-GPU_CPU-dev\build>make
'make' is not recognized as an internal or external command,
operable program or batch file.

can't build on GPU

The header file of FileReaderCUDA.cuh, #include<core/FileReader.h>, I can not fond the file in the core folder.This is what problem?

the array index out of range

I have study struct light recently, and useing this code, it can generate point cloud data with you given test data.but when I use myself data, the code can not work and it will raise in this code
bkts[vec2Idx.x * projHeight + vec2Idx.y].push_back(getRay(i));
I find that this calculate will cause array index of bkts out of range and code running exception.
On my occasion, I use projector resolution 912x1140, and the camera resolution is 1280x1024, and camera calibration is well done.why this problem occur? the code just support projector resolution 768x1024?

Can''t build

At build time, it fails with:

In file included from /tmp/3Dunderworldsls/src/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:2:0:
/tmp/3Dunderworldsls/src/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:41:16: error: 'vector' in namespace 'cv' does not name a template type
     static cv::vector<cv::Point2f> manualMarkCheckBoard(cv::Mat img);
                ^~~~~~
/tmp/3Dunderworldsls/src/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:53:41: error: 'cv::vector' has not been declared
                                     cv::vector<cv::Point2f> &camCorners,
                                         ^~~~~~

My system is using:

  • opencv 3.2
  • cuda 8.0
  • glm 0.9
  • cmake 3.8
  • gcc 7.1

Question: how might accurate 6DoF external tracking change capture workflow

If one could use a high speed 6DoF tracking for the camera/projector apparatus how might the capture workflow change?

would this mean that the user would be able to move freely about the capture object and as long as the apparatus is stable during the projection/capture the pose estimates of the tracking could be used to register the individual scans?

Cannot calibrate (cv::Exception), lower resolution, fewer images

When Im trying to run calibration step, i am receiving an error:

[lukasz@lukasz-pc build]$ ./bin/calibrateCamera --images "/home/lukasz/Pictures/mouse_3d_scan/m.left/" --output left.cfg
[ WARN:[email protected]] global /build/opencv/src/opencv-4.6.0/modules/imgcodecs/src/loadsave.cpp (239) findDecoder imread_('/home/lukasz/Pictures/mouse_3d_scan/m.left/41.JPG'): can't open/read file: check file path/integrity
QSettings::value: Empty key passed
QSettings::value: Empty key passed
terminate called after throwing an instance of 'cv::Exception'
  what():  OpenCV(4.6.0) /build/opencv/src/opencv-4.6.0/modules/imgproc/src/color.simd_helpers.hpp:92: error: (-2:Unspecified error) in function 'cv::impl::{anonymous}::CvtHelper<VScn, VDcn, VDepth, sizePolicy>::CvtHelper(cv::InputArray, cv::OutputArray, int) [with VScn = cv::impl::{anonymous}::Set<3, 4>; VDcn = cv::impl::{anonymous}::Set<1>; VDepth = cv::impl::{anonymous}::Set<0, 2, 5>; cv::impl::{anonymous}::SizePolicy sizePolicy = cv::impl::<unnamed>::NONE; cv::InputArray = const cv::_InputArray&; cv::OutputArray = const cv::_OutputArray&]'
> Invalid number of channels in input image:
>     'VScn::contains(scn)'
> where
>     'scn' is 1

Aborted (core dumped)

I do not have 41.JPG because i was using 640x480 pattern which produces only 40 images per camera.
How to modify code to support it?

there may be something wrong in your readme

-R, --rightconfig Right camera configuration file (string)
-o, --output Right camera configuration file (string)

what does the "--output" should be? Thank you very much.

Camera/projector recommendations?

Hello, I have made an operational setup of 3DUnderworld in Ubuntu, I am ready to build out the scanner. I was wondering if anyone has any recommendations as to what kind of cameras are best suited for this (full frame? lens type? etc) and what features to look for in a projector as well.
also, we have a lot of metrology equipment here, and we would like to know if there is a way to incorporate passive reflective targets into the scan data as well, so we can create a coordinate system to place the point cloud into. has this been done?
thanks for any info anyone has.

help

hello does it work on raspberry pi ? and can i add motors (steppers) for rotation ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.