Python - Perceptually detect the same object on two images - and selecting them

烂漫一生 提交于 2019-12-24 23:33:55

问题


I have some challenge and I try find any information, tips, examples which help me do that. First I looking many times google, and this forum with different ask but I don't found any this same task, algorithm. I try many commercial program to compare images, to find diffrent and common parts but all is don't do that good and smart.

I have some website with many different boxes, modules, elements etc. Now I do do first printscreen, save this image as web1.png.

Next step I change some boxes, elements on this website, for example I remove some block, add new elements, move one of some module/part of website into another places.

Now I do next printscreen this website after last change and save as web2.png

And now it's the most important think what I want to get, do do. I put this two images (web1.png and web2.png) for examples to some scripts on Python or another technology where smart algorithm to compare this two file and show, marked different or maybe only the first the same element on this two files. I think is the most big problem is defined what is exactly separated some block, module, many different elements on printscreen website and then find this same block on this next page and how marked this or maybe create next result png with this same element. I don't sure is possible to do that, whether there is a smart algorithm or way to do that. Thank you in advance for all the help and guidance.

Here is images examples

来源:https://stackoverflow.com/questions/52362124/python-perceptually-detect-the-same-object-on-two-images-and-selecting-them

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!