Package 

Class PolygonCloseAutoSnappingPredicate

  • All Implemented Interfaces:
    io.scanbot.sdk.camera.autosnapping.IAutoSnappingPredicate , io.scanbot.sdk.camera.autosnapping.ResettablePredicate

    
    public final class PolygonCloseAutoSnappingPredicate
     implements IAutoSnappingPredicate<List<PointF>>, ResettablePredicate
                        

    Checks consecutive frames polygons' position and allows only close ones (thus, no shaking) takes place.

    Don't forget to call reset after successful snap.