public static class MultipleObjectsDetector.Params
Class-container with interface MultipleObjectsDetector's params.
interface MultipleObjectsDetectorpublic Params(float minAspectRatio,
float maxAspectRatio)
Class-container with interface MultipleObjectsDetector's params.
minAspectRatio - minimum acceptable aspect ratio. Default is 1.0 (square)maxAspectRatio - maximum acceptable aspect ratio. Default is 2.0 (landscape-orientedobject with width two times bigger than height)IllegalArgumentException - if maxAspectRatio is smaller or equal than minAspectRatiointerface MultipleObjectsDetectorpublic Params()
Class-container with interface MultipleObjectsDetector's params.
IllegalArgumentException - if maxAspectRatio is smaller or equal than minAspectRatiointerface MultipleObjectsDetectorpublic float getMinAspectRatio()
minimum acceptable aspect ratio.
Default is 1.0 (square)
public float getMaxAspectRatio()
maximum acceptable aspect ratio.
Default is 2.0 (landscape-orientedobject with width two times bigger than height)
public float component1()
minimum acceptable aspect ratio.
Default is 1.0 (square)
public float component2()
maximum acceptable aspect ratio.
Default is 2.0 (landscape-orientedobject with width two times bigger than height)
@NotNull
public io.scanbot.multipleobjectsscanner.MultipleObjectsDetector.Params copy(float minAspectRatio,
float maxAspectRatio)
Class-container with interface MultipleObjectsDetector's params.
minAspectRatio - minimum acceptable aspect ratio. Default is 1.0 (square)maxAspectRatio - maximum acceptable aspect ratio. Default is 2.0 (landscape-oriented
object with width two times bigger than height)IllegalArgumentException - if maxAspectRatio is smaller or equal than minAspectRatiointerface MultipleObjectsDetector@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)