public MultipleObjectsDetector
Detects multiple non-overlapping rectangular objects within an image. Like a bunch of business cards.
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
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
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.@NotNull
java.util.List<io.scanbot.multipleobjectsscanner.model.Polygon> detectOnBitmap(@NotNull
android.graphics.Bitmap image)
Detects multiple non-overlapping rectangular objects within an Bitmap image. Like a bunch of business cards.
Same as MultipleObjectsDetector.detectOnBitmap but won't handle orientation in any way.
image - The Bitmap image on which multiple rectangular objects should be detected.class Polygon objects.MultipleObjectsDetector.detectOnBitmap