我一直在读关于特征检测的文章,并想尝试一下harris角点检测器。OutputArray dst, int blockSize, int ksize, double k, int borderType=BORDER_DEFAULT )这是我用来在图像上打印角落的代码,我使用了阈值,并为阈值设置了任意值。255, THRESH_BINARY_INV);
named
文档中提到了ksize是Aperture parameter of Sobel derivative used,k是Harris detector free parameter in the equation我试着去检测立方体中的角,它是这样的:使用我从文档中使用的简单代码: import numpy as np
cv2.destroyAllWi