如何使用Android OCR识别名片资料图片 [英] how to identify business card profile picture using Android OCR
本文介绍了如何使用Android OCR识别名片资料图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个本地android移动应用程序.我想扫描名片内的用户个人资料图片,然后在我的移动应用程序中检索该图片.我该如何处理?
I have a native android mobile application. I want to scan user profile picture inside the business card and retrieve that image in my mobile application. How can I do that processes?
推荐答案
如果您的全名由名字和姓氏组成,并用空格分隔,则可以使用""以获得名字和姓氏.
If your Full Name consist of First Name and Last Name separated by space, you can split your full name using " " to get First Name and Last Name.
示例:
String fullName = "Jason Brave";
String firstName = "";
String lastName = "";
String[] names = fullName.split(" ");
if(names.length > 0)
firstName = names[0];
if(names.length > 1)
lastName = names[1];
这篇关于如何使用Android OCR识别名片资料图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文