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

Method projectUpdate

openbr/plugins/core/pipe.cpp:110–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108 }
109
110 void projectUpdate(const Template &src, Template &dst)
111 {
112 dst = src;
113 foreach (Transform *f, transforms) {
114 try {
115 f->projectUpdate(dst);
116 if (dst.file.fte)
117 break;
118 } catch (...) {
119 qWarning("Exception triggered when processing %s with transform %s", qPrintable(src.file.flat()), qPrintable(f->objectName()));
120 dst = Template(src.file);
121 dst.file.fte = true;
122 break;
123 }
124 }
125 }
126
127 // For time varying transforms, parallel execution over individual templates
128 // won't work.

Callers 4

trainMethod · 0.45
foreachMethod · 0.45
finalizeMethod · 0.45
workerLoopMethod · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected