Update hough_circles.cpp
This commit is contained in:
parent
72e4f72a75
commit
10465c546a
@ -196,6 +196,9 @@ namespace
|
|||||||
|
|
||||||
circlesAccumCenters_gpu(srcPoints, pointsCount, dx_, dy_, accum_, minRadius_, maxRadius_, idp);
|
circlesAccumCenters_gpu(srcPoints, pointsCount, dx_, dy_, accum_, minRadius_, maxRadius_, idp);
|
||||||
|
|
||||||
|
Mat tt; //CPU copy of accum_
|
||||||
|
accum_.download(tt);
|
||||||
|
|
||||||
int centersCount = buildCentersList_gpu(accum_, centers, votesThreshold_);
|
int centersCount = buildCentersList_gpu(accum_, centers, votesThreshold_);
|
||||||
if (centersCount == 0)
|
if (centersCount == 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user