简体   繁体   English

使用opencv在android中比较两个图像

[英]Compare two Images in android using opencv

I am using OpenCV for comparing two images in android. 我正在使用OpenCV在android中比较两个图像。 I want to use the following function : 我想使用以下功能:

Compare Function 比较功能

But how to use it in android? 但是如何在android中使用它呢? Or is there another way to compare images in android using OpenCV. 或者还有另一种使用OpenCV在android中比较图像的方法。 Please help me out. 请帮帮我。 I am very new to OpenCV. 我是OpenCV的新手。 Any help would be appreciated. 任何帮助,将不胜感激。 I have gone through many stack questions but could not get what i was looking for. 我经历了很多堆栈问题,但无法获得所需的信息。

I figured it out. 我想到了。

Actually i have to make use of the function from the Core OpenCV. 实际上,我必须利用Core OpenCV中的功能。 ie

Core.compare(src1, src2, dst, cmpop);

I was not aware about this core class. 我不知道这个核心课程。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM