Skip to content
Snippets Groups Projects
Commit 5cc438c7 authored by d.kilic's avatar d.kilic Committed by d.kilic
Browse files

Moved comment according to review

parent 333ba6a7
No related branches found
No related tags found
1 merge request!173Resolve "Merge doesn't delete already merged person from further evaluation"
Pipeline #58531 passed
This commit is part of merge request !173. Comments created here will be created in the context of that merge request.
......@@ -777,8 +777,6 @@ int Tracker::insertFeaturePoints(int frame, size_t count, cv::Mat &img, int bord
for(size_t i = 0; i < count; ++i)
{
// status from OpenCV: 0 -> not tracked, 1 -> tracked
// from us: 2 -> already merged, doesn't exist anymore
if(mStatus[i] == TrackStatus::Tracked)
{
v = Vec2F(mFeaturePoints.at(i).x, mFeaturePoints.at(i).y); // umwandlung nach TrackPoint bei "="
......@@ -1154,6 +1152,7 @@ void Tracker::trackFeaturePointsLK(int level, bool adaptive)
mTrackError[i] = localTrackError[0] * 10.F / winSize;
} while(adaptive && localStatus[0] == 0 && (l--) > 0);
// status from OpenCV: 0 -> not tracked, 1 -> tracked
mStatus[i] = localStatus[0] ? TrackStatus::Tracked : TrackStatus::NotTracked;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment