iOS:比较两个图像 [英] iOS : comparing the two images

查看:105
本文介绍了iOS:比较两个图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先简要说明我的内容


  1. 我的iOS应用程序内部正在生成相同大小和格式的图像。

  2. 每次生成图像时,都应将其上传到某个Web服务中。

我是什么想要做的基本上是尽可能减少互联网流量。
所以基本上我想知道你对如何做到这一点的建议?

What I want to do is basically to use as less internet traffic as its possible. So basically I would like to know your suggestions on how to do this ?

我选择的方法是将第一张图像发送到服务器,然后将第一张图像的差异发送到第一张图像。所以基本上我可以使用这种方法保留一些流量。所以也想知道是否有人做过这种事情,你是如何实现的呢?即什么第三方图书馆等。

I option that I though is to send first image to server, then the diff of the second image with the first one. So basically I'm able to reserve some traffic with this method. So also would like to know if anybody has done this kind of stuff, how have you implemented it ? i.e. what third party libraries etc.

提前致谢。

推荐答案

我认为您可以使用 OpenCV 来比较图像等等。

I think you can use OpenCV to compare images and much more.

你也可以参考StackOverflow上一个非常好的链接,它类似于你的问题:

Also you can refer to a very good links on StackOverflow which is similar to your problem:

比较两个UIImages

比较UIImage

如果您需要更多帮助,请告诉我。

Let me know if you need more help.

希望这会有所帮助。

这篇关于iOS:比较两个图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆