Class CapCognition
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
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
Initialized
True if the CapCognition library has been initialized.
public static bool Initialized { get; }
Property Value
LoggerFactory
public static ILoggerFactory? LoggerFactory { get; set; }
Property Value
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
factoryILoggerFactoryThe logging factory to be used
processorInitializersIRecognitionProcessorInitializer[]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