CN107329791A - Method, device and the computer-readable recording medium of application are installed in scanning - Google Patents
Method, device and the computer-readable recording medium of application are installed in scanning Download PDFInfo
- Publication number
- CN107329791A CN107329791A CN201710535119.2A CN201710535119A CN107329791A CN 107329791 A CN107329791 A CN 107329791A CN 201710535119 A CN201710535119 A CN 201710535119A CN 107329791 A CN107329791 A CN 107329791A
- Authority
- CN
- China
- Prior art keywords
- application
- picture
- icon
- scanning
- word
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/583—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
- G06F16/5838—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/22—Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Library & Information Science (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of method for scanning and installing application, including:Obtain the word picture in terminal camera shooting picture;The Apply Names in the word picture is recognized, and the application matched with the Apply Names is searched in predetermined software storehouse;Show the download information of the application.The device for installing application, computer-readable recording medium are scanned the invention also discloses a kind of.The present invention realizes the Apply Names and application icon by installing application needed for scanning and then carries out applying installation, simplifies the beneficial effect using installation steps with this.
Description
Technical field
The present invention relates to terminal applies search for installing area, more particularly to it is a kind of scan install application method, device and
Computer-readable recording medium.
Background technology
The function of current intelligent electronic device is stronger and stronger, and user generally requires to install a variety of applications to support electronics to set
Each standby function, when installation is applied, user, which generally requires to enter, applies shop or browser, inputs the name of intended application
Claim, then carry out lookup search, find and be downloaded and install again after intended application, whole operation process is relatively complicated.
The above is only used for auxiliary and understands technical scheme, does not represent and recognizes that the above is existing skill
Art.
The content of the invention
It is a primary object of the present invention to provide a kind of scan to install the method applied, it is intended to simplify existing application and install step
Suddenly.
To achieve the above object, the present invention provides a kind of method for scanning and installing application, including:
Obtain the word picture in terminal camera shooting picture;
The Apply Names in the word picture is recognized, and searches for what is matched with the Apply Names in predetermined software storehouse
Using;
Show the download information of the application.
Preferably, it is described to obtain the step of terminal camera shoots the word picture in picture simultaneously, in addition to:
The icon picture in terminal camera shooting picture is obtained, and extracts the application icon in the icon picture;
The step of download information of the display application, includes:
When the application searched is multiple, the icon of the application by the application icon with searching is compared;
Display compares the download information of successful icon picture correspondence application.
Preferably, the method that application is installed in the scanning also includes:
When the application searched is multiple, judge whether the number of applications searched is more than predetermined threshold value;
When the number of applications is less than or equal to predetermined threshold value, perform described by the application icon and answering for searching
The step of icon is compared;
When the number of applications is more than predetermined threshold value, the text in the acquisition terminal camera shooting picture is re-executed
The step of word picture.
Preferably, it is described extract in the icon picture application icon the step of include:
The icon picture from left to right or is from top to bottom scanned with the second default sweep length, and calculates described second and is swept
Retouch the average color in width;
Judge whether the difference of the average color and the background color value of the icon picture is more than preset difference value;
It is icon by Current Scan coordinate record when the difference of the average color and background color value is more than preset difference value
Area coordinate;
When the difference of the average color and background color value is less than or equal to preset difference value, by Current Scan coordinate record
For background area coordinate;
It regard the picture in icon area coordinate as application icon.
Preferably, after the step of Apply Names in the identification word picture, in addition to:
If recognizing the Apply Names failure in the word picture, the word obtained in terminal camera shooting picture is performed
The step of picture, laid equal stress on new identification Apply Names with reacquiring the word picture.
Preferably, the step of Apply Names in the identification word picture includes:
The word picture is from left to right scanned with the first default sweep length, and calculated in first sweep length
Average color;
The average color is obtained in each calculating, the background color value of the average color and the word picture is judged
Difference whether be more than preset difference value;
It is word by Current Scan coordinate record when the difference of the average color and background color value is more than preset difference value
Area coordinate;
When the difference of the average color and background color value is less than or equal to preset difference value, by Current Scan coordinate record
For background area coordinate;
The word in the character area coordinate is recognized, and will recognize that obtained word is spliced into application according to scanning sequency
Title.
Preferably, it is described the step of the Apply Names in recognizing the word picture before, in addition to:
Obtain the color value in each predeterminable area chosen in the word picture/icon picture;
The average value of the color value of each predeterminable area is calculated, and regard the average value as the word picture/icon
The background color value of picture.
Preferably, after the step of Apply Names in the identification word picture, in addition to:
The recognition time of the Apply Names of the statistics identification word picture, and be more than or equal in advance in the recognition time
If after the time, exporting the prompt message of None- identified current application.
In addition, to achieve the above object, the present invention also provides a kind of device for scanning and installing application, it is characterised in that institute
Stating the device of scanning installation application includes:Memory, processor and it is stored on the memory and can be on the processor
The computer program of operation, the computer program is realized that application is installed in scanning as described above during the computing device
The step of method.
In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, it is characterised in that institute
The program that application is installed in the scanning that is stored with computer-readable recording medium is stated, the scanning installs the program of application by processor
The step of method of application is installed in scanning as described above is realized during execution.
The method that application is installed in a kind of scanning that the embodiment of the present invention is proposed, obtains the text in terminal camera shooting picture
Word picture;The Apply Names in the word picture is recognized, and searches for what is matched with the Apply Names in predetermined software storehouse
Using;Show the download information of the application.By scanning the application that need to be installed, the Apply Names of the application is obtained in correspondence
Realize that Apply Names is matched using storehouse is downloaded, and the application is mounted directly according to matching result, realize and simplify existing application
The step of installation, and based on the Apply Names and application icon scanned, improve the accuracy using screening.
Brief description of the drawings
Fig. 1 be scanning of the embodiment of the present invention install the terminal of hardware running environment that the method scheme of application is related to device
Structural representation;
Fig. 2 installs the schematic flow sheet of the method first embodiment of application for present invention scanning;
Fig. 3 installs the schematic flow sheet of the method second embodiment of application for present invention scanning;
Fig. 4 is the intercept method schematic diagram of application icon in icon picture;
Fig. 5 installs the method 3rd embodiment schematic flow sheet of application for present invention scanning;
Fig. 6 is the recognition methods schematic diagram of Apply Names in word picture.
The object of the invention is realized, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are:Obtain the word picture in terminal camera shooting picture;Identification
Apply Names in the word picture, and the application matched with the Apply Names is searched in predetermined software storehouse;Display institute
State the download information of application.
In being installed due to the application of prior art, if wanting to install the application of other-end, business can only be applied by entering
Shop or browser, input the title of intended application, then carry out lookup search, find and are downloaded address after target again and are downloaded
And installation.This operating process is relatively complicated, for the age than larger user, uses relatively difficult.
The present invention provides a solution, by opening the application installed needed for camera scanning, and is swept via described
Intended application title and application icon that the application is read in operation are retouched, and it is automatic in the progress of corresponding terminal applies installation region
Search, and then the progress application icon matching in search result.Simplify using the operating procedure installed, and pass through intended application
The matching of name search and application icon, improves the accuracy of application searches, and strengthens with this likability of user.
As shown in figure 1, Fig. 1, which is present invention scanning, installs the hardware running environment that the embodiment scheme of application process is related to
Terminal structure schematic diagram.
Terminal of the embodiment of the present invention can be PC or smart mobile phone, tablet personal computer, E-book reader, portable
Computer etc. has the packaged type terminal device of display function.
As shown in figure 1, the terminal can include:Processor 1001, such as CPU, network interface 1004, user interface
1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is used to realize the connection communication between these components.
User interface 1003 can include display screen (Display), input block such as keyboard (Keyboard), optional user interface
1003 can also include wireline interface, the wave point of standard.Network interface 1004 can optionally connect including the wired of standard
Mouth, wave point (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or stable memory
(non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor
1001 storage device.
It will be understood by those skilled in the art that the restriction of the terminal structure shown in Fig. 1 not structure paired terminal, can be wrapped
Include than illustrating more or less parts, either combine some parts or different parts arrangement.
As shown in figure 1, leading to as operating system, network can be included in a kind of memory 1005 of computer-readable storage medium
Believe that application program is installed in module, Subscriber Interface Module SIM and scanning.
In the terminal shown in Fig. 1, network interface 1004 is mainly used in connecting background server, is carried out with background server
Data communication;User interface 1003 is mainly used in connection client (user terminal), and row data communication is entered with client;And processor
1001 can be used for calling the HDR signal handlers stored in memory 1005, and perform following operate:
Obtain the word picture in terminal camera shooting picture;
The Apply Names in the word picture is recognized, and searches for what is matched with the Apply Names in predetermined software storehouse
Using;
Show the download information of the application.
Further, processor 1001 can call the scanning stored in memory 1005 to install application program, also perform
Operate below:
The method that application is installed in the scanning also includes:
When the application searched is multiple, judge whether the number of applications searched is more than predetermined threshold value;
When the number of applications is less than or equal to predetermined threshold value, perform described by the application icon and answering for searching
The step of icon is compared;
When the number of applications is more than predetermined threshold value, the text in the acquisition terminal camera shooting picture is re-executed
The step of word picture.
Further, processor 1001 can call the scanning stored in memory 1005 to install application program, also perform
Operate below:
The icon picture from left to right or is from top to bottom scanned with the second default sweep length, and calculates described second and is swept
Retouch the average color in width;
Judge whether the difference of the average color and the background color value of the icon picture is more than preset difference value;
It is icon by Current Scan coordinate record when the difference of the average color and background color value is more than preset difference value
Area coordinate;
When the difference of the average color and background color value is less than or equal to preset difference value, by Current Scan coordinate record
For background area coordinate;
It regard the picture in icon area coordinate as application icon.
Further, processor 1001 can call the scanning stored in memory 1005 to install application program, also perform
Operate below:
If recognizing the Apply Names failure in the word picture, the word obtained in terminal camera shooting picture is performed
The step of picture, laid equal stress on new identification Apply Names with reacquiring the word picture.
Further, processor 1001 can call the scanning stored in memory 1005 to install application program, also perform
Operate below:
The word picture is from left to right scanned with the first default sweep length, and calculated in first sweep length
Average color;
When each calculating obtains the average color, the background color of the average color and the word picture is judged
Whether the difference of value is more than preset difference value;
It is word by Current Scan coordinate record when the difference of the average color and background color value is more than preset difference value
Area coordinate;
When the difference of the average color and background color value is less than or equal to preset difference value, by Current Scan coordinate record
For background area coordinate;
The word in the character area coordinate is recognized, and will recognize that obtained word is spliced into application according to scanning sequency
Title.
Further, processor 1001 can call the scanning stored in memory 1005 to install application program, also perform
Operate below:
Obtain the color value in each predeterminable area chosen in the word picture/icon picture;
The average value of the color value of each predeterminable area is calculated, and regard the average value as the word picture/icon
The background color value of picture.
Further, processor 1001 can call the scanning stored in memory 1005 to install application program, also perform
Operate below:
The recognition time of the Apply Names of the statistics identification word picture, and be more than or equal in advance in the recognition time
If after the time, exporting the prompt message of None- identified current application.
Reference picture 2, Fig. 2 installs the schematic flow sheet of the method first embodiment of application, the scanning for present invention scanning
Installing application process includes:
Step S10, obtains the word picture in terminal camera shooting picture;
Camera is opened in control, and the application that need to be installed is scanned with the camera, and is obtained by the operation of scanning
Take the word picture for the application that need to be installed.The application position that need to be installed is second terminal, i.e., by working as
The application installed is needed in preceding another terminal of terminal scanning.The camera passes through the focus set when scanning the application
Frame, the icon and Apply Names of the application are placed in the focus frame, to improve the shooting precision for shooting the application.
Based on the operation of the scanning application, intercept the word picture in the focus frame to obtain the word picture of the application.
Step S20, recognizes the Apply Names in the word picture, and search and the application name in predetermined software storehouse
Claim the application of matching;
According to the word picture got, recognize that the text information in the word picture is intended application title.Root
According to the intended application title, with the entitled condition of the intended application, in the present terminal predetermined software storehouse of present terminal
Search meets the application of the intended application title.Wherein, the search in terminal applies installation region meets the target
The application message of Apply Names, is the correspondence application mounting means of present terminal, for example, the APP STORE in iPhone.Institute
State way of search also consistent with the application searches mode of the terminal.And the predetermined software storehouse is received based on the search operation
Search result.
In addition, the step of the Apply Names in the Apply Names in identification word picture, i.e., the described identification word picture
After rapid, in addition to:
If recognizing the Apply Names failure in the word picture, the word obtained in terminal camera shooting picture is performed
The step of picture, laid equal stress on new identification Apply Names with reacquiring the word picture.
In the Apply Names in reading the word picture, if pixel or definition based on the word picture etc. are asked
When topic causes to recognize the Apply Names failure, the prompting of recognition failures is submitted, and based on the recognition failures received
The instruction rescaned of triggering is pointed out, control opens camera and re-starts scanning to the application that need to be installed, to reacquire
The word picture of the application.
In addition, after the step of Apply Names in the identification word picture, in addition to:
The recognition time of the Apply Names of the statistics identification word picture, and be more than or equal in advance in the recognition time
If after the time, exporting the prompt message of None- identified current application.
In the Apply Names in currently recognizing the word picture, the recognition time of the statistics identification Apply Names,
And when confirming that the recognition time is more than or equal to preset time, stop current identification operation, and submit None- identified
Prompt message, makes user stop the operation of the scanning application.The preset time, is the identification upper limit time set, is led to
The preset time of setting is crossed, to recognize that the time of the intended application title is limited, to find the feelings in recognition failures
Under condition, user is pointed out in time.
Step S30, shows the download information of the application.
According to the application in the search result currently shown, obtain and downloaded based on the application in the search result
Instruction, confirms application corresponding with the download instruction, reads the download address of the application.And added based on the download address
After load, the download page of the intended application is shown, so that user downloads the application.Wherein, the reading target should
Download address and the load page that the intended application is opened based on the loading download address, all network for prior art
Address load mode, not described here any more.
In the present embodiment, the application message installed needed for being scanned by camera, and extract the application name of the application
Claim and application icon, based on the Apply Names, download storehouse in the predetermined software of present terminal and carry out application searches, searched with this
To the intended application that need to be downloaded, and read the download address is loaded after the download address of the intended application, show the mesh
The download page of application is marked, so that user carries out the down operation of the application.By such a mode, quickly by scanning side
Formula carries out applying download, applies the user of down operation to provide convenience to be unfamiliar with, improves user experience, also improve
Using the efficiency of installation.
Further, reference picture 3, Fig. 3 installs the schematic flow sheet of the method second embodiment of application for present invention scanning,
First embodiment based on the above method, the step of acquisition terminal camera shoots the word picture in picture simultaneously, is gone back
Including:
Step S40, obtains the icon picture in terminal camera shooting picture, and extract the application in the icon picture
Icon;
When the Current Scan page intercepts the word picture of the application, scanned according to the icon set in the scanning page
Frame, intercepts the icon picture in the icon scan box.Its described icon picture is corresponding with the word picture.
Wherein, it is described extract in the icon picture application icon the step of include:
The icon picture from left to right or is from top to bottom scanned with the second default sweep length, and calculates described second and is swept
Retouch the average color in width;
Judge whether the difference of the average color and the background color value of the icon picture is more than preset difference value;
It is icon by Current Scan coordinate record when the difference of the average color and background color value is more than preset difference value
Area coordinate;
When the difference of the average color and background color value is less than or equal to preset difference value, by Current Scan coordinate record
For background area coordinate;
It regard the picture in icon area coordinate as application icon.
With the second default sweep length, icon picture is scanned according to preset order, give tacit consent to the preset order be on to
Down or from left to right, by the scan operation, the average color in second sweep length is calculated, by the average face
Colour calculates color difference with background color value, and the color difference and preset difference value are compared, and is confirming that the color difference is big
When preset difference value, the corresponding average color position of the color difference is recorded as icon area coordinate;Described
When color difference is less than or equal to preset difference value, the corresponding average color position of the color difference is recorded as background
Area coordinate.For example, the average color calculated in the current second default sweep length calculates color with default background color value
Difference, the color difference be more than preset difference value position confirm as the icon picture picture start coordinate (X0,
Y0);Confirm as the end coordinate of the icon picture in the position for being less than or equal to preset difference value in the color difference
(X1, Y1).Picture according to having recorded starts coordinate (X0, Y0) and the picture end coordinate (X1, Y1), intercepts the picture
Picture in origin coordinates regional extent, i.e., the icon picture of described application.Its icon picture is before interception, by the icon
The size scaling of picture is to the pre-set dimension set, and the pre-set dimension of existing setting is 320*32.And calculate the icon figure
The default background color value of piece, the computational methods of the default background color value of the icon picture are with the default background color value of above-mentioned Text region
Computational methods.The intercept method schematic diagram that Fig. 4, Fig. 4 are application icon in icon picture can be checked.
And, include the step of the download information of the display application:
Step S50, when the application searched is multiple, the application icon and the icon of the application searched are carried out
Compare;
Step S60, display compares the download information of successful icon picture correspondence application.
According to the search result returned after the execution search operation of the Apply Names, in the search result is confirmed
It is figure of the condition in the application of the search result by the icon picture being truncated to when number of applications is multiple and effective
Icon comparison is carried out in mark.And the intended application that selection is installed is confirmed as into the correspondence application for comparing successful icon.
In addition, described when the application searched is multiple, the icon of the application by the application icon with searching enters
After the step of row is compared, in addition to:
If the application icon and the icon of the application searched compare failure, perform and obtain terminal camera shooting picture
In icon picture the step of, to reacquire the icon picture and extract the application icon in the icon picture.
When the application icon in search result is matched with the application icon got, if the search result
There is no the icon information that can be matched with the application icon in the icon of application, then confirm that it fails to match for the icon picture.
Based on the matching result of the icon picture, the prompting that it fails to match is submitted, and based on carrying that it fails to match described in receiving
Show the instruction rescaned of triggering, control opens camera and re-starts scanning to the application that need to be installed, to reacquire
State the word picture and icon picture of application;Receiving the manual download based on the prompt message that it fails to match triggering
After instruction, the list of application in the search result is shown, so that user operates to the application in the list of application.
In addition, the method that application is installed in the scanning also includes:
When the application searched is multiple, judge whether the number of applications searched is more than predetermined threshold value;
When the number of applications is less than or equal to predetermined threshold value, perform described by the application icon and answering for searching
The step of icon is compared;
When the number of applications is more than predetermined threshold value, the text in the acquisition terminal camera shooting picture is re-executed
The step of word picture.
The APP in storehouse, such as IOS systems is downloaded in the default application of present terminal with the Apply Names read
In STORE, search meets the application message of the Apply Names, after the search is completed, according to what is included in the search result
Meet the application message of the Apply Names, count the number of applications searched, and by the number of applications and predetermined threshold value ratio
Right, whether the application result searched described in judgement is effective.It is more than 1 and less than or equal to predetermined threshold value in the number of applications
When, judge the application searches result effectively, and show that each applies download information based on the application searches result;Described
When number of applications is equal to 0, confirms that the application for not meeting the Apply Names in storehouse is downloaded in current preset application, answered based on described
With search result, the prompting of search failure is submitted, and rescaning for triggering is pointed out based on the search failure received
Instruction, control open camera scanning is re-started to the application that need to be installed, to reacquire the word picture of the application;
When the number of applications is more than predetermined threshold value, the judgement search result failure submits the prompting of search failure, and be based on connecing
The instruction rescaned of the prompting triggering of the search failure received, control opens camera to the application that need to install again
It is scanned, reacquires the word picture of the application.In addition, the predetermined threshold value, being should in the search result set
Upper limit quantity, to improve the correctness of search result and the precision of the intended application title.
In the present embodiment, the search result of application searches is carried out according to the Apply Names that gets, with get with
The corresponding application icon of the Apply Names carries out application icon matching, and will the match is successful that the corresponding application of application icon confirms
For the intended application that need to be installed, the searching accuracy of the scanning application installation method is improved in this way.
Further, reference picture 5, Fig. 5 installs the method 3rd embodiment schematic flow sheet of application, base for present invention scanning
The step of Apply Names in above-mentioned published embodiment, the identification word picture, includes:
Step S21, from left to right scans the word picture, and calculate first scanning with the first default sweep length
Average color in width;
Step S22, when each calculating obtains the average color, judges the average color and the word graph
Whether the difference of the background color value of piece is more than preset difference value;
Step S23, when the difference of the average color and background color value is more than preset difference value, Current Scan coordinate is remembered
Record as character area coordinate;
Step S24, when the difference of the average color and background color value is less than or equal to preset difference value, by Current Scan
Coordinate record is background area coordinate;
Step S25, recognizes the word in the character area coordinate, and will recognize that obtained word is spelled according to scanning sequency
It is connected in Apply Names.
The word picture is scanned with the first predetermined width, to determine that the starting of each word in the word picture is sat
Mark, its specific operating procedure is:With the first predetermined width, according to preset scan orders scan the word picture (see Fig. 6,
Fig. 6 is the recognition methods schematic diagram of Apply Names in word picture), the preset scan orders are defaulted as from left to right.Calculate
Average color in first predetermined width.And colour-difference is calculated with the default background color value based on the average color
Value, the color difference and preset difference value is compared, whether the word image content to confirm to scan is text information;
It is character area coordinate by Current Scan coordinate record when the difference of the average color and background color value is more than preset difference value;
It is background area by Current Scan coordinate record when the difference of the average color and background color value is less than or equal to preset difference value
Domain coordinate.Such as defined first predetermined width is 3, calculates the average color in 3*64 sweep length.When average
When color value and the color difference of default background color value are more than preset difference value, confirm that the position for the average color initially occur is
Word in the word picture starts coordinate, is recorded as word and starts coordinate X0.And continue to scan on.Until what is scanned is averaged
When color value and the color difference of the default background color value are less than or equal to preset difference value, confirm the color average occur
Position is word end coordinate, shorthand end coordinate X1.Start coordinate X0 and word knot according to recorded the word
The character area of beam coordinate X1 formation, reads the word content of the character area;And record the result of identification.Then by this
The mode of kind scans next word, the direct end of scan.After scanning result, all writing records that recorded are spliced into
Apply Names, recognizes all words in the word picture, i.e. Apply Names in this way.
In addition, it is described the step of the Apply Names in recognizing the word picture before, in addition to:
Obtain the color value in each predeterminable area chosen in the word picture/icon picture;
The average value of the color value of each predeterminable area is calculated, and regard the average value as the word picture/icon
The background color value of picture.
Before application icon in the Apply Names in recognizing the word picture and the extraction icon picture, according to
Existing word picture and icon picture calculate the background color value.Before the computation, by the word picture got and
Icon picture zooms to pre-set dimension, and the word dimension of picture of existing setting is 320*64, the pre-set dimension of the icon picture
For 320*32;According to the currently word picture and icon picture of scaled size, in the word picture and icon picture
Four angles select a pocket respectively, and the color data in four regions is extracted in such as 8*8 zonule, and will be described
The color value in four regions is set to default background color, and the average color in this four regions is calculated respectively.Confirming there are more than three
Average color is close, then the color value of background color is obtained successfully, extracts close average color and is used as the word picture
Default background color value.
In addition, the embodiment of the present invention also proposes a kind of computer-readable recording medium, the computer-readable recording medium
On the scanning that is stored with application program is installed, the scanning, which is installed, realizes following operation when application program is executed by processor:
Obtain the word picture in terminal camera shooting picture;
The Apply Names in the word picture is recognized, and searches for what is matched with the Apply Names in predetermined software storehouse
Using;
Show the download information of the application.
Further, the scanning is installed when application program is executed by processor and also realizes following operation:
The icon picture in terminal camera shooting picture is obtained, and extracts the application icon in the icon picture;
The step of download information of the display application, includes:
When the application searched is multiple, the icon of the application by the application icon with searching is compared;
Display compares the download information of successful icon picture correspondence application.
Further, the scanning is installed when application program is executed by processor and also realizes following operation:
When the application searched is multiple, judge whether the number of applications searched is more than predetermined threshold value;
When the number of applications is less than or equal to predetermined threshold value, perform described by the application icon and answering for searching
The step of icon is compared;
When the number of applications is more than predetermined threshold value, the text in the acquisition terminal camera shooting picture is re-executed
The step of word picture.
Further, the scanning is installed when application program is executed by processor and also realizes following operation:
The icon picture from left to right or is from top to bottom scanned with the second default sweep length, and calculates described second and is swept
Retouch the average color in width;
Judge whether the difference of the average color and the background color value of the icon picture is more than preset difference value;
It is icon by Current Scan coordinate record when the difference of the average color and background color value is more than preset difference value
Area coordinate;
When the difference of the average color and background color value is less than or equal to preset difference value, by Current Scan coordinate record
For background area coordinate;
It regard the picture in icon area coordinate as application icon.
Further, the scanning is installed when application program is executed by processor and also realizes following operation:
If recognizing the Apply Names failure in the word picture, the word obtained in terminal camera shooting picture is performed
The step of picture, laid equal stress on new identification Apply Names with reacquiring the word picture.
Further, the scanning is installed when application program is executed by processor and also realizes following operation:
The word picture is from left to right scanned with the first default sweep length, and calculated in first sweep length
Average color;
When each calculating obtains the average color, the background color of the average color and the word picture is judged
Whether the difference of value is more than preset difference value;
It is word by Current Scan coordinate record when the difference of the average color and background color value is more than preset difference value
Area coordinate;
When the difference of the average color and background color value is less than or equal to preset difference value, by Current Scan coordinate record
For background area coordinate;
The word in the character area coordinate is recognized, and will recognize that obtained word is spliced into application according to scanning sequency
Title.
Further, the scanning is installed when application program is executed by processor and also realizes following operation:
Obtain the color value in each predeterminable area chosen in the word picture/icon picture;
The average value of the color value of each predeterminable area is calculated, and regard the average value as the word picture/icon
The background color value of picture.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property is included, so that process, method, article or system including a series of key elements not only include those key elements, and
And also including other key elements being not expressly set out, or also include for this process, method, article or system institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there is other identical element in process, method, article or the system of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone,
Computer, server, air conditioner, or network equipment etc.) perform method described in each of the invention embodiment.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair
Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of scan the method for installing application, it is characterised in that the method that application is installed in the scanning comprises the following steps:
Obtain the word picture in terminal camera shooting picture;
Recognize the Apply Names in the word picture, and the answering of being matched with the Apply Names of search in predetermined software storehouse
With;
Show the download information of the application.
2. the method that application is installed in scanning as claimed in claim 1, it is characterised in that the acquisition terminal camera shooting figure
The step of word picture in piece simultaneously, in addition to:
The icon picture in terminal camera shooting picture is obtained, and extracts the application icon in the icon picture;
The step of download information of the display application, includes:
When the application searched is multiple, the icon of the application by the application icon with searching is compared;
Display compares the download information of successful icon picture correspondence application.
3. the method that application is installed in scanning as claimed in claim 2, it is characterised in that the scanning installs the method for application also
Including:
When the application searched is multiple, judge whether the number of applications searched is more than predetermined threshold value;
When the number of applications is less than or equal to predetermined threshold value, perform described by the application icon and the application that searches
The step of icon is compared;
When the number of applications is more than predetermined threshold value, the word graph in the acquisition terminal camera shooting picture is re-executed
The step of piece.
4. the method that application is installed in scanning as claimed in claim 2, it is characterised in that in the extraction icon picture
The step of application icon, includes:
The icon picture from left to right or is from top to bottom scanned with the second default sweep length, and it is wide to calculate second scanning
Average color in degree;
Judge whether the difference of the average color and the background color value of the icon picture is more than preset difference value;
It is icon area by Current Scan coordinate record when the difference of the average color and background color value is more than preset difference value
Coordinate;
It is the back of the body by Current Scan coordinate record when the difference of the average color and background color value is less than or equal to preset difference value
Scene area coordinate;
It regard the picture in icon area coordinate as application icon.
5. application process is installed in scanning as claimed in claim 1, it is characterised in that answering in the identification word picture
After the step of title, in addition to:
If recognizing the Apply Names failure in the word picture, the word picture obtained in terminal camera shooting picture is performed
The step of, laid equal stress on new identification Apply Names with reacquiring the word picture.
6. the method that application is installed in the scanning as described in any one of claim 1 to 5, it is characterised in that the identification text
The step of Apply Names in word picture, includes:
The word picture is from left to right scanned with the first default sweep length, and calculates being averaged in first sweep length
Color value;
When each calculating obtains the average color, the average color and the background color value of the word picture are judged
Whether difference is more than preset difference value;
It is character area by Current Scan coordinate record when the difference of the average color and background color value is more than preset difference value
Coordinate;
It is the back of the body by Current Scan coordinate record when the difference of the average color and background color value is less than or equal to preset difference value
Scene area coordinate;
The word in the character area coordinate is recognized, and will recognize that obtained word is spliced into application name according to scanning sequency
Claim.
7. described in the scanning as claimed in claim 6 method of installing application, it is characterised in that it is described to recognize the word graph
Before the step of Apply Names in piece, in addition to:
Obtain the color value in each predeterminable area chosen in the word picture/icon picture;
The average value of the color value of each predeterminable area is calculated, and regard the average value as the word picture/icon picture
Background color value.
8. the method that application is installed in the scanning as described in any one of claim 1 to 5, it is characterised in that the identification text
After the step of Apply Names in word picture, in addition to:
The recognition time of the Apply Names of the statistics identification word picture, and when the recognition time is more than or equal to default
Between after, export None- identified current application prompt message.
9. a kind of scan the device for installing application, it is characterised in that the device that application is installed in the scanning includes:Memory, place
Manage device and be stored in the computer program that can be run on the memory and on the processor, the computer program is by institute
The step of method of application is installed in the scanning as any one of claim 1 to 8 is realized when stating computing device.
10. a kind of computer-readable recording medium, it is characterised in that be stored with scanning peace on the computer-readable recording medium
The program of application is filled, is realized when the program that application is installed in the scanning is executed by processor such as any one of claim 1 to 8 institute
The step of method of application is installed in the scanning stated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710535119.2A CN107329791A (en) | 2017-07-03 | 2017-07-03 | Method, device and the computer-readable recording medium of application are installed in scanning |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710535119.2A CN107329791A (en) | 2017-07-03 | 2017-07-03 | Method, device and the computer-readable recording medium of application are installed in scanning |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107329791A true CN107329791A (en) | 2017-11-07 |
Family
ID=60197758
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710535119.2A Pending CN107329791A (en) | 2017-07-03 | 2017-07-03 | Method, device and the computer-readable recording medium of application are installed in scanning |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107329791A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108255375A (en) * | 2018-01-26 | 2018-07-06 | 联想(北京)有限公司 | Image-recognizing method and system |
CN109284732A (en) * | 2018-10-15 | 2019-01-29 | 西安艾润物联网技术服务有限责任公司 | Picture report method and relevant apparatus |
CN109408177A (en) * | 2018-09-29 | 2019-03-01 | 北京金山安全软件有限公司 | Method and device for configuring color of characters in picture and electronic equipment |
CN112883954A (en) * | 2021-02-22 | 2021-06-01 | 的卢技术有限公司 | OCR bill recognition method, device, computer equipment and storage medium |
CN114253559A (en) * | 2020-09-23 | 2022-03-29 | Oppo广东移动通信有限公司 | Application program installation processing method and device, storage medium and electronic equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008176461A (en) * | 2007-01-17 | 2008-07-31 | Toshiba Corp | Medical equipment and portable storage medium management program |
CN102231188A (en) * | 2011-07-05 | 2011-11-02 | 上海合合信息科技发展有限公司 | Business card identifying method combining character identification with image matching |
US20120323898A1 (en) * | 2011-06-16 | 2012-12-20 | Microsoft Corporation | Surfacing applications based on browsing activity |
US20120331457A1 (en) * | 2011-06-21 | 2012-12-27 | Samsung Electronics Co., Ltd. | Method for installing application in portable terminal |
CN105005461A (en) * | 2015-06-23 | 2015-10-28 | 深圳市金立通信设备有限公司 | Icon display method and terminal |
CN105094578A (en) * | 2014-04-25 | 2015-11-25 | 小米科技有限责任公司 | Method and apparatus for adjusting positions of icons on desktop |
CN105677392A (en) * | 2015-12-29 | 2016-06-15 | 小米科技有限责任公司 | Method and apparatus for recommending applications |
CN106406938A (en) * | 2016-08-31 | 2017-02-15 | 深圳市金立通信设备有限公司 | Application download method and terminal |
-
2017
- 2017-07-03 CN CN201710535119.2A patent/CN107329791A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008176461A (en) * | 2007-01-17 | 2008-07-31 | Toshiba Corp | Medical equipment and portable storage medium management program |
US20120323898A1 (en) * | 2011-06-16 | 2012-12-20 | Microsoft Corporation | Surfacing applications based on browsing activity |
US20120331457A1 (en) * | 2011-06-21 | 2012-12-27 | Samsung Electronics Co., Ltd. | Method for installing application in portable terminal |
CN102231188A (en) * | 2011-07-05 | 2011-11-02 | 上海合合信息科技发展有限公司 | Business card identifying method combining character identification with image matching |
CN105094578A (en) * | 2014-04-25 | 2015-11-25 | 小米科技有限责任公司 | Method and apparatus for adjusting positions of icons on desktop |
CN105005461A (en) * | 2015-06-23 | 2015-10-28 | 深圳市金立通信设备有限公司 | Icon display method and terminal |
CN105677392A (en) * | 2015-12-29 | 2016-06-15 | 小米科技有限责任公司 | Method and apparatus for recommending applications |
CN106406938A (en) * | 2016-08-31 | 2017-02-15 | 深圳市金立通信设备有限公司 | Application download method and terminal |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108255375A (en) * | 2018-01-26 | 2018-07-06 | 联想(北京)有限公司 | Image-recognizing method and system |
CN109408177A (en) * | 2018-09-29 | 2019-03-01 | 北京金山安全软件有限公司 | Method and device for configuring color of characters in picture and electronic equipment |
CN109284732A (en) * | 2018-10-15 | 2019-01-29 | 西安艾润物联网技术服务有限责任公司 | Picture report method and relevant apparatus |
CN114253559A (en) * | 2020-09-23 | 2022-03-29 | Oppo广东移动通信有限公司 | Application program installation processing method and device, storage medium and electronic equipment |
CN114253559B (en) * | 2020-09-23 | 2024-10-01 | Oppo广东移动通信有限公司 | Application program installation processing method and device, storage medium and electronic equipment |
CN112883954A (en) * | 2021-02-22 | 2021-06-01 | 的卢技术有限公司 | OCR bill recognition method, device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107329791A (en) | Method, device and the computer-readable recording medium of application are installed in scanning | |
US10743183B2 (en) | Method and device for realizing wireless access point connection authentication | |
CN103414824A (en) | Automatic login processing method and system based on mobile terminal | |
US9984486B2 (en) | Method and apparatus for voice information augmentation and displaying, picture categorization and retrieving | |
CN109194689B (en) | Abnormal behavior recognition method, device, server and storage medium | |
CN111782492A (en) | Page first screen loading duration testing method and device, computer equipment and medium | |
CN106326120B (en) | Regression testing method and device for application software and electronic equipment | |
CN112394864B (en) | Information acquisition method and device, computer equipment and storage medium | |
CN107274587A (en) | The display methods and device, clothes washing system and storage medium of free time laundry machine information | |
CN106776299A (en) | Search engine test device and method | |
CN105809163A (en) | Method and device for connecting to WIFI | |
CN106067113A (en) | Quick payment mechanism, mobile terminal and method | |
CN112100431A (en) | Evaluation method, device and equipment of OCR system and readable storage medium | |
CN110177039A (en) | Message sharing method, device, computer equipment and storage medium | |
CN105809162B (en) | Method and device for acquiring WIFI hotspot and picture associated information | |
CN106658666A (en) | Method and device for building wireless connection | |
EP1349406A1 (en) | Automatic setting method for terminal information using subscriber identity module | |
CN108717357B (en) | Page display code conversion method, device, equipment and computer storage medium | |
CN112840305B (en) | Font switching method and related product | |
CN110704498A (en) | Data extraction method, device, equipment and computer readable storage medium | |
CN114978671B (en) | Method, device, computer equipment and storage medium for front-end resource access | |
CN109144841B (en) | Method and device for identifying advertisement application, computer equipment and storage medium | |
CN109936772A (en) | Input method, smart television, mobile terminal and the storage medium of smart television | |
CN113672826B (en) | Page jump method, device, computer equipment and storage medium | |
CN113190437B (en) | Time sequence analysis method and device for wireless module, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171107 |
|
RJ01 | Rejection of invention patent application after publication |