Class ImageProcessor
public abstract class ImageProcessor : IImageProcessor<IGraphicOverlay?>, IDisposable
- Inheritance
-
ImageProcessor
- Implements
- Inherited Members
Constructors
ImageProcessor()
protected ImageProcessor()
Fields
StopWatch
protected readonly Stopwatch StopWatch
Field Value
Properties
CaptureResolutionHeight
protected int CaptureResolutionHeight { get; }
Property Value
CaptureResolutionWidth
protected int CaptureResolutionWidth { get; }
Property Value
IsProcessingPending
public bool IsProcessingPending { get; protected set; }
Property Value
OptionType
public abstract Type OptionType { get; }
Property Value
Overlay
protected IGraphicOverlay? Overlay { get; }
Property Value
ProcessingTimeInMs
public long ProcessingTimeInMs { get; protected set; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public virtual void Dispose()
DoProcessImageAsync(SKBitmap, RecognitionResult)
public abstract Task DoProcessImageAsync(SKBitmap bitmap, RecognitionResult result)
Parameters
bitmapSKBitmapresultRecognitionResult
Returns
NotifyProcessingStarted(bool)
protected virtual void NotifyProcessingStarted(bool started)
Parameters
startedbool
ProcessImageAsync(SKBitmap, RecognitionResult)
public Task ProcessImageAsync(SKBitmap bitmap, RecognitionResult result)
Parameters
bitmapSKBitmapresultRecognitionResult
Returns
ProcessorRemoved()
public abstract void ProcessorRemoved()
StartProcessing(RecognitionOptions, int, int, IGraphicOverlay?)
protected virtual bool StartProcessing(RecognitionOptions options, int captureResolutionWidth, int captureResolutionHeight, IGraphicOverlay? overlay)
Parameters
optionsRecognitionOptionscaptureResolutionWidthintcaptureResolutionHeightintoverlayIGraphicOverlay
Returns
StartProcessingAsync(RecognitionOptions, int, int, IGraphicOverlay?)
public abstract Task<bool> StartProcessingAsync(RecognitionOptions options, int captureResolutionWidth, int captureResolutionHeight, IGraphicOverlay? overlay)
Parameters
optionsRecognitionOptionscaptureResolutionWidthintcaptureResolutionHeightintoverlayIGraphicOverlay
Returns
StopProcessing()
protected virtual void StopProcessing()
StopProcessingAsync()
public abstract Task StopProcessingAsync()