CN108764003A - Image identification method and device - Google Patents

Image identification method and device Download PDF

Info

Publication number
CN108764003A
CN108764003A CN201810541381.2A CN201810541381A CN108764003A CN 108764003 A CN108764003 A CN 108764003A CN 201810541381 A CN201810541381 A CN 201810541381A CN 108764003 A CN108764003 A CN 108764003A
Authority
CN
China
Prior art keywords
target photo
intended application
application
display module
mark
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.)
Granted
Application number
CN201810541381.2A
Other languages
Chinese (zh)
Other versions
CN108764003B (en
Inventor
蒋履伟
禄湛
禄一湛
赵青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810541381.2A priority Critical patent/CN108764003B/en
Publication of CN108764003A publication Critical patent/CN108764003A/en
Application granted granted Critical
Publication of CN108764003B publication Critical patent/CN108764003B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Abstract

The disclosure is directed to image identification method and devices.This method includes:When by operating system, when user interface detects object run, according to object run identification Target Photo, the Target Photo is associated with at least one intended application;When successfully identifying the Target Photo, the mark of at least one intended application is shown in the user interface load identification result display module, the recognition result display module.The technical solution detects object run in user interface by operating system and identifies graphic code, it can identify the graphic code of the different encoding and decoding rule of a variety of different applications, it can identify the graphic code of the other app shown in some app, realize that the graphic code across application identifies, it is simple to operate, user experience can be improved.

Description

Image identification method and device
Technical field
This disclosure relates to Internet technical field more particularly to image identification method and device.
Background technology
In internet industry product development in recent years, the graphic codes such as Quick Response Code and bar code are gradual due to its convenience Substitution link and search become new traffic ingress, have very abundant application, each family the scenes such as paying, sharing, download Internet company is added and the relevant function of graphic code all in its application.
In the related technology, the method for identifying Quick Response Code generally includes:A) in the interior figure for carrying Quick Response Code by long-press of application Piece carries out Quick Response Code identification;B) Quick Response Code identification is carried out in the interior camera by the funcalls terminal such as " sweep and sweep " of application.
Invention content
To overcome the problems in correlation technique, a kind of image identification method of embodiment of the present disclosure offer and device.Institute It is as follows to state technical solution:
According to the first aspect of the embodiments of the present disclosure, a kind of image identification method is provided, including:
When by operating system when user interface detects object run, according to the object run identify target figure Piece, the Target Photo are associated with at least one intended application;
When successfully identifying the Target Photo, in the user interface load identification result display module, the identification As a result the mark of at least one intended application is shown in display module.
In one embodiment, described that Target Photo is identified according to the object run, including:
According to the graphic code identification information of at least one candidate application obtained in advance, the Target Photo is identified, and will Success identifies that the candidate application of the Target Photo is determined as at least one intended application.
In one embodiment, the method further includes:
When detecting the selection operation for the mark of any of recognition result display module intended application, beat Open the page corresponding with the Target Photo for the intended application being selected.
In one embodiment, described to detect for any of recognition result display module intended application When the selection operation of mark, the page corresponding with the Target Photo for the intended application being selected is opened, including:
When the selection operation for detecting the mark for any of recognition result display module intended application and institute When stating the intended application being selected described in having been installed in terminal, the corresponding with the Target Photo of the intended application being selected is opened The page;Alternatively,
When the selection operation for detecting the mark for any of recognition result display module intended application and institute When stating the intended application being selected described in not installed in terminal, in user interface load for installing the mesh being selected Mark the intake assembly of the client of application.
In one embodiment, the graphic code identification information at least one candidate application that the basis obtains in advance, knows The not described Target Photo, and will successfully identify that the candidate application of the Target Photo is determined as at least one intended application, Including:
Determine the classification of the Target Photo;
Call the classification with the Target Photo in the graphic code identification information of at least one candidate application obtained in advance The graphic code identification information of matched candidate application, identifies the Target Photo;
It will successfully identify that the candidate application of the Target Photo is determined as at least one intended application.
In one embodiment, the object run includes at least following any operation:
Touch-control duration be more than the long press operation of preset duration, touch-control pressure be more than preset pressure pressure touch operation or The operation of the camera to open a terminal.
According to the second aspect of the embodiment of the present disclosure, a kind of picture recognition device is provided, including:
Identification module, for, when user interface detects object run, being grasped according to the target when by operating system Make identification Target Photo, the Target Photo is associated with at least one intended application;
Load-on module, for when successfully identifying the Target Photo, being shown in the user interface load identification result Component shows the mark of at least one intended application in the recognition result display module.
In one embodiment, the identification module is identified according to the graphic code of at least one candidate application obtained in advance Information identifies the Target Photo, and will successfully identify that the candidate application of the Target Photo is determined as at least one mesh Mark application.
In one embodiment, described device further includes:
Page open module, for working as the mark detected for any of recognition result display module intended application When the selection operation of knowledge, the page corresponding with the Target Photo for the intended application being selected is opened.
In one embodiment, the page open module:Appoint in the recognition result display module when detecting When the intended application being selected has been installed in the selection operation of the mark of one intended application and the terminal, quilt is opened The page corresponding with the Target Photo of the intended application of selection;Alternatively, when detecting for the recognition result display group When the intended application being selected is not installed in the selection operation of the mark of any of part intended application and the terminal, In the intake assembly of client of the user interface load for installing the intended application being selected.
In one embodiment, the identification module, including:
First determination sub-module, the classification for determining the Target Photo;
Identify submodule, in the graphic code identification information for calling at least one candidate application obtained in advance with it is described The graphic code identification information of the candidate application of the categorical match of Target Photo, identifies the Target Photo;
Second determination sub-module, for will successfully identify that it is described at least one that the candidate application of the Target Photo is determined as Intended application.Picture recognition device
According to the third aspect of the embodiment of the present disclosure, a kind of picture recognition device is provided, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
When by operating system when user interface detects object run, according to the object run identify target figure Piece, the Target Photo are associated with at least one intended application;
When successfully identifying the Target Photo, in the user interface load identification result display module, the identification As a result the mark of at least one intended application is shown in display module.
According to the fourth aspect of the embodiment of the present disclosure, a kind of computer readable storage medium is provided, is stored thereon with calculating The step of machine instructs, which realizes above-mentioned first aspect the method when being executed by processor.
The technical scheme provided by this disclosed embodiment can include the following benefits:The technical solution is by operating system System detects object run in user interface and identifies graphic code, can identify the figure of the different encoding and decoding rule of a variety of different applications Shape code can identify the graphic code of the other app shown in some app, realize that the graphic code across application identifies, also, this public affairs The technical solution for opening embodiment offer does not limit Target Photo local environment, and Target Photo can be located at the arbitrary boundary of terminal It is simple to operate in face, such as webpage, picture library or the opening interface arbitrarily applied, user experience can be improved.
It should be understood that above general description and following detailed description is only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is the flow chart according to the image identification method shown in an exemplary embodiment.
Fig. 2 is the flow chart according to the image identification method shown in an exemplary embodiment.
Fig. 3 is the flow chart according to the image identification method shown in an exemplary embodiment.
Fig. 4 is the block diagram according to the picture recognition device shown in an exemplary embodiment.
Fig. 5 is the block diagram according to the picture recognition device shown in an exemplary embodiment.
Fig. 6 is the block diagram according to the picture recognition device shown in an exemplary embodiment.
Fig. 7 is the block diagram according to the picture recognition device shown in an exemplary embodiment.
Fig. 8 is the block diagram according to the picture recognition device shown in an exemplary embodiment.
Fig. 9 is the block diagram according to the picture recognition device shown in an exemplary embodiment.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
In the related technology, the method for identifying Quick Response Code generally includes:A) in the interior figure for carrying Quick Response Code by long-press of application Piece carries out Quick Response Code identification;B) Quick Response Code identification is carried out in the interior camera by the funcalls terminal such as " sweep and sweep " of application.But It is that, since the rule of each application (app) supported Quick Response Code is not fully identical, any one app is only capable of identifying the application The Quick Response Code that itself is supported, can not Direct Recognition other app Quick Response Code, lead between the Quick Response Code of different app that there are technologies Barrier cannot achieve and be identified across application, causes user experience poor;Also, the method for identifying Quick Response Code in the related technology, target Picture needs on the opening interface of application, alternatively, needing to call the camera of terminal to carry out two on interface in opening for application Code identification is tieed up, Quick Response Code identification scene is limited, causes user's operation inconvenient.
To solve the above-mentioned problems, the embodiment of the present disclosure provides a kind of image identification method, including:When by operating system System when user interface detects object run, according to the object run identify Target Photo, the Target Photo at least One intended application association;When successfully identifying the Target Photo, in the user interface load identification result display module, The mark of at least one intended application is shown in the recognition result display module.The technology that the embodiment of the present disclosure provides In scheme, object run is detected in user interface by operating system and identifies graphic code, can identify a variety of different applications The graphic code of different encoding and decoding rules can identify the graphic code of the other app shown in some app, realize the figure across application Shape code identifies, also, the technical solution that the embodiment of the present disclosure provides does not limit Target Photo local environment, and Target Photo can be with It is simple to operate positioned at the arbitrary interface of terminal, such as in webpage, picture library or the opening interface arbitrarily applied, it can improve User experience.
It should be pointed out that terminal can be smart mobile phone, tablet computer, desktop computer, notes in the embodiment of the present disclosure The user equipmenies such as this computer and Wearable.
Based on above-mentioned analysis, following specific embodiment is proposed.
Fig. 1 is a kind of flow chart of image identification method shown according to an exemplary embodiment, the execution master of this method Body can be terminal, as shown in Figure 1, this approach includes the following steps 101-102:
In a step 101, it, when user interface detects object run, is identified according to object run when by operating system Target Photo, Target Photo are associated with at least one intended application.
Exemplary, object run includes at least following any operation:Touch-control duration be more than preset duration long press operation, Touch-control pressure is more than pressure touch operation or the operation of the camera to open a terminal of preset pressure.Exist when by operating system When user interface detects object run, Target Photo corresponding with object run is identified;For example, when terminal passes through operating system When user interface monitors the long press operation of Target Photo in the current interface for terminal, Target Photo is identified;Terminal Current interface can be the arbitrary interface of terminal, such as webpage, picture library or the opening interface arbitrarily applied.The embodiment of the present disclosure carries The technical solution of confession does not limit Target Photo local environment, and Target Photo can be located at the arbitrary interface of terminal, such as webpage, It is simple to operate in picture library or the opening interface arbitrarily applied, user experience can be improved.In another example when terminal passes through behaviour Make system when user interface monitors the operation that the camera of terminal is opened, calls camera photographic subjects picture, and know Other Target Photo.In the technical solution that the embodiment of the present disclosure provides, the application environment where Target Photo is not limited, not yet Limit current operation interface, user can be under the terminal usage scenario of any static state by long-press graphic code, or by beating Open the camera and alignment patterns code of terminal, you can obtain the Target Photo for showing graphic code, and trigger and carried out to Target Photo The identification process of identification.
It is exemplary, according to the graphic code identification information of at least one candidate application obtained in advance, identify Target Photo, and The candidate application of successfully identification Target Photo is determined as at least one intended application.It should be noted that the figure of application Shape code identification information refers to the interface or decision rule for the graphic code that can be used in identifying the application, for example, the figure of the application Code identification software development kit (SDK, Software Development Kit).Optionally, according to obtaining in advance at least The graphic code identification information of one candidate application, identifies that the realization process of Target Photo may include:First, Target Photo is determined Classification, the classification of graphic code may include bar code, Quick Response Code, zxing etc., such as passes through the graphic codes such as zxing and scan work Tool judges the classification of graphic code;Then, it calls in the graphic code identification information of at least one candidate application obtained in advance and institute The graphic code identification information for stating the candidate application of the categorical match of Target Photo, identifies Target Photo;It will successfully identify target figure The candidate application of piece is determined as above-mentioned at least one intended application.By the classification of graphic code at least one time for obtaining in advance The graphic code identification information of choosing application is screened, and is used only and is identified with the graphic code of the candidate application of the categorical match of graphic code Information attempts identification Target Photo, can reduce the time and resource that redundant computation is consumed in identification process.
In a step 102, when successfully identifying Target Photo, in user interface load identification result display module, identification As a result the mark of at least one intended application is shown in display module.
Exemplary, recognition result display module is, for example, the strip lesser calorie for the predeterminable area for loading on user interface bottom Piece.
It is exemplary, it is aobvious for the recognition result when detecting after user interface load identification result display module It is opening the intended application being selected with the Target Photo when showing the selection operation of the mark of any of component intended application The corresponding page.For example, when the selection for detecting the mark for any of recognition result display module intended application It is opening the intended application being selected with the mesh when intended application being selected has been installed in operation and the terminal The corresponding page of piece of marking on a map;Alternatively, when detecting the mark for any of recognition result display module intended application Selection operation and the terminal in when the intended application being selected is not installed, loaded in the user interface for pacifying The intake assembly of the client for the intended application being selected described in dress.
Exemplary, when successfully identifying Target Photo, in user interface load identification result display module, recognition result is aobvious Show the mark for showing at least one intended application in component, and works as and detect for any in the recognition result display module When the selection operation of the mark of a intended application, the page corresponding with the Target Photo in the intended application being selected is opened Realization method at least may include any one following realization method:
Realization method 1 is successfully identifying Target Photo, that is, determines at least one intended application corresponding with Target Photo When, the number of intended application is obtained, then, the number based on intended application is respectively processed for following two scenes:
There is only an intended applications by scene a):
When intended application is one, in entrance group of the user interface load for opening Target Photo using intended application Part shows the mark of intended application in intake assembly;The mark of intended application for example can be intended application title or The icon of intended application;Optionally, the type of graphic code can also be shown in intake assembly.
When detecting the selection operation for intake assembly, whether installation targets application is judged in terminal:Work as terminal In installation targets in application, using intended application open Target Photo, jump in intended application with the Target Photo pair The page answered.When non-installation targets in terminal in application, being shown for the non-installation targets application of prompt terminal in display interface Prompt message, and load the intake assembly for installation targets application;It is directed to the entrance for being used for installation targets application when detecting When the selection operation of component, the installation procedure of intended application and installation targets application are downloaded, such as target is downloaded from application shop The installation procedure of application.
There are more than two intended applications by scene b):
When intended application is more than two, in user interface load for prompting user's selection to be used to open Target Photo Intended application prompt component;When detecting the selection operation for prompt component, judge whether to have installed in terminal each Intended application:
When having installed the only one intended application in each intended application in terminal, open in the intended application being selected with The corresponding page of the Target Photo;
When having installed more than two intended applications in each intended application in terminal, entrance group is loaded in user interface Part shows the mark or icon of mounted all intended applications in intake assembly;It is directed to intake assembly when detecting Any of intended application mark or icon selection operation when, open in the intended application being selected with the Target Photo The corresponding page;
When not installing any one intended application in each intended application in terminal, shown in user interface for prompting end The prompt message of the non-installation targets application in end, and load the intake assembly for installing each intended application;Such as in intake assembly In show the mark or icon of each intended application.When detecting mark or figure for any of intake assembly intended application When target selection operation, the installation procedure for the intended application being selected and installation are downloaded, such as be selected from application shop download Intended application installation procedure.
Realization method 2, in each intended application randomly choose one application, jump to the random selection application in institute State the corresponding page of Target Photo.Alternatively, choose in each intended application the opening highest application of frequency, jump to selected The page corresponding with the Target Photo in.The opening frequency of application refers to that the application is opened in fixed time period Number.
The technical scheme provided by this disclosed embodiment detects object run in user interface by operating system and identifies Graphic code can identify the graphic code of the different encoding and decoding rule of a variety of different applications, can identify its shown in some app The graphic code of its app realizes that the graphic code across application identifies, also, the technical solution that the embodiment of the present disclosure provides does not limit Target Photo local environment, Target Photo can be located at the arbitrary interface of terminal, such as webpage, picture library or the opening arbitrarily applied It is simple to operate in interface, user experience can be improved.
Fig. 2 is a kind of flow chart of image identification method shown according to an exemplary embodiment.As shown in Fig. 2, in Fig. 1 On the basis of illustrated embodiment, this disclosure relates to image identification method may comprise steps of 201-204:
In step 201, when by operating system when user interface detects object run, according to obtain in advance to The graphic code identification information of a few candidate application, identifies the Target Photo.
In step 202, it will successfully identify that the candidate application of the Target Photo is determined as at least one target and answers With.
In step 203, when successfully identifying the Target Photo, in the user interface load identification result display group Part shows the mark of at least one intended application in the recognition result display module.
In step 204, when detecting the mark for any of recognition result display module intended application When selection operation, the page corresponding with the Target Photo for the intended application being selected is opened.
The technical scheme provided by this disclosed embodiment is known by the graphic code of at least one candidate application obtained in advance Other information, identifies the Target Photo, can identify the graphic code of the different encoding and decoding rule of a variety of different applications, realizes across answering Graphic code identifies.Graphic code identifies that entrance scene is various, global operation can be realized in system level, not by place APP rings The limitation in border.It supports the identification of a variety of graphic codes, has effectively broken the graphic code of the previous A application None- identified in B applications Barrier.After graphic code identification, if there is multiple recognition results, user oneself can select as needed.
Fig. 3 is a kind of flow chart of image identification method shown according to an exemplary embodiment.As shown in figure 3, in Fig. 1 On the basis of illustrated embodiment, this disclosure relates to image identification method may comprise steps of 301-309:
In step 301, it, when user interface detects object run, is obtained and object run pair when by operating system The Target Photo answered.
Exemplary, predetermined registration operation includes at least following any operation:Touch-control duration be more than preset duration long press operation, Touch-control pressure is more than pressure touch operation or the operation of the camera to open a terminal of preset pressure.Embodiment of the disclosure carries The technical solution of confession, the identification that identifies and take pictures in conjunction with long-press meet the scene of nearly all graphic code identification, effectively in one It avoids and is identified again after needing sectional drawing in the related technology or need two equipment the secondary operations such as to identify.
In step 302, according to the graphic code identification information of at least one candidate application obtained in advance, target figure is identified The candidate application of successfully identification Target Photo is determined as at least one intended application by piece.
It is exemplary, determine the classification of Target Photo;Call the graphic code identification of at least one candidate application obtained in advance With the graphic code identification information of the candidate application of the categorical match of Target Photo in information, Target Photo is identified;It will successfully identify The candidate application of Target Photo is determined as at least one intended application.
In step 303, the number of intended application is obtained;Judge whether the number of intended application is more than 1;In intended application Number be 1 when, go to step 304;When the number of intended application is more than 1, step 308 is gone to.
In step 304, the intake assembly in user interface load for being opened Target Photo using intended application, is being entered The mark of intended application is shown in mouth component.
In step 305, when detecting the selection operation for intake assembly, judge in terminal whether installation targets Using;When in terminal installation targets in application, going to step 306;When in terminal non-installation targets in application, going to step 307。
Within step 306, the page corresponding with the Target Photo of intended application is opened;Flow terminates.
In step 307, the intake assembly in user interface load for installation targets application;Flow terminates.
It is exemplary, show the prompt message for the non-installation targets application of prompt terminal in user interface, and load and be used for The intake assembly of installation targets application.When detecting the selection operation for the intake assembly for installation targets application, under The installation procedure of intended application and installation targets application are carried, such as downloads the installation procedure of intended application from application shop.
In step 308, the intended application for prompting user's selection to be used to open Target Photo is loaded in user interface Prompt component.
It is exemplary, the classification of graphic code is shown in prompting component.
In a step 309, it when detecting the selection operation for prompt component, determines and has been installed in each intended application The number of the application of terminal;When having installed in each intended application intended application in terminal, mounted target is opened The page corresponding with the Target Photo in;When having installed more than two intended applications in each intended application in terminal When, intake assembly is loaded in user interface, the mark of mounted intended application is shown in intake assembly, when detecting needle It is opening the intended application being selected with the target when to the selection operation of the mark of any of intake assembly intended application The corresponding page of picture;When not installing any one intended application in each intended application in terminal, loads and use in user interface In the intake assembly for installing each intended application.
It is exemplary, show the prompt message for the non-installation targets application of prompt terminal in user interface, and load and be used for The intake assembly of each intended application is installed;The mark or icon of each intended application are shown in intake assembly.When detecting needle When the selection operation of mark or icon to any of intake assembly intended application, quotient is applied from network or from terminal Download the installation procedure for the intended application being selected and installation in shop.
The technical scheme provided by this disclosed embodiment, by calling the graphic code of the multiple candidate applications obtained in advance to know Other information attempts identification Target Photo one by one, the graphic code of the different encoding and decoding rule of a variety of different applications can be identified, if having Multiple candidate applications can recognize that the same graphic codes, then can by user's selection target application according to their needs, realize across The graphic code of application identifies.Graphic code identifies that entrance scene is various, global operation can be realized in system level, not by place APP The limitation of environment.Support the identification of a variety of graphic codes, effectively having broken the graphic code of previous A applications can not know in B applications Other barrier.After graphic code identification, if there is multiple recognition results, user oneself can select as needed.Graphic code identifies Afterwards, if having identification as a result, the APP that still the non-installation targets of user are applied, prompting user installation, this applies and provides using quotient The entrance in shop provides complete service.
Identify that graphic code, the embodiment of the present disclosure carry across application to solve the problems, such as to cannot achieve present in the relevant technologies A kind of image identification method, this method has been supplied to implement with terminal and server, method includes:
Step 1, terminal obtain target corresponding with object run when detecting object run matched with predetermined registration operation Picture.
Step 2, terminal to server send the graphic code identification request for carrying Target Photo, and graphic code identification request is used for Request server identifies application corresponding with Target Photo.
Step 3, server identify target figure according to the graphic code identification information of at least one candidate application obtained in advance The candidate application of successfully identification Target Photo is determined as object application corresponding with Target Photo by piece.
Step 4, server send graphic code identification response to terminal, and graphic code identification response includes and Target Photo pair At least one candidate application answered.
Step 5, terminal receive the graphic code identification response that server is sent;The selected target application in object application, makes Target Photo is opened with intended application.
The technical scheme provided by this disclosed embodiment identifies application corresponding with Target Photo by server, mitigates The data processing pressure of terminal improves recognition speed and accuracy.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.
Fig. 4 is a kind of block diagram of picture recognition device shown according to an exemplary embodiment;The device may be used respectively Kind of mode is implemented, such as all components of implementation in the terminal, alternatively, in end side implementation in a coupled manner In component;The device can by software, hardware or both be implemented in combination with it is above-mentioned this disclosure relates to method, such as Fig. 4 Shown, which includes:Identification module 401 and load-on module 402, wherein:
Identification module 401 be configured as when by operating system when user interface detects object run, according to described Object run identifies that Target Photo, the Target Photo are associated with at least one intended application;
Load-on module 402 is configured as when successfully identifying the Target Photo, in the user interface load identification knot Fruit display module shows the mark of at least one intended application in the recognition result display module.
Device provided in an embodiment of the present invention can be used in executing the technical solution of embodiment illustrated in fig. 1, executive mode Similar with advantageous effect, details are not described herein again.Picture recognition device
In a kind of possible embodiment, the identification module 401 is according at least one candidate application obtained in advance Graphic code identification information, identify the Target Photo, and will successfully identify that the candidate application of the Target Photo is determined as institute State at least one intended application.
In a kind of possible embodiment, as shown in figure 5, the picture recognition device shown in Fig. 4 can also include:The page Module 501 is opened, is configured as when detecting the mark for any of recognition result display module intended application When selection operation, the page corresponding with the Target Photo for the intended application being selected is opened.
In a kind of possible embodiment, page open module 501:It is directed to the recognition result display group when detecting When the intended application being selected has been installed in the selection operation of the mark of any of part intended application and the terminal, Open the page corresponding with the Target Photo for the intended application being selected;Alternatively, when detecting for the recognition result The target being selected is not installed to answer in the selection operation of the mark of any of display module intended application and the terminal Used time, in the intake assembly of client of the user interface load for installing the intended application being selected.
In a kind of possible embodiment, as shown in fig. 6, the picture recognition device shown in Fig. 4 can also include knowledge Other module 401 is configured to:First determination sub-module 601, identification submodule 602 and the second determination sub-module 603, wherein:
First determination sub-module 601 is configured to determine that the classification of the Target Photo;
Identification submodule 602 is configured as in the graphic code identification information for calling at least one candidate application obtained in advance With the graphic code identification information of the candidate application of the categorical match of the Target Photo, the Target Photo is identified;
Second determination sub-module 603 be configured as successfully identifying the candidate application of the Target Photo be determined as it is described extremely A few intended application.Picture recognition device picture recognition device
Fig. 7 is a kind of block diagram of picture recognition device 700 shown according to an exemplary embodiment, picture recognition device 700 may be used various modes to implement, such as all components of implementation in the terminal, alternatively, in end side to couple Mode implementation in component;Picture recognition device 700 includes:
Processor 701;
Memory 702 for storing processor-executable instruction;
Wherein, processor 701 is configured as:
When by operating system when user interface detects object run, according to the object run identify target figure Piece, the Target Photo are associated with at least one intended application;
When successfully identifying the Target Photo, in the user interface load identification result display module, the identification As a result the mark of at least one intended application is shown in display module.
In one embodiment, above-mentioned processor 701 is also configured to:
According to the graphic code identification information of at least one candidate application obtained in advance, the Target Photo is identified, and will Success identifies that the candidate application of the Target Photo is determined as at least one intended application.
In one embodiment, above-mentioned processor 701 is also configured to:
When detecting the selection operation for the mark of any of recognition result display module intended application, beat Open the page corresponding with the Target Photo for the intended application being selected.
In one embodiment, above-mentioned processor 701 is also configured to:
When the selection operation for detecting the mark for any of recognition result display module intended application and institute When stating the intended application being selected described in having been installed in terminal, the corresponding with the Target Photo of the intended application being selected is opened The page;Alternatively,
When the selection operation for detecting the mark for any of recognition result display module intended application and institute When stating the intended application being selected described in not installed in terminal, in user interface load for installing the mesh being selected Mark the intake assembly of the client of application.
In one embodiment, above-mentioned processor 701 is also configured to:
Determine the classification of the Target Photo;
Call the classification with the Target Photo in the graphic code identification information of at least one candidate application obtained in advance The graphic code identification information of matched candidate application, identifies the Target Photo;
It will successfully identify that the candidate application of the Target Photo is determined as at least one intended application.
In one embodiment, the object run includes at least following any operation:When touch-control duration is more than default Long long press operation, touch-control pressure are more than pressure touch operation or the operation of the camera to open a terminal of preset pressure.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 8 is a kind of block diagram of picture recognition device shown according to an exemplary embodiment.For example, picture recognition device 800 can be the terminals such as smart mobile phone, tablet computer.
With reference to Fig. 8, picture recognition device 800 may include following one or more components:Processing component 802, memory 804, power supply module 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor module 814 and communication component 816.
Processing component 802 usually control picture recognition device 800 integrated operation, such as with display, call, data Communication, camera operation and record operate associated operation.Processing component 802 may include one or more processors 820 It executes instruction, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more Module, convenient for the interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, To facilitate the interaction between multimedia component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in picture recognition device 800.These The example of data includes the instruction for any application program or method that are operated in picture recognition device 800, contacts number According to, telephone book data, message, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memories Equipment or combination thereof are realized, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
Power supply module 806 provides electric power for the various assemblies of picture recognition device 800.Power supply module 806 may include electricity Management system, one or more power supplys and other with for picture recognition device 800 generate, management and distribution electric power it is associated Component.
Multimedia component 808 is included in the screen of one output interface of offer between picture recognition device 800 and user. In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch surface Plate, screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touches Sensor is to sense the gesture on touch, slide, and touch panel.Touch sensor can not only sense touch or sliding action Boundary, but also detect with touch or the relevant duration and pressure of slide.In some embodiments, multimedia group Part 808 includes a front camera and/or rear camera.When picture recognition device 800 is in operation mode, mould is such as shot When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when picture recognition device 800 is in operation mode, when such as call model, logging mode and speech recognition mode, wheat Gram wind is configured as receiving external audio signal.The received audio signal can be further stored in memory 804 or warp It is sent by communication component 816.In some embodiments, audio component 810 further includes a loud speaker, for exporting audio letter Number.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor module 814 includes one or more sensors, for providing various aspects for picture recognition device 800 Status assessment.For example, sensor module 814 can detect the state that opens/closes of picture recognition device 800, the phase of component It is the display and keypad of picture recognition device 800 to positioning, such as component, sensor module 814 can also detect picture The position change of 800 1 components of identification device 800 or picture recognition device, user deposit with what picture recognition device 800 contacted Or be not present, the temperature change of 800 orientation of picture recognition device or acceleration/deceleration and picture recognition device 800.Sensor group Part 814 may include proximity sensor, be configured to detect the presence of nearby objects without any physical contact.It passes Sensor component 814 can also include optical sensor, such as CMOS or ccd image sensor, for being used in imaging applications.One In a little embodiments, which can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure biography Sensor or temperature sensor.
Communication component 816 is configured to facilitate wired or wireless way between picture recognition device 800 and other equipment Communication.Picture recognition device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their group It closes.In one exemplary embodiment, communication component 816 receives the broadcast from external broadcasting management system via broadcast channel Signal or broadcast related information.In one exemplary embodiment, communication component 816 further includes near-field communication (NFC) module, with Promote short range communication.For example, can be based on radio frequency identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology surpasses Broadband (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, picture recognition device 800 can be by one or more application application-specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), scene can It programs gate array (FPGA), controller, microcontroller, microprocessor or other electronic building bricks to realize, for executing the above method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of Such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of picture recognition device 800 to complete above-mentioned side Method.For example, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, Floppy disk and optical data storage devices etc..
Fig. 9 is a kind of block diagram of picture recognition device shown according to an exemplary embodiment.For example, picture recognition device 900 may be provided as a server.Picture recognition device 900 includes processing component 902, further comprises one or more Processor, and by the memory resource representated by memory 903, for store can by the instruction of the execution of processing component 902, Such as application program.The application program stored in memory 903 may include it is one or more each correspond to one The module of group instruction.In addition, processing component 902 is configured as executing instruction, to execute the above method.
Picture recognition device 900 can also include that a power supply module 906 is configured as executing picture recognition device 900 Power management, a wired or wireless network interface 905 are configured as picture recognition device 900 being connected to network and one Input and output (I/O) interface 908.Picture recognition device 900 can be operated based on the operating system for being stored in memory 903, example Such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium by picture recognition device 800 or When the processor of picture recognition device 900 executes so that picture recognition device 800 or picture recognition device 900 be able to carry out as Lower image identification method, method include:
When by operating system when user interface detects object run, according to the object run identify target figure Piece, the Target Photo are associated with at least one intended application;
When successfully identifying the Target Photo, in the user interface load identification result display module, the identification As a result the mark of at least one intended application is shown in display module.
In one embodiment, described that Target Photo is identified according to the object run, including:
According to the graphic code identification information of at least one candidate application obtained in advance, the Target Photo is identified, and will Success identifies that the candidate application of the Target Photo is determined as at least one intended application.
In one embodiment, the method further includes:
When detecting the selection operation for the mark of any of recognition result display module intended application, beat Open the page corresponding with the Target Photo for the intended application being selected.
In one embodiment, described to detect for any of recognition result display module intended application When the selection operation of mark, the page corresponding with the Target Photo for the intended application being selected is opened, including:
When the selection operation for detecting the mark for any of recognition result display module intended application and institute When stating the intended application being selected described in having been installed in terminal, the corresponding with the Target Photo of the intended application being selected is opened The page;Alternatively,
When the selection operation for detecting the mark for any of recognition result display module intended application and institute When stating the intended application being selected described in not installed in terminal, in user interface load for installing the mesh being selected Mark the intake assembly of the client of application.
In one embodiment, the graphic code identification information at least one candidate application that the basis obtains in advance, knows The not described Target Photo, and will successfully identify that the candidate application of the Target Photo is determined as at least one intended application, Including:
Determine the classification of the Target Photo;
Call the classification with the Target Photo in the graphic code identification information of at least one candidate application obtained in advance The graphic code identification information of matched candidate application, identifies the Target Photo;
It will successfully identify that the candidate application of the Target Photo is determined as at least one intended application.
In one embodiment, the object run includes at least following any operation:
Touch-control duration be more than the long press operation of preset duration, touch-control pressure be more than preset pressure pressure touch operation or The operation of the camera to open a terminal.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (13)

1. a kind of image identification method, which is characterized in that including:
When by operating system when user interface detects object run, according to the object run identify Target Photo, institute Target Photo is stated to be associated with at least one intended application;
When successfully identifying the Target Photo, in the user interface load identification result display module, the recognition result The mark of at least one intended application is shown in display module.
2. according to the method described in claim 1, it is characterized in that, described identify Target Photo, packet according to the object run It includes:
According to the graphic code identification information of at least one candidate application obtained in advance, the Target Photo is identified, and will succeed Identify that the candidate application of the Target Photo is determined as at least one intended application.
3. according to the method described in claim 1, it is characterized in that, the method further includes:
When detecting the selection operation for the mark of any of recognition result display module intended application, quilt is opened The page corresponding with the Target Photo of the intended application of selection.
4. according to the method described in claim 3, it is characterized in that, described ought detect for the recognition result display module Any of the selection operation of the mark of intended application when, open the corresponding with the Target Photo of the intended application being selected The page, including:
When the selection operation for detecting the mark for any of recognition result display module intended application and the end When the intended application being selected has been installed in end, the page corresponding with the Target Photo for the intended application being selected is opened Face;Alternatively,
When the selection operation for detecting the mark for any of recognition result display module intended application and the end When the intended application being selected is not installed in end, answered in user interface load for installing the target being selected The intake assembly of client.
5. according to the method described in claim 2, it is characterized in that, what at least one candidate that the basis obtains in advance applied Graphic code identification information identifies the Target Photo, and will successfully identify the candidate described using being determined as of the Target Photo At least one intended application, including:
Determine the classification of the Target Photo;
Call the categorical match with the Target Photo in the graphic code identification information of at least one candidate application obtained in advance Candidate application graphic code identification information, identify the Target Photo;
It will successfully identify that the candidate application of the Target Photo is determined as at least one intended application.
6. according to the method described in claim 1, it is characterized in that, the object run includes at least following any operation:
Touch-control duration is more than the pressure touch operation of the long press operation of preset duration, touch-control pressure more than preset pressure or opening The operation of the camera of terminal.
7. a kind of picture recognition device, which is characterized in that including:
Identification module, for, when user interface detects object run, being known according to the object run when by operating system Other Target Photo, the Target Photo are associated with at least one intended application;
Load-on module, for when successfully identifying the Target Photo, in the user interface load identification result display module, The mark of at least one intended application is shown in the recognition result display module.
8. device according to claim 7, which is characterized in that the identification module is according at least one time obtained in advance The graphic code identification information for selecting application identifies the Target Photo, and will successfully identify that the candidate application of the Target Photo is true It is set at least one intended application.
9. device according to claim 7, which is characterized in that described device further includes:
Page open module, for when detecting the mark for any of recognition result display module intended application When selection operation, the page corresponding with the Target Photo for the intended application being selected is opened.
10. device according to claim 9, which is characterized in that the page open module:It is directed to the knowledge when detecting It is selected described in having been installed in the selection operation of the mark of intended application of any of other result display module and the terminal When intended application, the page corresponding with the Target Photo for the intended application being selected is opened;Alternatively, when detecting for institute It states and described be chosen is not installed in the selection operation of the mark of any of recognition result display module intended application and the terminal When the intended application taken, in the entrance group of client of the user interface load for installing the intended application being selected Part.
11. device according to claim 8, which is characterized in that the identification module, including:
First determination sub-module, the classification for determining the Target Photo;
Identify submodule, in the graphic code identification information for calling at least one candidate application obtained in advance with the target The graphic code identification information of the candidate application of the categorical match of picture, identifies the Target Photo;
Second determination sub-module, for will successfully identify that the candidate application of the Target Photo is determined as at least one target Using.
12. a kind of picture recognition device, which is characterized in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
When by operating system when user interface detects object run, according to the object run identify Target Photo, institute Target Photo is stated to be associated with at least one intended application;
When successfully identifying the Target Photo, in the user interface load identification result display module, the recognition result The mark of at least one intended application is shown in display module.
13. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that the instruction is by processor The step of any one of claim 1-6 the methods are realized when execution.
CN201810541381.2A 2018-05-30 2018-05-30 Picture identification method and device Active CN108764003B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810541381.2A CN108764003B (en) 2018-05-30 2018-05-30 Picture identification method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810541381.2A CN108764003B (en) 2018-05-30 2018-05-30 Picture identification method and device

Publications (2)

Publication Number Publication Date
CN108764003A true CN108764003A (en) 2018-11-06
CN108764003B CN108764003B (en) 2022-03-18

Family

ID=64004657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810541381.2A Active CN108764003B (en) 2018-05-30 2018-05-30 Picture identification method and device

Country Status (1)

Country Link
CN (1) CN108764003B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110188295A (en) * 2019-05-28 2019-08-30 北京小米智能科技有限公司 The recognition methods of application program and device, storage medium
CN111026464A (en) * 2019-11-06 2020-04-17 维沃移动通信有限公司 Identification method and electronic equipment
CN111444737A (en) * 2020-03-25 2020-07-24 维沃移动通信有限公司 Graphic code identification method and electronic equipment
CN112016340A (en) * 2020-09-08 2020-12-01 北京速票通科技有限公司 Invoice head-up information automatic identification system and method
WO2022143336A1 (en) * 2020-12-29 2022-07-07 维沃移动通信(杭州)有限公司 Graphic code recognition method and apparatus, and electronic device
WO2022151870A1 (en) * 2021-01-13 2022-07-21 北京字节跳动网络技术有限公司 Interaction method and apparatus, electronic device, and computer-readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103177104A (en) * 2013-03-26 2013-06-26 北京小米科技有限责任公司 Searching method and device of application program
CN104267881A (en) * 2014-06-18 2015-01-07 小米科技有限责任公司 Toolbar operating method and device
CN105094975A (en) * 2015-09-29 2015-11-25 北京奇艺世纪科技有限公司 Method and device for calling application program
CN107609864A (en) * 2017-08-30 2018-01-19 努比亚技术有限公司 Method and terminal, the storage medium of a kind of information recommendation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103177104A (en) * 2013-03-26 2013-06-26 北京小米科技有限责任公司 Searching method and device of application program
CN104267881A (en) * 2014-06-18 2015-01-07 小米科技有限责任公司 Toolbar operating method and device
CN105094975A (en) * 2015-09-29 2015-11-25 北京奇艺世纪科技有限公司 Method and device for calling application program
CN107609864A (en) * 2017-08-30 2018-01-19 努比亚技术有限公司 Method and terminal, the storage medium of a kind of information recommendation

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110188295A (en) * 2019-05-28 2019-08-30 北京小米智能科技有限公司 The recognition methods of application program and device, storage medium
CN111026464A (en) * 2019-11-06 2020-04-17 维沃移动通信有限公司 Identification method and electronic equipment
CN111444737A (en) * 2020-03-25 2020-07-24 维沃移动通信有限公司 Graphic code identification method and electronic equipment
CN112016340A (en) * 2020-09-08 2020-12-01 北京速票通科技有限公司 Invoice head-up information automatic identification system and method
CN112016340B (en) * 2020-09-08 2024-01-26 北京速票通科技有限公司 Invoice head-up information automatic identification system and method
WO2022143336A1 (en) * 2020-12-29 2022-07-07 维沃移动通信(杭州)有限公司 Graphic code recognition method and apparatus, and electronic device
WO2022151870A1 (en) * 2021-01-13 2022-07-21 北京字节跳动网络技术有限公司 Interaction method and apparatus, electronic device, and computer-readable storage medium

Also Published As

Publication number Publication date
CN108764003B (en) 2022-03-18

Similar Documents

Publication Publication Date Title
CN108764003A (en) Image identification method and device
CN104486451B (en) Application program recommends method and device
EP3641285B1 (en) Method and device for starting application program
CN106951884A (en) Gather method, device and the electronic equipment of fingerprint
CN105302615B (en) Method for upgrading software and device
CN107133352A (en) Photo display methods and device
CN108334352A (en) Notification message processing method, device, electronic equipment and storage medium
CN108803980A (en) Operation recognition methods, device, equipment and the readable storage medium storing program for executing of equipment
CN105843503B (en) Using open method, device and terminal device
CN105847111A (en) Method and device for adding friend
CN106096009A (en) Method for generating message and device
CN107239207A (en) Photo display methods and device
CN105828294B (en) Detection method and device
CN109922098A (en) A kind of content share method, device and the device for content share
CN104811904B (en) Contact person's setting method and device
CN108804179A (en) Show method, apparatus, terminal and the storage medium of notification bar message
CN107911482A (en) Intended application deployment method and device
CN107566750A (en) Control method, device and the storage medium of flash lamp
CN109558553A (en) Pattern determines method and device
CN105912202A (en) Application sharing method and device
CN106339452B (en) Event response method and device
CN108170539A (en) Information processing method and equipment
CN107436937A (en) Using the method and apparatus of installation
CN107343311A (en) Push control method and device
CN106775240A (en) The triggering method of application program, device and terminal

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
GR01 Patent grant
GR01 Patent grant