Class ContourDetector  
  
  
    - Namespace
 - IO.Scanbot.Sdk.Core.Contourdetector
 
  - Assembly
 - DocumentSDK.NET.Droid.dll
 
   
  
  
  
    [Register("io/scanbot/sdk/core/contourdetector/ContourDetector", DoNotGenerateAcw = true)]
public sealed class ContourDetector : SelfDisposable, IJavaObject, IJavaPeerable, IDisposable
   
  
    - Inheritance
 
    - 
      
      
      
      
ContourDetector
     
  
  
    - Implements
 
    - 
      
      
      
    
 
  
  
    - Inherited Members
 
    - 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
  
 
  Constructors
  
  
  ContourDetector(Type)
  
  
  
  
  
    [Register(".ctor", "(Lio/scanbot/sdk/core/contourdetector/ContourDetector$Type;)V", "")]
[Obsolete("While this member is 'public', Google considers it internal API and reserves the right to modify or delete it in the future. Use at your own risk.", DiagnosticId = "XAOBS001")]
public ContourDetector(ContourDetector.Type contourDetectorType)
   
  Parameters
  
    contourDetectorType ContourDetector.Type 
    
  
  Methods
  
  
  CreateBitmapFromEncodedData(byte[])
  
  
  
  
  
    [Register("createBitmapFromEncodedData", "([B)Landroid/graphics/Bitmap;", "")]
public static Bitmap CreateBitmapFromEncodedData(byte[] data)
   
  Parameters
  
    data byte[] 
    
  
  Returns
  
    - Bitmap
 
    
  
  
  
  CreateBitmapFromEncodedFile(string)
  
  
  
  
  
    [Register("createBitmapFromEncodedFile", "(Ljava/lang/String;)Landroid/graphics/Bitmap;", "")]
public static Bitmap CreateBitmapFromEncodedFile(string fileName)
   
  Parameters
  
    fileName string 
    
  
  Returns
  
    - Bitmap
 
    
  
  
  
  Ctor()
  
  
  
  
  
    [Register("ctor", "()J", "")]
public override long Ctor()
   
  Returns
  
    - long
 
    
  
  
  
  Detect(Bitmap)
  
  
  
  
  
    [Register("detect", "(Landroid/graphics/Bitmap;)Lio/scanbot/sdk/core/contourdetector/DetectionResult;", "")]
public DetectionResult Detect(Bitmap bitmap)
   
  Parameters
  
    bitmap Bitmap 
    
  
  Returns
  
    - DetectionResult
 
    
  
  
  
  Detect(byte[])
  
  
  
  
  
    [Register("detect", "([B)Lio/scanbot/sdk/core/contourdetector/DetectionResult;", "")]
public DetectionResult Detect(byte[] data)
   
  Parameters
  
    data byte[] 
    
  
  Returns
  
    - DetectionResult
 
    
  
  
  
  Detect(byte[], int, int)
  
  
  
  
  
    [Register("detect", "([BII)Lio/scanbot/sdk/core/contourdetector/DetectionResult;", "")]
public DetectionResult Detect(byte[] nv21, int width, int height)
   
  Parameters
  
    nv21 byte[] 
    
    width int 
    
    height int 
    
  
  Returns
  
    - DetectionResult
 
    
  
  
  
  Detect(string)
  
  
  
  
  
    [Register("detect", "(Ljava/lang/String;)Lio/scanbot/sdk/core/contourdetector/DetectionResult;", "")]
public DetectionResult Detect(string fileName)
   
  Parameters
  
    fileName string 
    
  
  Returns
  
    - DetectionResult
 
    
  
  
  
  DetectInArea(byte[], int, int, int, Rect)
  
  
  
  
  
    [Register("detectInArea", "([BIIILandroid/graphics/Rect;)Lio/scanbot/sdk/core/contourdetector/DetectionResult;", "")]
public DetectionResult DetectInArea(byte[] nv21, int width, int height, int frameOrientation, Rect finderRect)
   
  Parameters
  
    nv21 byte[] 
    
    width int 
    
    height int 
    
    frameOrientation int 
    
    finderRect Rect 
    
  
  Returns
  
    - DetectionResult
 
    
  
  
  
  Dtor(long)
  
  
  
  
  
    [Register("dtor", "(J)V", "")]
public override void Dtor(long nativeImplPtr)
   
  Parameters
  
    nativeImplPtr long 
    
  
  
  
  ResetPolygonHistory()
  
  
  
  
  
    [Register("resetPolygonHistory", "()V", "")]
public void ResetPolygonHistory()
   
  
  
  SetAcceptedAngleScore(double)
  
  
  
  
  
    [Register("setAcceptedAngleScore", "(D)V", "")]
public void SetAcceptedAngleScore(double acceptedAngleScore)
   
  Parameters
  
    acceptedAngleScore double 
    
  
  
  
  SetAcceptedBrightnessThreshold(int)
  
  
  
  
  
    [Register("setAcceptedBrightnessThreshold", "(I)V", "")]
public void SetAcceptedBrightnessThreshold(int acceptedBrightnessThreshold)
   
  Parameters
  
    acceptedBrightnessThreshold int 
    
  
  
  
  SetAcceptedSizeScore(double)
  
  
  
  
  
    [Register("setAcceptedSizeScore", "(D)V", "")]
public void SetAcceptedSizeScore(double acceptedSizeScore)
   
  Parameters
  
    acceptedSizeScore double 
    
  
  
  
  SetRectOfInterest(RectF)
  
  
  
  
  
    [Register("setRectOfInterest", "(Landroid/graphics/RectF;)V", "")]
public void SetRectOfInterest(RectF rectOfInterest)
   
  Parameters
  
    rectOfInterest RectF 
    
  
  
  
  SetRequiredAspectRatios(IList<AspectRatio>)
  
  
  
  
  
    [Register("setRequiredAspectRatios", "(Ljava/util/List;)V", "")]
public void SetRequiredAspectRatios(IList<AspectRatio> requiredPageAspectRatios)
   
  Parameters
  
    requiredPageAspectRatios IList<AspectRatio>