initialize abstract method

Future<void> initialize()

Initializes the detector and allocates any required resources.

This may involve loading ML models, initializing native plugins, etc. Must be called before detect or detectBytes.

Implementation

Future<void> initialize();