[英]How to detect a framed image from a photo in iOS
I'm wondering if there's a way to, after allowing a user to take a photograph, analyze the photograph and find a framed image within it. 我想知道是否存在一种方法,允许用户拍摄照片后,分析照片并在其中找到带框的图像。 (For example, if someone took a photograph of a framed family portrait or something, I want to be able to programmatically sense the image and where the border of the portrait begins and work with the image). (例如,如果有人拍摄了带框的全家福或其他东西的照片,我希望能够以编程方式感知图像,以及肖像的边界从何处开始并与图像配合使用)。
Any help at all is really appreciated, I don't know much about graphics. 真的很感谢任何帮助,我对图形知之甚少。 Thanks! 谢谢!
This would take tons of coding. 这将需要大量的编码。 If you aren't very with graphics manipulation, then maybe you should do a little research on it. 如果您不太喜欢图形处理,那么也许应该对此做一些研究。 Unless there is an apple-provided shortcut that I don't know about... 除非有我不知道的苹果提供的快捷方式...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.