English | 简体中文
SLMaster is a relatively complete structured light 3D camera software. You can use it to perform static scanning or real-time dynamic scanning on any tested object.
The blog related to this software can be seen in the official account column: Build your own high-precision real-time structured light 3D camera from 0 to 1,Welcome to the official account。
Your Star⭐ and attention is my constant motivation. If you have any questions or feedback on bugs, please refer to the Issue.
Want to experience the software first ?
Please download the exe
installation file from the Release
page, but please note that the exe
installation method does not support GPU acceleration.
For more usage and development documentation, please refer to Wiki Document。
The libraries that SLMaster depends on include the following points:
- FluentUI
V1.5.6
(The project includes) - QuickQanava
V2.4.1
(The project includes) - MVViewer
V2.3.5
- opencv_contribute
V4.8.0
- OpenCV
V4.8.0
- VTK
V9.2.0
- PCL
V1.12.1
- Qt5
V5.15.14
If the computer does not have an NVIDIA GPU, the software can still use the CPU to accelerate and run effectively, and there is no need to rely on
opencv_contribute
.
After obtaining the code from this library, first check the above dependencies. If the dependency conditions are not met, you can click on the above dependency library to jump to the corresponding library, then download its code and compile it. Taking the environment where none of the above libraries have been compiled and installed as an example, the compilation order is as follows:
- Download MVViewer and install it。
- Download OpenCV和opencv_contribute and compile it (if
WITH-CUDA
is not checked, please check it) - Download Qt5.15 and select the
MSVC
compilation kit installation - Download VTK and compile with
VTK_GROUP-ENABLE_Qt=YES
- Download PCL-1.12.1-AllInOne and delete any other files in the
PCL
installation folder except for3rdParty
, and delete theVTK
folder in the3rdParty
folder after installation is completed - Download PCL and select the third-party library path for compilation
- Open a command line window and type
git clone --recursive https://github.com/Practice3DVision/SLMaster.git
CloneSLMaster
- Open
VSCode
to compile and runSLMasterGui
Warning: Every time a library is compiled, it should be added to the system environment variables. For example, after compiling OpenCV, set the system environment variable OpenCV-DIR path.
You can open the BUILL_TEST
and BUILD_PERF
option in SLMaster
, which will compile the test cases and perfermance cases in google_test and google_markbench. These test cases are also a very good example code.
In offline use, you can test the offline reconstruction effect by entering Scan Mode ->Offline Scan Mode ->Select Left Camera Folder ->Select Right Camera Folder ->Start Scanning ->Single Scan
. The software provides a set of offline datasets located in the Installation Directory/data/
directory.
If you need to change the algorithm parameters to test your offline dataset, please change the camera configuration file under the installation directory/gui/qml/res/configuration
, which records all the states of the 3D camera, including hardware composition, algorithm parameters, etc.
If you need to connect hardware and perform online functions, please modify the camera configuration file under the installation directory/gui/qml/res/configuration
to ensure that the hardware composition parameters are consistent with the hardware device you are using.
This SLMaster currently licensed under AGPL-3.0 License.