Overview
TheOpenComicAI.modelsPath static property stores the absolute path to the directory where AI model files are located.
Type
Default value
undefined - Must be set before using the library
Setting the models path
The models path must be configured usingsetModelsPath() before performing any image processing:
Example usage
Directory structure
The models path should contain subdirectories for each model type:Error handling
Runtime checking
Related methods
- setModelsPath() - Configure the models directory