public static class MultipleObjectsFrameHandler.DetectedData
Objects detection results alongside with information about frame
public DetectedData(int frameOrientation,
int frameWidth,
int frameHeight,
@NotNull
java.util.List<io.scanbot.multipleobjectsscanner.model.Polygon> detectedPolygons)
Objects detection results alongside with information about frame
frameOrientation - Rotation of the frame in degrees relatively to what is seen on the screen. Frames mightcome in different orientation from the camera, that's why this value is needed. You mightuse it to compensate rotation of .polygon.frameWidth - Width of the frame before rotationframeHeight - Height of the frame before rotationpublic int getFrameOrientation()
Rotation of the frame in degrees relatively to what is seen on the screen.
Frames mightcome in different orientation from the camera, that's why this value is needed. You mightuse it to compensate rotation of .polygon.
public int getFrameWidth()
Width of the frame before rotation
public int getFrameHeight()
Height of the frame before rotation
@NotNull public java.util.List<io.scanbot.multipleobjectsscanner.model.Polygon> getDetectedPolygons()