![]() |
digiKam Developer Documentation
Professional Photo Management with the Power of Open Source
|
Public Member Functions | |
DNNModelBase (const DNNModelInfoContainer &_info) | |
DownloadInfo | getDownloadInformation () const |
const QString | getModelPath () const |
float | getThreshold (int uiThreshold=DNN_MODEL_THRESHOLD_NOT_SET) const |
Public Attributes | |
const DNNModelInfoContainer | info |
Information about the model. | |
bool | modelLoaded = false |
Indicate if the model has been loaded. | |
QMutex | mutex |
Mutex to single-thread model during critical processing functions. | |
Protected Member Functions | |
bool | checkFilename () const |
const QPair< int, int > | getBackendAndTarget () const |
Protected Attributes | |
QMutex | loaderMutex |
const QString Digikam::DNNModelBase::getModelPath | ( | ) | const |
float Digikam::DNNModelBase::getThreshold | ( | int | uiThreshold = DNN_MODEL_THRESHOLD_NOT_SET | ) | const |
uiThreshold | is the slider value from the UI. |