Need to scan foot palm with rectangular size cube and cube distance of 30cm from scanner.


#1

We are using “Scanner” code base from SDK Sample. We want to achieve scanning for the Foot palm as shown in Video. Please take a look and let me know what changes needs to be done in code.

Video : https://drive.google.com/file/d/1vwNUqsYE_dTm5ldxt3OC8q_uu_bCQTra/view?ts=5a461f65

Need to scan foot palm with rectangular size cube and cube distance of 30cm from scanner.
Also I want to specify cube dimensions.


#2

I think 40 cm is the closest you can consistently get to the target.


#3

Ok.
But may I know How should I make cube 40 cm closer and Fixed cube (not moving forward/backward).
And I want to make it Rectangular as shown in video link : https://drive.google.com/file/d/1vwNUqsYE_dTm5ldxt3OC8q_uu_bCQTra/view?ts=5a461f65.

I am expecting code changes from you, to achieve as this video shows.

I do have referred to solution : SDK 0.6 Fix the Cube at a certain distance from the user but with this solution colour view is not showing inside cube. Showing down right side.


#4

You set the cube size with “initVolumeSizeInMeters” in the Options structure defined in ViewController.h

You can adjust the location of the cube from the variable “depthCameraPose” found in ViewController+OpenGL.mm

The SDK code sets the location of the cube relative to the scanner with:
GLKMatrix4 depthCameraPose = _slamState.initialDepthCameraPose;

You can change the location of the cube by doing this:
depthCameraPose = GLKMatrix4Translate(depthCameraPose, 0, 0, my_distance_value );
where my_distance_value is the distance from the scanner.


#5

I want to scan closest object that too in mid air.
Can you help with that please?