public class DefaultMultipleObjectsDetector implements MultipleObjectsDetector
Scanbot implementation of interface MultipleObjectsDetector
interface MultipleObjectsDetectorpublic DefaultMultipleObjectsDetector()
Scanbot implementation of interface MultipleObjectsDetector
interface MultipleObjectsDetectorpublic void setParams(@NotNull
io.scanbot.multipleobjectsscanner.MultipleObjectsDetector.Params params)
Set class MultipleObjectsDetector.Params for this interface MultipleObjectsDetector instance.
If not set, default class MultipleObjectsDetector.Params values will be used.
@NotNull
public java.util.List<io.scanbot.multipleobjectsscanner.model.Polygon> detectOnNV21(@NotNull
kotlin.Array[] nv21,
int width,
int height,
int orientation)
Detects multiple non-overlapping rectangular objects within an NV21 format image. Like a bunch of business cards.
nv21 - The image on which multiple rectangular objects should be detected.width - image widthheight - image heightorientation - image orientation in degrees (0, 90, 180, 270)class Polygon objects.@NotNull
public java.util.List<io.scanbot.multipleobjectsscanner.model.Polygon> detectOnBitmap(@NotNull
android.graphics.Bitmap image,
int orientation)
Detects multiple non-overlapping rectangular objects within an Bitmap image. Like a bunch of business cards.
image - The Bitmap image on which multiple rectangular objects should be detected.orientation - image orientation in degrees (0, 90, 180, 270)class Polygon objects.