METHOD AND SYSTEM FOR INPUTTING CONTACT INFORMATION
First Claim
1. A method for inputting contact information, comprising:
- A;
acquiring a content attribute of a current edit box;
B;
starting up a camera device, entering a shoot preview interface of the camera device, placing a text content of contact information to be input near a positioning identifier of the shoot preview interface of the camera device, and shooting the text content of the contact information;
C;
analyzing and recognizing the text content located near the positioning identifier in the preview interface in an image through an optical character recognition technology, and extracting a contact information character string conforming to the content attribute of the current edit box, whereinif the content attribute of the current edit box is a telephone number, a character string, only comprising figures or further comprising a symbol possibly comprised in the telephone number, in the recognized contact information character strings is selected, wherein the symbol possibly comprised in the telephone number comprises;
“
+”
, “
−
”
, “
(”
, “
)”
, “
*”
, “
×
”
, and “
ext.”
;
if the content attribute of the current edit box is an email, a character string, comprising “
@”
, in the recognized contact information character strings is selected;
if the content attribute of the current edit box is a Uniform Resource Locator (URL), a character string, comprising “
www”
, “
http”
, multiple “
.”
, or multiple “
/”
, in the recognized contact information character strings is selected; and
if the content attribute of the current edit box is an address, a character string, comprising Chinese characters or English characters or further comprising figures, in the recognized contact information character strings is selected; and
D;
inputting a recognition result character string into the current edit box.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and a system for inputting contact information are provided. The method includes: acquiring a content attribute of a current edit box; starting up a camera device, and entering a shoot preview interface of the camera device; placing a text content of contact information to be input in the shoot preview interface of the camera device, and shooting the text content of the contact information; analyzing and recognizing the text content located near the positioning identifier in the preview interface in an image through an optical character recognition technology, and extracting a contact information character string conforming to the content attribute of the current edit box; and inputting a recognition result character string into the current edit box.
Through the method and system, a user does not need to input the text content word by word through a keyboard input method or a touch screen, thereby saving the input time for the user. Moreover, since the system knows what type of character string is required in the current edit box during recognition, high accuracy of the recognition result character string can be ensured.
78 Citations
15 Claims
-
1. A method for inputting contact information, comprising:
-
A;
acquiring a content attribute of a current edit box;B;
starting up a camera device, entering a shoot preview interface of the camera device, placing a text content of contact information to be input near a positioning identifier of the shoot preview interface of the camera device, and shooting the text content of the contact information;C;
analyzing and recognizing the text content located near the positioning identifier in the preview interface in an image through an optical character recognition technology, and extracting a contact information character string conforming to the content attribute of the current edit box, whereinif the content attribute of the current edit box is a telephone number, a character string, only comprising figures or further comprising a symbol possibly comprised in the telephone number, in the recognized contact information character strings is selected, wherein the symbol possibly comprised in the telephone number comprises;
“
+”
, “
−
”
, “
(”
, “
)”
, “
*”
, “
×
”
, and “
ext.”
;if the content attribute of the current edit box is an email, a character string, comprising “
@”
, in the recognized contact information character strings is selected;if the content attribute of the current edit box is a Uniform Resource Locator (URL), a character string, comprising “
www”
, “
http”
, multiple “
.”
, or multiple “
/”
, in the recognized contact information character strings is selected; andif the content attribute of the current edit box is an address, a character string, comprising Chinese characters or English characters or further comprising figures, in the recognized contact information character strings is selected; and D;
inputting a recognition result character string into the current edit box.
-
-
2. A method for inputting contact information, comprising:
-
A;
acquiring a content attribute of a current edit box;B;
starting up a camera device, entering a shoot preview interface of the camera device, placing a text content of contact information to be input in the shoot preview interface of the camera device, and shooting the text content of the contact information;C;
analyzing and recognizing the text content located near the positioning identifier in the preview interface in an image through an optical character recognition technology, and extracting a contact information character string conforming to the content attribute of the current edit box; andD;
inputting a recognition result character string into the current edit box. - View Dependent Claims (3, 4, 5, 6, 7, 8)
-
-
9. A method for inputting contact information, comprising:
-
Step 410;
acquiring a content attribute of a current edit box to prepare for inputting a character for a current application program;Step 420;
starting up a built-in camera of a smart apparatus and entering a shoot preview interface of the camera;Step 430;
placing a text content of contact information to be input near a positioning identifier of the shoot preview interface and shooting an image;Step 440;
analyzing the image, analyzing and recognizing the text content located near the positioning identifier in the preview interface in the image through an optical character recognition technology, and extracting a contact information character string conforming to the content attribute of the current edit box;Step 450;
inputting a recognition result character string into the current edit box; andStep 460;
ending the current camera input operation. - View Dependent Claims (10, 11, 12, 13)
-
-
14. A system for inputting contact information, disposed in an electronic apparatus and used for inputting set contact information, wherein
the electronic apparatus comprises: -
a camera device, for acquiring image information of contact information; and a display unit, for displaying information; the system for inputting contact information comprising; an optical character recognition module, for recognizing the contact information in the image information acquired by the camera device as a character text; a content attribute recognition module, for recognizing a content attribute of each contact information character string; and a content attribute selection module, for selecting a character string conforming to a content attribute of a current edit box as an input content according to the content attribute of the current edit box. - View Dependent Claims (15)
-
Specification