Class DocumentDetectionResult
- Namespace
- IO.Scanbot.Sdk.Documentscanner
- Assembly
- DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/documentscanner/DocumentDetectionResult", DoNotGenerateAcw = true)]
public sealed class DocumentDetectionResult : Object, IParcelable, IJavaObject, IJavaPeerable, IDisposable
- Inheritance
-
DocumentDetectionResult
- Implements
- Inherited Members
Constructors
DocumentDetectionResult(DocumentDetectionStatus, DocumentDetectionScores, IList<Point>, IList<LineSegmentInt>, IList<LineSegmentInt>, IList<PointF>, IList<LineSegmentFloat>, IList<LineSegmentFloat>, double, int, DocumentDisplacement, PointF)
[Register(".ctor", "(Lio/scanbot/sdk/documentscanner/DocumentDetectionStatus;Lio/scanbot/sdk/documentscanner/DocumentDetectionScores;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;DILio/scanbot/sdk/documentscanner/DocumentDisplacement;Landroid/graphics/PointF;)V", "")]
public DocumentDetectionResult(DocumentDetectionStatus status, DocumentDetectionScores detectionScores, IList<Point> points, IList<LineSegmentInt> horizontalLines, IList<LineSegmentInt> verticalLines, IList<PointF> pointsNormalized, IList<LineSegmentFloat> horizontalLinesNormalized, IList<LineSegmentFloat> verticalLinesNormalized, double aspectRatio, int averageBrightness, DocumentDisplacement displacement, PointF displacementVector)
Parameters
statusDocumentDetectionStatusdetectionScoresDocumentDetectionScorespointsIList<Point>horizontalLinesIList<LineSegmentInt>verticalLinesIList<LineSegmentInt>pointsNormalizedIList<PointF>horizontalLinesNormalizedIList<LineSegmentFloat>verticalLinesNormalizedIList<LineSegmentFloat>aspectRatiodoubleaverageBrightnessintdisplacementDocumentDisplacementdisplacementVectorPointF
DocumentDetectionResult(JSONObject)
[Register(".ctor", "(Lorg/json/JSONObject;)V", "")]
public DocumentDetectionResult(JSONObject json)
Parameters
jsonJSONObject
DocumentDetectionResult(IDictionary<string, Object>)
[Register(".ctor", "(Ljava/util/Map;)V", "")]
public DocumentDetectionResult(IDictionary<string, Object> source)
Parameters
sourceIDictionary<string, Object>
Properties
AspectRatio
public double AspectRatio { get; }
Property Value
AverageBrightness
public int AverageBrightness { get; }
Property Value
Creator
[Register("CREATOR")]
public static IParcelableCreator Creator { get; }
Property Value
DetectionScores
public DocumentDetectionScores DetectionScores { get; }
Property Value
Displacement
public DocumentDisplacement Displacement { get; }
Property Value
DisplacementVector
public PointF DisplacementVector { get; }
Property Value
HorizontalLines
public IList<LineSegmentInt> HorizontalLines { get; }
Property Value
HorizontalLinesNormalized
public IList<LineSegmentFloat> HorizontalLinesNormalized { get; }
Property Value
Points
public IList<Point> Points { get; }
Property Value
PointsNormalized
public IList<PointF> PointsNormalized { get; }
Property Value
Status
public DocumentDetectionStatus Status { get; }
Property Value
VerticalLines
public IList<LineSegmentInt> VerticalLines { get; }
Property Value
VerticalLinesNormalized
public IList<LineSegmentFloat> VerticalLinesNormalized { get; }
Property Value
Methods
Component1()
[Register("component1", "()Lio/scanbot/sdk/documentscanner/DocumentDetectionStatus;", "")]
public DocumentDetectionStatus Component1()
Returns
Component10()
[Register("component10", "()I", "")]
public int Component10()
Returns
Component11()
[Register("component11", "()Lio/scanbot/sdk/documentscanner/DocumentDisplacement;", "")]
public DocumentDisplacement Component11()
Returns
Component12()
[Register("component12", "()Landroid/graphics/PointF;", "")]
public PointF Component12()
Returns
Component2()
[Register("component2", "()Lio/scanbot/sdk/documentscanner/DocumentDetectionScores;", "")]
public DocumentDetectionScores Component2()
Returns
Component3()
[Register("component3", "()Ljava/util/List;", "")]
public IList<Point> Component3()
Returns
Component4()
[Register("component4", "()Ljava/util/List;", "")]
public IList<LineSegmentInt> Component4()
Returns
Component5()
[Register("component5", "()Ljava/util/List;", "")]
public IList<LineSegmentInt> Component5()
Returns
Component6()
[Register("component6", "()Ljava/util/List;", "")]
public IList<PointF> Component6()
Returns
Component7()
[Register("component7", "()Ljava/util/List;", "")]
public IList<LineSegmentFloat> Component7()
Returns
Component8()
[Register("component8", "()Ljava/util/List;", "")]
public IList<LineSegmentFloat> Component8()
Returns
Component9()
[Register("component9", "()D", "")]
public double Component9()
Returns
Copy(DocumentDetectionStatus, DocumentDetectionScores, IList<Point>, IList<LineSegmentInt>, IList<LineSegmentInt>, IList<PointF>, IList<LineSegmentFloat>, IList<LineSegmentFloat>, double, int, DocumentDisplacement, PointF)
[Register("copy", "(Lio/scanbot/sdk/documentscanner/DocumentDetectionStatus;Lio/scanbot/sdk/documentscanner/DocumentDetectionScores;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;DILio/scanbot/sdk/documentscanner/DocumentDisplacement;Landroid/graphics/PointF;)Lio/scanbot/sdk/documentscanner/DocumentDetectionResult;", "")]
public DocumentDetectionResult Copy(DocumentDetectionStatus status, DocumentDetectionScores detectionScores, IList<Point> points, IList<LineSegmentInt> horizontalLines, IList<LineSegmentInt> verticalLines, IList<PointF> pointsNormalized, IList<LineSegmentFloat> horizontalLinesNormalized, IList<LineSegmentFloat> verticalLinesNormalized, double aspectRatio, int averageBrightness, DocumentDisplacement displacement, PointF displacementVector)
Parameters
statusDocumentDetectionStatusdetectionScoresDocumentDetectionScorespointsIList<Point>horizontalLinesIList<LineSegmentInt>verticalLinesIList<LineSegmentInt>pointsNormalizedIList<PointF>horizontalLinesNormalizedIList<LineSegmentFloat>verticalLinesNormalizedIList<LineSegmentFloat>aspectRatiodoubleaverageBrightnessintdisplacementDocumentDisplacementdisplacementVectorPointF
Returns
DescribeContents()
Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.
[Register("describeContents", "()I", "")]
public int DescribeContents()
Returns
- int
a bitmask indicating the set of special object types marshaled by this Parcelable object instance.
Remarks
<p>Describe the kinds of special objects contained in this Parcelable
instance's marshaled representation. For example, if the object will
include a file descriptor in the output of #writeToParcel(Parcel, int),
the return value of this method must include the
#CONTENTS_FILE_DESCRIPTOR bit.
.
android.os.Parcelable.describeContents()
Portions of this page are modifications based on work created and shared by the
ToJson(ToJsonConfiguration)
[Register("toJson", "(Lio/scanbot/sdk/common/ToJsonConfiguration;)Lorg/json/JSONObject;", "")]
public JSONObject ToJson(ToJsonConfiguration config)
Parameters
configToJsonConfiguration
Returns
WriteToParcel(Parcel, ParcelableWriteFlags)
Flatten this object in to a Parcel.
[Register("writeToParcel", "(Landroid/os/Parcel;I)V", "")]
public void WriteToParcel(Parcel dest, ParcelableWriteFlags flags)
Parameters
destParcelThe Parcel in which the object should be written.
flagsParcelableWriteFlagsAdditional flags about how the object should be written. May be 0 or
#PARCELABLE_WRITE_RETURN_VALUE.
Remarks
Flatten this object in to a Parcel.
.
android.os.Parcelable.writeToParcel(android.os.Parcel, int)
Portions of this page are modifications based on work created and shared by the