Ask Your Question

How to compare two images same or not in swift(iOS)

asked 2016-11-09 06:57:52 -0500

Vipul KUmar gravatar image

I want to compare two images taken by camera and check both images are same or not using OpenCV.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-11-10 01:16:17 -0500

Vintez gravatar image

updated 2016-11-10 08:51:13 -0500

Feature Matching would be effective here I think.

In the module feature2d you can find several Detectors/Descriptors which extract Features of a given reference Image.

After that you can Match them with Flanns Matching algorithms.

If you don't like the Detectors/Descriptors in features2d there are also additional Detectors/Descriptors in opencv-contribs xfeatures2d module. But be aware the Detector/Descriptors from feature2dx (e.g. SIFT and SURF) are still under a U.S. License and not under the normal opencv License.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-11-09 06:57:52 -0500

Seen: 2,550 times

Last updated: Nov 10 '16