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.
Type
1 parent ec374e9 commit 566ffe4Copy full SHA for 566ffe4
src/openpose/net/bodyPartConnectorBaseCL.cpp
@@ -69,7 +69,7 @@ namespace op
69
const Type l2Dist = sqrt((Type)(vectorAToBX*vectorAToBX + vectorAToBY*vectorAToBY));
70
const Type threshold = sqrt((Type)(heatmapWidth*heatmapHeight))/150; // 3.3 for 368x656, 6.6 for 2x resolution
71
if (l2Dist < threshold)
72
- return Type(defaultNmsThreshold+1e-6); // Without 1e-6 will not work because I use strict greater
+ return (Type)(defaultNmsThreshold+1e-6); // Without 1e-6 will not work because I use strict greater
73
}
74
75
return -1;
0 commit comments