Obtain HALCON-Readable Point Cloud through Mech-Eye API¶
Through Mech-Eye API, you can obtain point clouds faster than through HALCON, and it is possible to obtain textured point clouds directly.
Mech-Eye API provides a C++ sample program CaptureHalconPointCloud. By running this sample program, you can obtain untextured and textured point clouds through Mech-Eye API and convert these data to HALCON-readable format. Then you can read the point clouds into HALCON and perform further processing.
This sample program can be used on Windows and Ubuntu operating system.
Note
This sample program depends on the HALCON/C++ interface. Please confirm that your HALCON license is still valid before using.
Use Sample Program on Windows¶
In order to use this sample program on Windows, the following software must be installed.
Mech-Eye SDK
Cmake
Visual Studio
HALCON
For instructions on installing these software, as well as instructions on building and runing this sample individually, please refer to Instructions on Using Mech-Eye API C++ Samples (Windows).
After running the sample, you can read the obtained point clouds into HALCON with the read_object_model_3d operator.
Use Sample Program on Ubuntu¶
In order to use this sample program on Ubuntu, the following software must be installed.
Mech-Eye SDK
Cmake
PCL
HALCON
For instructions on installing these software, as well as instructions on building and runing this sample individually, please refer to Instructions on Using Mech-Eye API C++ Samples (Ubuntu).
After running the sample, you can read the obtained point clouds into HALCON with the read_object_model_3d operator.