简体   繁体   English

如何在iOS中从照片中检测出带框的图像

[英]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.

相关问题 如何检测照片库中的图像是由iPhone相机拍摄还是导入 - how to detect if image from photo library was taken by iPhone camera or imported 如何从iOS中的照片库按文件夹加载或获取图像 - how to load or get image by folder from photo library in iOS 如何避免从照片库中选择或从ios中的相机中捕获的图像的背景? - how to avoid background for an image which is selected from photo gallery or captured from Camera in ios? 如何从iOS中的照片中获取图像EXIF元数据(ISO,f-stop,曝光等)? - How to grab image EXIF metadata (ISO, f-stop, exposure, etc.) from a photo in iOS? 使用AFNetworking从ios中的照片库上传图像? - Image upload from photo library in ios using AFNetworking? iPad模拟器iOS6,未从UIImagePickerController照片库获取图像 - iPad simulator iOS6, not getting image from UIImagePickerController photo library 如何将照片存储中的图像添加到UIWebview - how to add a image from the photo storage to a UIWebview 如何在iOS中打印照片? - How to print photo in iOS? 如何从照片库获取图像路径以及如何从iphone中的照片库中检索图像? - How to get image path from photo library and how to retrieve the image from photo library in iphone? 如何将我的应用程序中的视频保存到 iOS 中的用户照片库中? - How to save a video from my app in to the users photo library in iOS?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM