public class AutoShotDetector extends Object
| Constructor and Description |
|---|
AutoShotDetector() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addDetectedCorners(android.graphics.Point[] points)
Append next document corners to nDetect stable state
|
void |
setParams(android.os.Bundle params)
Set detection params.
|
public boolean addDetectedCorners(@Nullable
android.graphics.Point[] points)
points - next document corners or null to reset detectiontrue if corners are stablepublic void setParams(@NonNull
android.os.Bundle params)
params - Bundle with parameters:
"stable-radius" int value for each corner deviation
"stable-delay" int time in milliseconds of stable state
"stable-count" int stable state times