![]() |
digiKam Developer Documentation
Professional Photo Management with the Power of Open Source
|
Public Member Functions | |
const QList< DownloadInfo > & | getDownloadInformation (DNNModelUsage usage) |
Used by the filesdownload to get a stream containing the files and information to download. | |
DNNModelBase * | getModel (const QString &modelName, DNNModelUsage usage) const |
Retrieve a DNNModelBase pointer by name. | |
Static Public Member Functions | |
static DNNModelManager * | instance () |
Global instance of internal model manager. | |
Friends | |
class | DNNModelManagerCreator |
DNNModelBase * Digikam::DNNModelManager::getModel | ( | const QString & | modelName, |
DNNModelUsage | usage | ||
) | const |
This will load and create the model on first use. It will also find the best OpenCV Target and Backend for the model based on computer capabilities. Returns nullptr if 'modelName' cannot be found.
|
static |
All accessor methods are thread-safe.