-
public interface MultipleObjectsDetectorDetects multiple non-overlapping rectangular objects within an image. Like a bunch of business cards.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMultipleObjectsDetector.ParamsClass-container with MultipleObjectsDetector's params.
-
Method Summary
Modifier and Type Method Description abstract UnitsetParams(MultipleObjectsDetector.Params params)Set Params for this MultipleObjectsDetector instance. abstract List<Polygon>detectOnNV21(ByteArray nv21, Integer width, Integer height, Integer orientation)Detects multiple non-overlapping rectangular objects within an NV21 format image. abstract List<Polygon>detectOnBitmap(Bitmap image, Integer orientation)Detects multiple non-overlapping rectangular objects within an Bitmap image. List<Polygon>detectOnBitmap(Bitmap image)Detects multiple non-overlapping rectangular objects within an Bitmap image. -
-
Method Detail
-
setParams
abstract Unit setParams(MultipleObjectsDetector.Params params)
Set Params for this MultipleObjectsDetector instance.
If not set, default Params values will be used.
-
detectOnNV21
abstract List<Polygon> detectOnNV21(ByteArray nv21, Integer width, Integer height, Integer orientation)
Detects multiple non-overlapping rectangular objects within an NV21 format image. Like a bunch of business cards.
- Parameters:
nv21- The image on which multiple rectangular objects should be detected.width- image widthheight- image heightorientation- image orientation in degrees (0, 90, 180, 270)
-
detectOnBitmap
abstract List<Polygon> detectOnBitmap(Bitmap image, Integer orientation)
Detects multiple non-overlapping rectangular objects within an Bitmap image. Like a bunch of business cards.
- Parameters:
image- The Bitmap image on which multiple rectangular objects should be detected.orientation- image orientation in degrees (0, 90, 180, 270)
-
detectOnBitmap
List<Polygon> detectOnBitmap(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.
- Parameters:
image- The Bitmap image on which multiple rectangular objects should be detected.
-
-
-
-