MCPcopy Create free account
hub / github.com/biometrics/openbr / init

Method init

openbr/plugins/core/loadstore.cpp:64–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62private:
63
64 void init()
65 {
66 if (transform != NULL) return;
67 if (fileName.isEmpty()) fileName = QRegExp("^[_a-zA-Z0-9]+$").exactMatch(transformString) ? transformString : QtUtils::shortTextHash(transformString);
68
69 if (!tryLoad())
70 transform = make(transformString);
71 else
72 trainable = false;
73 }
74
75 bool timeVarying() const
76 {

Callers

nothing calls this directly

Calls 3

shortTextHashFunction · 0.85
makeFunction · 0.85
isEmptyMethod · 0.80

Tested by

no test coverage detected