fixed indent
This commit is contained in:
parent
9552206a4c
commit
c2a880d7c9
@ -269,7 +269,7 @@ int main(int argc, const char* argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(is_sparse)
|
if(is_sparse)
|
||||||
{
|
{
|
||||||
namedWindow("PyrLK [Sparse]", WINDOW_NORMAL);
|
namedWindow("PyrLK [Sparse]", WINDOW_NORMAL);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -321,7 +321,8 @@ int main(int argc, const char* argv[])
|
|||||||
drawArrows(frame0, prevPts, nextPts, status, Scalar(255, 0, 0));
|
drawArrows(frame0, prevPts, nextPts, status, Scalar(255, 0, 0));
|
||||||
imshow("PyrLK [Sparse]", frame0);
|
imshow("PyrLK [Sparse]", frame0);
|
||||||
}
|
}
|
||||||
else {
|
else
|
||||||
|
{
|
||||||
// Dense
|
// Dense
|
||||||
Ptr<cuda::DensePyrLKOpticalFlow> d_pyrLK_dense = cuda::DensePyrLKOpticalFlow::create(
|
Ptr<cuda::DensePyrLKOpticalFlow> d_pyrLK_dense = cuda::DensePyrLKOpticalFlow::create(
|
||||||
Size(winSize, winSize), maxLevel, iters);
|
Size(winSize, winSize), maxLevel, iters);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user