Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

边缘检测不准,是否考虑预先清除背景色来提高边缘准确度? #10

Open
HelloDB opened this issue Jan 7, 2018 · 1 comment

Comments

@HelloDB
Copy link

HelloDB commented Jan 7, 2018

感谢您的项目让我接触到py+opencv实战项目,尝试运行时发现失误率还是比较高,观察发现其中一个原因是目标轮廓与背景灰度接近时判断目标位置失误导致,是否可以在灰度处理前通过判断背景色进行预处理以便增加边缘清晰度从而提高位置准确度,初学py写不出代码,只能提供截图了(最后两张看不出什么原因)
18_3 jump
18_2 canny

67_3 jump
67_2 canny

24_3 jump
24_2 canny

@nmweizi
Copy link

nmweizi commented Jan 8, 2018

可能分辨率不同,需要修改参数。
把400改500试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants