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 ea34e1e commit bb9462aCopy full SHA for bb9462a
modules/tracking/src/gtrTracker.cpp
@@ -163,7 +163,7 @@ namespace cv
163
164
dnn::Blob targetBlob = dnn::Blob(targetPatch);
165
dnn::Blob searchBlob = dnn::Blob(searchPatch);
166
-
+
167
net.setBlob(".data1", targetBlob);
168
net.setBlob(".data2", searchBlob);
169
@@ -177,7 +177,7 @@ namespace cv
177
curBB.y = targetPatchRect.y + (resMat.at<float>(1) * targetPatchRect.height / INPUT_SIZE) - targetPatchRect.height;
178
curBB.width = (resMat.at<float>(2) - resMat.at<float>(0)) * targetPatchRect.width / INPUT_SIZE;
179
curBB.height = (resMat.at<float>(3) - resMat.at<float>(1)) * targetPatchRect.height / INPUT_SIZE;
180
181
//Predicted BB
182
boundingBox = curBB;
183
0 commit comments