Skip to content

Commit a87be2b

Browse files
committed
Points step for LocalTracker are equal cornerSubPix window size
1 parent 09662b9 commit a87be2b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Detector/Detector.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ void CDetector::DetectContour()
5656

5757
if (m_collectPoints)
5858
{
59-
const int yStep = 3;
60-
const int xStep = 3;
59+
const int yStep = 4;
60+
const int xStep = 4;
6161

6262
for (int y = r.y; y < r.y + r.height; y += yStep)
6363
{

0 commit comments

Comments
 (0)