digiKam
Loading...
Searching...
No Matches
Digikam::DNNModelYuNet Class Reference

#include <dnnmodelyunet.h>

+ Inheritance diagram for Digikam::DNNModelYuNet:

Public Member Functions

 DNNModelYuNet (const DNNModelInfoContainer &_info)
 
DownloadInfo getDownloadInformation () const
 
const QString getModelPath () const
 
cv::Ptr< cv::FaceDetectorYN > & getNet ()
 
float getThreshold (int uiThreshold=DNN_MODEL_THRESHOLD_NOT_SET) const
 
virtual ~DNNModelYuNet () override=default
 

Public Attributes

const DNNModelInfoContainer info
 information about the model.
 
bool modelLoaded = false
 check if the model has been loaded.
 
QMutex mutex
 mutex to sigle-thread model during critical processing functions.
 

Protected Member Functions

bool checkFilename () const
 
const QPair< int, int > getBackendAndTarget () const
 

Protected Attributes

QMutex loaderMutex
 

Constructor & Destructor Documentation

◆ DNNModelYuNet()

Digikam::DNNModelYuNet::DNNModelYuNet ( const DNNModelInfoContainer _info)
explicit

◆ ~DNNModelYuNet()

virtual Digikam::DNNModelYuNet::~DNNModelYuNet ( )
overridevirtualdefault

Member Function Documentation

◆ checkFilename()

bool Digikam::DNNModelBase::checkFilename ( ) const
protectedinherited

◆ getBackendAndTarget()

const QPair< int, int > Digikam::DNNModelBase::getBackendAndTarget ( ) const
protectedinherited

◆ getDownloadInformation()

◆ getModelPath()

const QString Digikam::DNNModelBase::getModelPath ( ) const
inherited

Return path to the model, or null string if path cannot be found.

References Digikam::DNNModelInfoContainer::fileName, and Digikam::DNNModelBase::info.

Referenced by Digikam::DNNModelBase::checkFilename(), and Digikam::DNNBaseDetectorModel::loadDetectionClasses().

◆ getNet()

cv::Ptr< cv::FaceDetectorYN > & Digikam::DNNModelYuNet::getNet ( )

◆ getThreshold()

Member Data Documentation

◆ info

◆ loaderMutex

QMutex Digikam::DNNModelBase::loaderMutex
protectedinherited

◆ modelLoaded

◆ mutex

QMutex Digikam::DNNModelBase::mutex
inherited

The documentation for this class was generated from the following files: