The only C++ I know of for setting auto-exposure ROI is the code snippet highlighted on line 459 of the script in the link below.
There is also a Python version of it:
https://github.com/IntelRealSense/librealsense/issues/2681#issuecomment-436391721
連結已複製
If you have Windows, the '2016 R2' version of the RealSense SDK (which is compatible with the SR300) comes with an easy to use free sample program called '3DScan' for creating model scans of objects or the head like the example for Kinect in your video. You can then export the model from 3DScan as an .obj format model file.
You can launch a 1.8 gb download of the 2016 R2 SDK in your browser by left-clicking on the link below.
http://registrationcenter-download.intel.com/akdlm/irc_nas/vcp/9078/intel_rs_sdk_offline_package_10.0.26.0396.exe
Outside of the 3DScan program, the options for doing 3D reconstruction with the 2016 SDK alone are limited. There are a number of commercial 3D modeling programs that support the SR300.
If you need to use Python, the best option may be to create a point cloud and then convert the point cloud into a solid mesh. A Python program called Pyntcloud has the ability to do such a conversion.
It is quite straightforward to generate a point cloud in C++ in the current RealSense SDK 2.0, which is available for download from the link below.
https://github.com/IntelRealSense/librealsense/releases/
You can either generate the point cloud with C++ scripting or by using a pre-made program that comes with RealSense SDK 2.0 called the RealSense Viewer.
Once you have exported a point cloud to a file in .ply format though, it would need to be imported into a 3D modeling program to convert it into a solid mesh. A proven way to do this is to use a program called MeshLab.
https://www.andreasjakl.com/capturing-3d-point-cloud-intel-realsense-converting-mesh-meshlab/
You can also import a .ply point cloud file into other 3D modeling software packages such as Blender.
MeshLab has a 'Select Vertices' tool for removing the parts of a point cloud scan that you do not want before you create the solid model.
https://en.wikiversity.org/wiki/MakerBot/Cleaning_Up_Point_Cloud_Meshes_in_Meshlab_For_3D_Printing#Deleting_Unwanted_Background_Points
The only C++ I know of for setting auto-exposure ROI is the code snippet highlighted on line 459 of the script in the link below.
There is also a Python version of it:
https://github.com/IntelRealSense/librealsense/issues/2681#issuecomment-436391721
