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

fusion匹配问题 #96

Open
tanggt opened this issue Jul 24, 2020 · 14 comments
Open

fusion匹配问题 #96

tanggt opened this issue Jul 24, 2020 · 14 comments

Comments

@tanggt
Copy link

tanggt commented Jul 24, 2020

Hi meiqua,非常感谢您的fusion匹配加速,实际测试了一下,速度确实相比之前提升了10倍左右,但是也发现一个问题,我训练是0-360°,但是实际匹配发现, 角度旋转后, 匹配的特征变少了,但是置信度得分却很高

image1
image2
image3
image4

@meiqua
Copy link
Owner

meiqua commented Jul 24, 2020

正常,得分是按百分比算的。

@tanggt
Copy link
Author

tanggt commented Jul 25, 2020

您好 meiqua,我的意思是模板我是第一个图像那个_【多边形图案+阔地教育】_,但是旋转后的匹配只是匹配到一部分,并且给了高置信度,理论上这个匹配结果是错误的

@meiqua
Copy link
Owner

meiqua commented Jul 25, 2020

我看这些模板高度都差不多,应该是因为训练的时候没有给够padding,导致旋转后模板被截断了。

@tanggt
Copy link
Author

tanggt commented Jul 29, 2020

我看这些模板高度都差不多,应该是因为训练的时候没有给够padding,导致旋转后模板被截断了。

hi meiqua 目前在仔细比对和之前的版本差异 这个fusion版本匹配算法确实有问题

@meiqua
Copy link
Owner

meiqua commented Jul 29, 2020

能说具体点吗?如果只是fusion版有问题,master branch跑同样的模板会有什么差别?

@tanggt
Copy link
Author

tanggt commented Jul 30, 2020

能说具体点吗?如果只是fusion版有问题,master branch跑同样的模板会有什么差别?

hi meiqua,master branch效果如下图所示
Snipaste_2020-07-30_14-24-51

@tanggt
Copy link
Author

tanggt commented Jul 30, 2020

hi meiqua, fusion版本的匹配如下图,可以看出,fusion旋转后的匹配特征都错了,但是得分却还很高
Snipaste_2020-07-30_14-30-39

@meiqua
Copy link
Owner

meiqua commented Jul 30, 2020

用的模板不一样吧;fusion版估计是用旋转图像训练的,导致padding不够被截断,master用的旋转模板训练所以没事。

@tanggt
Copy link
Author

tanggt commented Jul 31, 2020

用的模板不一样吧;fusion版估计是用旋转图像训练的,导致padding不够被截断,master用的旋转模板训练所以没事。

谢谢 meiqua,我懂您的意思了,非常感谢!

@tanggt
Copy link
Author

tanggt commented Aug 20, 2020

hi miequa,再麻烦请教您一个速度问题,我的配置是i5 八代CPU,用fusion版本运行一张500w像素图像要400ms左右,这个正常吗,开发环境配置为:vs2017+opencv346
Snipaste_2020-08-20_10-47-09

@meiqua
Copy link
Owner

meiqua commented Aug 20, 2020

我在ubuntu 16.04下用i5-10400测,500万像素需要70ms

@meiqua
Copy link
Owner

meiqua commented Aug 20, 2020

专门研究了下Visual Studio,最后跑下来也是70ms。可以参考这个issue

@tanggt
Copy link
Author

tanggt commented Aug 21, 2020

好的 meiqua,我来试试看,谢谢!

@wly2020-robot
Copy link

你好,请问你训练的shapes.angle_step是多少呢?

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

3 participants