spmallick / learnopencv

Learn OpenCV : C++ and Python Examples

Home Page:https://www.learnopencv.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contour-Detection-using-OpenCV/cpp/contour_approximations/contour_approx.cpp 65行代码是不是写错了

hkdddld opened this issue · comments

circle(image_copy3, (contours2[i][0], contours2[i][1]), 2, Scalar(0, 255, 0), 2)是不是要改成circle(image_copy3, Point(contours2[i][j].x, contours2[i][j].y), 1, Scalar(0, 255, 0), 1);才能达到预期效果

Can you provide more details, please?
Can you provide a picture/screenshot of what you get, a picture/screenshot of what you would expect?

屏幕截图 2024-02-24 155659
前面是改过后,后面是没有改