We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff8756a commit 182fe60Copy full SHA for 182fe60
demos/common/cpp/models/src/detection_model_retinaface_pt.cpp
@@ -180,7 +180,7 @@ std::vector<ModelRetinaFacePT::Rect> ModelRetinaFacePT::getFilteredProposals(con
180
auto pRawBox = reinterpret_cast<const Box*>(memPtr + i*sz[2]);
181
auto& prior = priors[i];
182
float cX = priors[i].cX + pRawBox->cX * variance[0] * prior.width;
183
- float cY = priors[i].cY + pRawBox->cY * variance[0] * prior.width;
+ float cY = priors[i].cY + pRawBox->cY * variance[0] * prior.height;
184
float width = prior.width * exp(pRawBox->width * variance[1]);
185
float height = prior.height * exp(pRawBox->height * variance[1]);
186
rects.push_back(Rect{
0 commit comments