Package io.scanbot.sdk.camera
Class FrameHandler.Frame
-
- All Implemented Interfaces:
public final class FrameHandler.FrameRepresents captured frame data and bounds.
-
-
Field Summary
Fields Modifier and Type Field Description private final ByteArrayframeprivate final Integerwidthprivate final Integerheightprivate final IntegerframeOrientationprivate final RectfinderRectprivate final RectFvisibleRectprivate final IntegerfinderInnerThresholdPxprivate final IntegerfinderOuterThresholdPx
-
Method Summary
Modifier and Type Method Description final ByteArraygetFrame()final IntegergetWidth()final IntegergetHeight()final IntegergetFrameOrientation()final RectgetFinderRect()final RectFgetVisibleRect()final IntegergetFinderInnerThresholdPx()final IntegergetFinderOuterThresholdPx()Booleanequals(Object other)IntegerhashCode()-
-
Constructor Detail
-
FrameHandler.Frame
FrameHandler.Frame(ByteArray frame, Integer width, Integer height, Integer frameOrientation, Rect finderRect, RectF visibleRect, Integer finderInnerThresholdPx, Integer finderOuterThresholdPx)
- Parameters:
frame- image in NV21 formatwidth- width of the imageheight- height of the imageframeOrientation- orientation of the image (in degrees)finderRect- finder overlay areavisibleRect- visible preview areafinderInnerThresholdPx- inner finder thresholdfinderOuterThresholdPx- outer finder threshold
-
-
Method Detail
-
getFrameOrientation
final Integer getFrameOrientation()
-
getFinderRect
final Rect getFinderRect()
-
getVisibleRect
final RectF getVisibleRect()
-
getFinderInnerThresholdPx
final Integer getFinderInnerThresholdPx()
-
getFinderOuterThresholdPx
final Integer getFinderOuterThresholdPx()
-
-
-
-