Skip to content

Commit

Permalink
Bug Fixes & Updates opencv#2
Browse files Browse the repository at this point in the history
  • Loading branch information
Auron-X committed Dec 6, 2016
1 parent d65143c commit f95a6aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/tracking/perf/perf_Tracker.cpp
Expand Up @@ -344,7 +344,7 @@ PERF_TEST_P(tracking, tld, testing::Combine(TESTSET_NAMES, SEGMENTS))

}

PERF_TEST_P(tracking, GOTURN, testing::Combine(TESTSET_NAMES, SEGMENTS))
PERF_TEST_P(tracking, goturn, testing::Combine(TESTSET_NAMES, SEGMENTS))
{
string video = get<0>(GetParam());
int segmentId = get<1>(GetParam());
Expand Down
5 changes: 1 addition & 4 deletions modules/tracking/src/gtrTracker.cpp
Expand Up @@ -109,7 +109,7 @@ namespace cv
}
if (!importer)
{
cvError(CV_StsError, "cv::gtr::InitImpl", "GOTURN network loading error...", "gtrTracker.cpp", 117);
//cvError(CV_StsError, "cv::gtr::InitImpl", "GOTURN network loading error...", "gtrTracker.cpp", 117);
}

importer->populateNet(net);
Expand Down Expand Up @@ -164,9 +164,6 @@ namespace cv
dnn::Blob targetBlob = dnn::Blob(targetPatch);
dnn::Blob searchBlob = dnn::Blob(searchPatch);

cout << targetBlob.size(0) << " " << targetBlob.size(1) << " " << targetBlob.size(2) << " " << targetBlob.size(3) << " " << endl;
cout << searchBlob.dims() << endl;

net.setBlob(".data1", targetBlob);
net.setBlob(".data2", searchBlob);

Expand Down

0 comments on commit f95a6aa

Please sign in to comment.