image-comparison

Check presence of subimage in image in iOS [closed]

≡放荡痞女 提交于 2019-12-23 02:35:07
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . I have 2 images, say smallerImage and largerImage. Now, I want to check that does smallerImage is part(or subimage) of largerImage or not. I am not getting how to check that. I want to so this whole stuff in iOS. After gogling, i got that using openCV library is best library to

Compare two images to check if they are the same

故事扮演 提交于 2019-12-22 10:47:17
问题 Which is the efficient way to compare two images (Bitmaps), to check if they are the same or not? I've tried to document me and I've read that I need to re-size both images to around 16x16px, but I don't get the expected result. I've tried to compare the resized images using .Equals: If img1.Equals(img2) then msgbox("are equals!") End if I've seen AForge image library but I can't found any method inside to compare Images. Is there way to do an efficient Image comparison using .NET classes or

How to recognize UI elements in image?

雨燕双飞 提交于 2019-12-21 23:49:46
问题 I am trying to make an automator tool and am experimenting with a type of recording which takes screen shots and records user inputs. The idea would be for user to take a snapshot and and highlight a square on the snapshot of the "submit" button. During playback, the program would take a sceenshot of the open window, and find the coordinates of the button by searching for the snapshot. So I need an algorithm to search an image for an exact (or very close) image of the button. The algorithms I

Image comparison in php

空扰寡人 提交于 2019-12-19 09:27:58
问题 My scenario is as follows: I have to save 1000 of images in database, and then I have to compare new image with database images for matches (match should be 70% or more) to get the best match image from database in php. is there any algorithm or method for fast comparison with better result ... Thanks in advance :) 回答1: Try this class. It support get hash string from image to store in database and compare with new image later: https://github.com/nvthaovn/CompareImage It is very fast and

Image Comparison by Finger Printing

ⅰ亾dé卋堺 提交于 2019-12-19 09:07:02
问题 I'm looking for ways to find image duplicates by fingerprinting. I understand that this is done by applying hash functions on images, and each image would have a unique hash value. I am fairly new to image processing and don't know much about hashing. How exactly am I supposed to apply hash functions and generate hash values? Thanks in advance 回答1: You need to be careful with hashing, some image formats, such as JPEG and PNG, store dates/times and other information within images and that will

Comparing image in url to image in filesystem in python

浪尽此生 提交于 2019-12-17 15:32:23
问题 Is there a quick and easy way to do such comparison? I've found few image compare questions from stackoverflow but none of those actually proved answer for this question. I have images files in my filesystem and a script that fetches images from urls. I want to check if the image in url is already the same that is on disk. Normally I would load the image in disk and url to a PIL object and use following function I found: def equal(im1, im2): return ImageChops.difference(im1, im2).getbbox() is

aforge image comparison with UWP

回眸只為那壹抹淺笑 提交于 2019-12-13 05:36:13
问题 I'm using portable.aforge.imaging for image comparison on a UWP project. The method ProcessImage requires Bitmap type as arguments. I'm using System.Drawing to access Bitmap class, but i'm getting errors when i try to instantiate: "Bitmap does not contains a constructor that takes 1 argument" Does regular Bitmap class is available on UWP? if yes, what am i doing wrong? if not, what alternatives do i have to use the aforge's ProcessImage for comparison? private void TestAForge() {

Compare histograms of specific areas of two images? OpenCV

帅比萌擦擦* 提交于 2019-12-12 13:22:41
问题 Basically, I want to be able to compare two histograms, but not of whole images just specific areas. I have image A and have a specific rectangular region on it that I want to compare to another image B. Is there a way to get the histogram of a definable rectangular region on an image? I have the x y position of the rectangular area, as well as it's width and height, and want to get its histogram. I'm using opencv with python. Sorry if that isn't very clear :( (I'm setting up a program that

compare two images and extract the difference using emgu cv library

廉价感情. 提交于 2019-12-11 03:27:52
问题 i want to compare two images like image1.png and image2.png.both the images look pretty same with some difference. so i want to get the difference and want to apply the difference on first image image1.png. i searched lot to get similar kind of code of this library but found none. after lots of search i got bit similar kind of things which i am looking for in java code. here is the url http://mindmeat.blogspot.in/2008/07/java-image-comparison.html please go to the url and there you can see

opencv capture image from webcam without post processing

早过忘川 提交于 2019-12-08 10:10:24
问题 I want to capture images from webcam without any post processing, that is NO auto focus , exposure correction , white balance and stuff. Well basically I want to capture continuous frames from webcam and make each frame compare with the previous one and save them to disk only when there is an actual change. Because of the post processing almost every frame is being returned as different for me. code so far using namespace cv; bool identical(cv::Mat m1, cv::Mat m2) { if ( m1.cols != m2.cols ||