Table of Contents

Class CapCognition

Namespace
CapCognition.Net.Core
Assembly
CapCognition.Net.Core.dll
public class CapCognition
Inheritance
CapCognition
Inherited Members

Properties

EnableImageProcessingLogs

If set to true, additional processing logs will be written to the console during image processing. For better performance switch off this option when releasing your app.

Note: This setting does not affect streaming logs. To enable streaming logs, use EnableStreamingLogs.

public static bool EnableImageProcessingLogs { get; set; }

Property Value

bool

EnableStreamingLogs

if set to true, additional streaming logs will be written to the console during video streaming processing.

Note: This setting does not affect processing logs. To enable processing logs, use EnableImageProcessingLogs.

public static bool EnableStreamingLogs { get; set; }

Property Value

bool

Initialized

True if the CapCognition library has been initialized.

public static bool Initialized { get; }

Property Value

bool

LoggerFactory

public static ILoggerFactory? LoggerFactory { get; set; }

Property Value

ILoggerFactory

Methods

Initialize(ILoggerFactory, IRecognitionProcessorInitializer?[]?)

Initializes the CapCognition library. This method must be called before using any other CapCognition functionality.

public static void Initialize(ILoggerFactory factory, IRecognitionProcessorInitializer?[]? processorInitializers = null)

Parameters

factory ILoggerFactory

The logging factory to be used

processorInitializers IRecognitionProcessorInitializer[]

The processor extensions you wanna use. These processors are forcing the compiler to load the libraries in upfront

Events

StreamingLogsEnabledChangedEvt

public static event Action<bool>? StreamingLogsEnabledChangedEvt

Event Type

Action<bool>