"Please put Model back in view" keep popping up with SDK 0.81


with new SDK 0.81
modify scanner sample code with two lines:

  1. ViewController.h
    const GLKVector3 initVolumeSizeInMeters = GLKVector3Make (0.5f, 0.5f, 0.5f);
    const GLKVector3 initVolumeSizeInMeters = GLKVector3Make (1.0f, 1.0f, 1.0f);

  2. ViewController+SLAM.mm
    options:@{kSTCameraPoseInitializerStrategyKey: @(STCameraPoseInitializerStrategyTableTopCube)}];
    options:@{kSTCameraPoseInitializerStrategyKey: @(STCameraPoseInitializerStrategyGravityAlignedAtVolumeCenter)}];

try to capture the red spot (1cm in diameter) near the edge of object, “Please put model back in view” keeps popping up with the new Improved Tracker (0.8+)
when I switch it to “off”, but move the object near edge of desktop; the same message still pops up.

No problem found with old SDK 0.71


Change your mapper kSTMapperVolumeHasSupportPlaneKey: @NO
and this article should help: SDK 0.6 Fix the Cube at a certain distance from the user


I set it @NO, the message still popups.


I saw the same issue. Setting kSTMapperVolumeHasSupportPlaneKey: @NO as @n6xej suggested and also setting kSTTrackerLegacyKey to @YES helped.

From the docs:

  • As of SDK 0.8, improved tracking is enabled by default. Set this to @YES if you want to enable the pre-0.8 tracking behavior.