CN109255325A - Image-recognizing method and device for wearable device - Google Patents

Image-recognizing method and device for wearable device Download PDF

Info

Publication number
CN109255325A
CN109255325A CN201811033421.9A CN201811033421A CN109255325A CN 109255325 A CN109255325 A CN 109255325A CN 201811033421 A CN201811033421 A CN 201811033421A CN 109255325 A CN109255325 A CN 109255325A
Authority
CN
China
Prior art keywords
response
image
image recognition
target image
cloud server
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
Application number
CN201811033421.9A
Other languages
Chinese (zh)
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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201811033421.9A priority Critical patent/CN109255325A/en
Publication of CN109255325A publication Critical patent/CN109255325A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/20Scenes; Scene-specific elements in augmented reality scenes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present application discloses the image-recognizing method and device for wearable device.One specific embodiment of this method includes: to show default interface in response to detecting the start-up operation for starting the application of knowledge figure, and the default interface is for prompting user to confirm starting image recognition;In response to detecting confirmation operation, target image is obtained, which is uploaded to Cloud Server, so that the Cloud Server carries out image recognition;Receive the image recognition result of Cloud Server return.The embodiment of the present application can confirm again whether user will start knowledge figure and apply to carry out image recognition by showing default interface.In this way, even if user because the reasons such as maloperation have carried out start-up operation, will not directly initiate image recognition and waste the hardware resource of wearable device, the problem of so as to avoid power wastage.

Description

Image-recognizing method and device for wearable device
Technical field
The invention relates to field of computer technology, and in particular to Internet technical field more particularly, to may be used The image-recognizing method and device of wearable device.
Background technique
With the development of image processing techniques, more and more common application is had been obtained in image recognition.Image recognition mistake Journey is higher to the power consumption requirements of equipment, thus is limited by power consumption, and image recognition is applied to wearable device can be to can wear It wears equipment and causes very big burden.
Summary of the invention
The embodiment of the present application proposes the image-recognizing method and device for wearable device.
In a first aspect, the embodiment of the present application provides a kind of image-recognizing method for wearable device, comprising: response In detecting the start-up operation for starting the application of knowledge figure, default interface is shown, default interface is for prompting user to confirm starting Image recognition;In response to detecting confirmation operation, target image is obtained, target image is uploaded to Cloud Server, so that cloud takes Business device carries out image recognition;Receive the image recognition result that Cloud Server returns.
In some embodiments, default interface is also used to that user is prompted to confirm starting camera function.
In some embodiments, after receiving the image recognition result that Cloud Server returns, method further include: showing The predeterminable area at interface, the topography of displaying target image, wherein the central point of target image and the central point of predeterminable area Distance be less than or equal to pre-determined distance threshold value;Region other than predeterminable area shows image recognition result.
In some embodiments, method further include: in response to detecting the first predetermined registration operation to predeterminable area, showing The complete target image of interface display.
In some embodiments, method further include: in response to detecting the second predetermined registration operation to display interface, taken to cloud Be engaged in device send include image recognition result searching request so that Cloud Server determined from image recognition result keyword into Row search.
In some embodiments, in response to detecting the start-up operation for starting the application of knowledge figure, default interface, packet are shown It includes: in response to detecting the start-up operation for starting the application of knowledge figure, determining whether wearable device is in network connection state; It is in network connection state in response to determining, shows default interface.
In some embodiments, in response to detecting the confirmation operation to preset icon, target image is obtained, comprising: ring Ying Yu detects the confirmation operation to preset icon, determines whether wearable device is in network connection state;In response to determination In network connection state, target image is obtained.
In some embodiments, in the case where target image is the image of preset kind, image recognition result is default Sentence.
Second aspect, the embodiment of the present application provide a kind of pattern recognition device for wearable device, comprising: display Unit is configured in response to detect the start-up operation for starting the application of knowledge figure, shows default interface, default interface is used for User is prompted to confirm starting image recognition;Acquiring unit is configured in response to detect confirmation operation, obtains target image, Target image is uploaded to Cloud Server, so that Cloud Server carries out image recognition;Receiving unit is configured to ring reception cloud clothes The image recognition result that business device returns.
In some embodiments, default interface is also used to that user is prompted to confirm starting camera function.
In some embodiments, device further include: local display unit is configured to the predeterminable area in display interface, The topography of displaying target image, wherein the central point of target image is less than or waits at a distance from the central point of predeterminable area In pre-determined distance threshold value;Unit as the result is shown is configured to the region other than predeterminable area, shows image recognition result.
In some embodiments, device further include: complete display unit is configured in response to detect to predeterminable area The first predetermined registration operation, show complete target image in display interface.
In some embodiments, device further include: search unit is configured in response to detect to display interface Two predetermined registration operations, sent to Cloud Server include image recognition result searching request so that Cloud Server is from image recognition knot Determine that keyword scans in fruit.
In some embodiments, display unit is further configured to: in response to detecting for starting the application of knowledge figure Start-up operation, determines whether wearable device is in network connection state;It is in network connection state in response to determining, display is pre- If interface.
In some embodiments, acquiring unit is further configured to: in response to detecting that the confirmation to preset icon is grasped Make, determines whether wearable device is in network connection state;It is in network connection state in response to determining, obtains target figure Picture.
In some embodiments, in the case where target image is the image of preset kind, image recognition result is default Sentence.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, comprising: one or more processors;Storage dress It sets, for storing one or more programs, when one or more programs are executed by one or more processors, so that one or more A processor is realized such as the method for any embodiment in the image-recognizing method of wearable device.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence is realized when the program is executed by processor such as the method for any embodiment in the image-recognizing method of wearable device.
Image recognition scheme provided by the embodiments of the present application for wearable device, firstly, obtaining comprising having marked mesh Target image.Later, the size based on the callout box where the target marked, determines subgraph from image, wherein institute At least one subgraph in the subgraph determined includes callout box, and the size of callout box and the ratio of picture size are less than pre- If proportion threshold value.Finally, up-sampling to subgraph, the sample image for training convolutional neural networks is obtained.The application The method that embodiment provides can confirm again whether user will start knowledge figure and apply to carry out figure by showing default interface As identification.In this way, even if user because the reasons such as maloperation have carried out start-up operation, will not directly initiate image recognition and unrestrained Take the hardware resource of wearable device, the problem of so as to avoid power wastage.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that this application can be applied to exemplary system architecture figures therein;
Fig. 2 a is according to the flow chart of one embodiment of the image-recognizing method for wearable device of the application, figure 2b is the schematic diagram that interface is preset in Fig. 2 a;
Fig. 3 is the schematic diagram according to an application scenarios of the image-recognizing method for wearable device of the application;
Fig. 4 is the flow chart according to another embodiment of the image-recognizing method for wearable device of the application;
Fig. 5 is the structural representation according to one embodiment of the pattern recognition device for wearable device of the application Figure;
Fig. 6 is adapted for the structural schematic diagram for the computer system for realizing the electronic equipment of the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the application for the information processing method of wearable device or for wearable device Information processing unit embodiment exemplary system architecture 100.
As shown in Figure 1, system architecture 100 may include wearable device 101, network 102 and server 103.Network 102 To provide the medium of communication link between wearable device 101 and server 103.Network 102 may include various connections Type, such as wired, wireless communication link or fiber optic cables etc..
User can be used wearable device 101 and be interacted by network 102 with server 103, to receive or send message Deng.Various telecommunication customer end applications can be installed, such as image recognition application, searching class are applied, i.e. on wearable device 101 When means of communication, mailbox client, social platform software etc..
Wearable device 101 can be the various wearable devices with display screen, including but not limited to smartwatch, intelligence Energy bracelet, intelligent glasses etc..
Server 103 can be to provide the server of various services, such as provide wearable device 101 backstage supported Server.Background server can carry out analyzing etc. to data such as the target images received processing, and by processing result (such as Image recognition result) feed back to wearable device.
It should be noted that for the information processing method of wearable device generally by can provided by the embodiment of the present application Wearable device 101 executes, and correspondingly, the information processing unit for wearable device is generally positioned in wearable device 101.
It should be understood that the number of wearable device, network and server in Fig. 1 is only schematical.According to realization It needs, can have any number of wearable device, network and server.
With continued reference to Fig. 2 a, an implementation of the image-recognizing method for wearable device according to the application is shown The process 200 of example.This is used for the image-recognizing method of wearable device, comprising the following steps:
Step 201, it in response to detecting the start-up operation for starting the application of knowledge figure, shows default interface, presets interface For prompting user to confirm starting image recognition.
In the present embodiment, it (such as shown in FIG. 1 is worn for the executing subject of the image-recognizing method of wearable device Wear equipment) default interface can be shown in response to detecting the start-up operation for starting the application of knowledge figure.Start-up operation can be For starting any operation for knowing figure application, for example, can be the knowledge figure application icon in the display interface to wearable device Clicking operation.Default interface is pre-set interface, and user carries out confirmation operation to wearable device, can make wearable Equipment starts image recognition.It may include pattern and/or text etc. on default interface.Confirmation operation can be to default boundary The various operations of the other positions of face or screen, are also possible to the pressing operation of entity button etc. to wearable device. After the start-up operation that user has carried out starting knowledge figure application, wearable device shows default interface, to confirm use again Whether family, which will start knowledge figure, is applied to carry out image recognition, rather than directly carries out image recognition.
In some optional implementations of the present embodiment, default interface is also used to that user is prompted to confirm to start function of taking pictures Energy.
In these optional implementations, above-mentioned default interface can prompt user images with display pattern or text etc. Identification needs to take pictures, and wearable device will start camera function.Here user can be by confirmation operation to starting camera function Confirmed, after detecting confirmation operation, above-mentioned executing subject can star camera function.It should be noted that here User confirms the confirmation operation of starting camera function, can be same operation with the confirmation operation of confirmation starting image recognition, It can be different operation.In the case where above-mentioned confirmation operation is same operation, user carries out confirmation operation, may be implemented While confirmation starting image recognition, confirmation starting camera function.As shown in Figure 2 b, default interface may include pattern, can also To include text " put me take pictures knowledge figure " to prompt user to take pictures during image recognition.User can point Default interface is hit, to confirm that wearable device can star image recognition, and starts camera function.
Image recognition usually requires to take pictures, and the camera of wearable device is often set to display screen side, so taking pictures User may be needed to adjust the direction of wearable device display screen, so that camera takes target object.User confirms starting Camera function can prompt user to need to take pictures, in this way, the direction of the adjustable wearable device of user is taken pictures to obtain To the photo of target object.
Step 202, in response to detecting confirmation operation, target image is uploaded to Cloud Server by acquisition target image, with Cloud Server is set to carry out image recognition.
In the present embodiment, above-mentioned executing subject detects confirmation operation, then can determine that user needs to start knowledge figure and answers To carry out image recognition.In turn, the available target image of above-mentioned executing subject, and target image is uploaded to cloud service Device.In this way, Cloud Server after receiving target image, can execute corresponding image recognition operations.Target image can be What camera was shot.
In general, wearable device is limited by volume and battery capacity etc., processing capacity is limited.By by target figure Image recognition is carried out as being uploaded to Cloud Server, it is possible to reduce the power consumption of wearable device utilizes the operational capability of Cloud Server Image recognition is carried out, to promote the efficiency of image recognition.
In some optional implementations of the present embodiment, wearable device includes camera;It is above-mentioned in response to detection To the confirmation operation to default interface, target image is obtained, may include:
In response to detecting confirmation operation, the interface of realtime graphic acquired in camera is shown;Detection is to display interface Specified operation, take pictures;Show pre-set image confirm icon, in response to detecting pre-set image confirmation operation, by really Fixed realtime graphic is as target image.
In these implementations, wearable device can show that camera is shot in response to detecting confirmation operation The realtime graphic arrived.User carries out specified operation, for example clicks or some icon of long-pressing display interface (such as camera figure Icon), to take pictures.Later, user operates pre-set image confirmation icon, i.e. progress pre-set image confirmation operation. For example, the icon of " √ " figure and the icon of "×" figure can be shown in display interface, " to hooking " figure therein Icon can be used as pre-set image confirmation icon.User clicks the icon of the figure " to hooking ", that is, confirms identified realtime graphic As target image.
Step 203, the image recognition result that Cloud Server returns is received.
In the present embodiment, above-mentioned executing subject can receive the image recognition that Cloud Server is returned based on target image As a result.For example, image recognition result may include text, such as the title etc. of the target image target that is included.Specifically Ground, image recognition result can be what Cloud Server was obtained by convolutional neural networks etc. to carry out the model of image recognition. In addition, image recognition result can also be obtained by the way that target image to be compared with the image in image library.By comparing, The image for being higher than similarity threshold with the similarity of target image can be determined in image library, and can be by the name of the image The information of title etc. is as image recognition result.
In some optional implementations of the present embodiment, in the case where target image is preset kind, image is known Other result is default sentence.
In these optional implementations, when target image is the image of preset kind, image recognition result is pre- If sentence.For example, if Cloud Server determines that target image is the image of violence type, the image recognition result of return can To be default sentence: " sorry, recognition result cannot be provided, changed a other ".
With continued reference to the application scenarios that Fig. 3, Fig. 3 are according to the image-recognizing method for wearable device of the present embodiment A schematic diagram.In the application scenarios of Fig. 3, executing subject 301 can be in response to detecting for starting the application of knowledge figure Start-up operation 302 shows default interface 303, and default interface is for prompting user to confirm starting image recognition;In response to detecting Confirmation operation obtains target image 304, target image 304 is uploaded to Cloud Server, so that Cloud Server carries out image knowledge Not;Receive the image recognition result 305 that Cloud Server returns.
The method provided by the above embodiment of the application can confirm whether user wants again by showing default interface Start knowledge figure to apply to carry out image recognition.In this way, even if user because the reasons such as maloperation have carried out start-up operation, will not It directly initiates image recognition and wastes the hardware resource of wearable device, the problem of so as to avoid power wastage.
With further reference to Fig. 4, it illustrates the streams of another embodiment of the image-recognizing method for wearable device Journey 400.This is used for the process 400 of the image-recognizing method of wearable device, comprising the following steps:
Step 401, it in response to detecting the start-up operation for starting the application of knowledge figure, shows default interface, presets interface For prompting user to confirm starting image recognition.
In the present embodiment, it (such as shown in FIG. 1 is worn for the executing subject of the image-recognizing method of wearable device Wear equipment) default interface can be shown in response to detecting the start-up operation for starting the application of knowledge figure.Start-up operation can be Any operation of figure application is known in starting.
Step 402, in response to detecting confirmation operation, target image is uploaded to Cloud Server by acquisition target image, with Cloud Server is set to carry out image recognition.
In the present embodiment, above-mentioned executing subject detects confirmation operation, then user to start really knowledge figure apply with into Row image recognition.In turn, the available target image of above-mentioned executing subject, and target image is uploaded to Cloud Server.In this way, Cloud Server is then able to carry out image recognition after receiving target image.
Step 403, the image recognition result that Cloud Server returns is received.
In the present embodiment, above-mentioned executing subject can receive the image recognition that Cloud Server is returned based on target image As a result.For example, image recognition result may include text, such as the title etc. of the target image target that is included.Specifically Ground, image recognition result can be what Cloud Server was obtained by convolutional neural networks etc. to carry out the model of image recognition.
Step 404, in the predeterminable area of display interface, the topography of displaying target image, wherein in target image Heart point is less than or equal to pre-determined distance threshold value at a distance from the central point of predeterminable area.
In the present embodiment, above-mentioned executing subject can be in the predeterminable area of display interface, the part of displaying target image Image.Predeterminable area can be in the display interface of wearable device, any area of the topography to displaying target image Domain.
The central point of target image is smaller at a distance from the central point of predeterminable area, in this way, shown in predeterminable area It is exactly the medium position of target image.Because the target to be identified in target image is typically exhibited in the middle position of target image It sets, rather than marginal position.So the central point of target image can ensure target default in the central area of predeterminable area It is more fully shown in region.Further, the central point of target image can be overlapped with the central point of predeterminable area.
In some optional implementations of the present embodiment, after above-mentioned steps 404, this method can also include:
In response to detecting the first predetermined registration operation to predeterminable area, complete target image is shown in display interface.
In these optional implementations, the first predetermined registration operation can be the operation such as cunning, downslide, click or long-pressing. In the case where predeterminable area shows topography, above-mentioned executing subject presets behaviour to the first of predeterminable area in response to detecting Make, can show complete target image.
In some optional implementations of the present embodiment, after above-mentioned steps 404, this method can also include:
In response to detecting the second predetermined registration operation to display interface, sending to Cloud Server includes image recognition result Searching request, so that Cloud Server determines that keyword is scanned for from image recognition result.Second predetermined registration operation can be The operation such as upper cunning, downslide, click or long-pressing.Here second predetermined registration operation and the first predetermined registration operation is different operation.
In these optional implementations, above-mentioned executing subject can send searching request, the search to Cloud Server Request includes image recognition result.In this way, Cloud Server can by image recognition result in whole or in part as keyword into Row search, for example the name of the target in image recognition result is referred to as keyword and is scanned for.Cloud Server can interconnect Net scans for, and can also scan for specified data library.
Step 405, the region other than predeterminable area shows image recognition result.
In the present embodiment, above-mentioned executing subject can be in above-mentioned display interface, region other than predeterminable area, display Image recognition result.It, can the topography of displaying target image and image recognition simultaneously in this way, in above-mentioned display interface As a result.
In the present embodiment, above-mentioned executing subject is by the central point of setting target image in the central area of predeterminable area It is interior, the target in displaying target image as completely as possible.It, can be in the same of display image recognition result in display interface When, clearly completely show the target that target image is included as far as possible in predeterminable area.
In some optional realizations of any of the above-described embodiment of the image-recognizing method for wearable device of the application In mode, the above-mentioned confirmation operation in response to detecting to preset icon obtains target image, comprising:
In response to detecting the confirmation operation to preset icon, determine whether wearable device is in network connection state; It is in network connection state in response to determining, obtains target image.
In these optional implementations, above-mentioned executing subject can be in response to detecting that the confirmation to preset icon is grasped Make, determines whether wearable device is in network connection state.It is available in the case where determining in network connection state Target image.Network connection state refers to contemporary wearable equipment and the network equipment (such as WLAN or cellular radio group Net mode etc.) between, the state that is connected by wired or wireless channel.Because wearable device is needed target image It is uploaded to Cloud Server, upload is just able to achieve so wearable device is needed to be in network connection state and then carries out image knowledge Not.It so may first determine whether in network connection state, to avoid process take pictures but because can not be with net Network connection leads to not carry out image upload and image recognition.
These implementations can determine whether wearable device is in network connection shape before obtaining target image State, to avoid can not be by target image upload server caused by failed cluster.Meanwhile these implementations avoid acquisition target Image becomes invalid and executes step.
In some optional realizations of any of the above-described embodiment of the image-recognizing method for wearable device of the application In mode, the above-mentioned start-up operation in response to detecting for starting the application of knowledge figure shows default interface, comprising:
In response to detecting the start-up operation for starting the application of knowledge figure, determine whether wearable device is in network connection State;It is in network connection state in response to determining, shows default interface.
In these optional implementations, above-mentioned executing subject can be in response to detecting for starting the application of knowledge figure Start-up operation, determines whether wearable device is in network connection state.In the case where determining in network connection state, show Show default interface.If wearable device is not in network connection state, show that default interface can not even if obtaining It realizes and uploads Cloud Server so that server carries out image recognition.
These implementations can determine whether wearable device is in network connection shape before showing default interface State, to avoid can not be by target image upload server caused by failed cluster.Meanwhile these implementations avoid display and preset Interface and acquisition target image etc. become invalid and execute step.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides one kind for wearable One embodiment of the pattern recognition device of equipment, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, the device It specifically can be applied in various electronic equipments.
As shown in figure 5, the pattern recognition device 500 for wearable device of the present embodiment include: display unit 501, Acquiring unit 502 and receiving unit 503.Wherein, display unit 501 are configured in response to detect and answer for starting knowledge figure Start-up operation shows default interface, and default interface is for prompting user to confirm starting image recognition;Acquiring unit 502, quilt It is configured to detect confirmation operation, obtains target image, target image is uploaded to Cloud Server, so that Cloud Server Carry out image recognition;Receiving unit 503 is configured to ring the image recognition result for receiving Cloud Server return.
In some embodiments, display unit 501 can in response to detect for start knowledge figure application start-up operation, Show default interface.Start-up operation can be any operation for starting the application of knowledge figure.
In some embodiments, acquiring unit 502 can determine that user needs to start knowledge figure and applies to carry out image recognition. In turn, the available target image of above-mentioned acquiring unit 502, and target image is uploaded to Cloud Server.In this way, Cloud Server After receiving target image, corresponding image recognition operations can be executed.
In some embodiments, receiving unit 503 can receive Cloud Server and be known based on the image that target image is returned Other result.For example, image recognition result may include text, such as the title etc. of the target image target that is included.Tool Body, image recognition result can be Cloud Server and be obtained by convolutional neural networks etc. to carry out the model of image recognition 's.
In some optional implementations of the present embodiment, default interface is also used to that user is prompted to confirm to start function of taking pictures Energy.
In some optional implementations of the present embodiment, device further include: local display unit is configured to aobvious Show the predeterminable area at interface, the topography of displaying target image, wherein the central point of target image and the center of predeterminable area The distance of point is less than or equal to pre-determined distance threshold value;Unit as the result is shown is configured to the region other than predeterminable area, display Image recognition result.
In some optional implementations of the present embodiment, device further include: complete display unit is configured to respond to In detecting the first predetermined registration operation to predeterminable area, complete target image is shown in display interface.
In some optional implementations of the present embodiment, device further include: search unit is configured in response to examine The second predetermined registration operation to display interface is measured, the searching request including image recognition result is sent to Cloud Server, so that cloud Server determines that keyword is scanned for from image recognition result.
In some optional implementations of the present embodiment, display unit is further configured to: in response to detecting For starting the start-up operation for knowing figure application, determine whether wearable device is in network connection state;It is in response to determination Network connection state shows default interface.
In some optional implementations of the present embodiment, acquiring unit is further configured to: in response to detecting To the confirmation operation of preset icon, determine whether wearable device is in network connection state;Connect in response to determining in network State is connect, target image is obtained.
In some optional implementations of the present embodiment, in the case where target image is the image of preset kind, Image recognition result is default sentence.
Below with reference to Fig. 6, it illustrates the computer systems 600 for the electronic equipment for being suitable for being used to realize the embodiment of the present application Structural schematic diagram.Electronic equipment shown in Fig. 6 is only an example, function to the embodiment of the present application and should not use model Shroud carrys out any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU and/or GPU) 601, it can be according to depositing Storage is loaded into random access storage device (RAM) 603 in the program in read-only memory (ROM) 602 or from storage section 608 Program and execute various movements appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various journeys Sequence and data.Central processing unit 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) Interface 605 is also connected to bus 604.
I/O interface 605 is connected to lower component: the importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.; And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereon Computer program be mounted into storage section 608 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communications portion 609, and/or from detachable media 611 are mounted.When the computer program is executed by central processing unit 601, limited in execution the present processes above-mentioned Function.It should be noted that the computer-readable medium of the application can be computer-readable signal media or computer can Read storage medium either the two any combination.Computer readable storage medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates The more specific example of machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, portable of one or more conducting wires Formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or The above-mentioned any appropriate combination of person.In this application, computer readable storage medium can be it is any include or storage program Tangible medium, which can be commanded execution system, device or device use or in connection.And in this Shen Please in, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable Any computer-readable medium other than storage medium, the computer-readable medium can send, propagate or transmit for by Instruction execution system, device or device use or program in connection.The journey for including on computer-readable medium Sequence code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet Include display unit, acquiring unit and receiving unit.Wherein, the title of these units is not constituted under certain conditions to the unit The restriction of itself, for example, display unit is also described as " in response to detecting that the starting for starting the application of knowledge figure is grasped Make, show the unit at default interface ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be Included in device described in above-described embodiment;It is also possible to individualism, and without in the supplying device.Above-mentioned calculating Machine readable medium carries one or more program, when said one or multiple programs are executed by the device, so that should Device: in response to detecting the start-up operation for starting the application of knowledge figure, default interface is shown, default interface is for prompting user Confirmation starting image recognition;In response to detecting confirmation operation, target image is uploaded to Cloud Server by acquisition target image, So that Cloud Server carries out image recognition;Receive the image recognition result that Cloud Server returns.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (18)

1. a kind of image-recognizing method for wearable device, comprising:
In response to detecting the start-up operation for starting the application of knowledge figure, default interface is shown, the default interface is for prompting User confirms starting image recognition;
In response to detecting confirmation operation, target image is obtained, the target image is uploaded to Cloud Server, so that the cloud Server carries out image recognition;
Receive the image recognition result that the Cloud Server returns.
2. according to the method described in claim 1, wherein, the default interface is also used to that user is prompted to confirm to start function of taking pictures Energy.
3. according to the method described in claim 1, wherein, it is described receive image recognition result that the Cloud Server returns it Afterwards, the method also includes:
In the predeterminable area of display interface, the topography of the target image is shown, wherein the central point of the target image With at a distance from the central point of the predeterminable area be less than or equal to pre-determined distance threshold value;
Region other than the predeterminable area shows described image recognition result.
4. according to the method described in claim 3, wherein, the method also includes:
In response to detecting the first predetermined registration operation to the predeterminable area, the complete target is shown in the display interface Image.
5. according to the method described in claim 3, wherein, the method also includes:
In response to detecting the second predetermined registration operation to the display interface, sending to Cloud Server includes image recognition result Searching request, so that Cloud Server determines that keyword scans for from described image recognition result.
6. described in response to detecting that the starting for starting the application of knowledge figure is grasped according to the method described in claim 1, wherein Make, show default interface, comprising:
In response to detecting the start-up operation for starting the application of knowledge figure, determine whether the wearable device is in network connection State;
It is in network connection state in response to determining, shows the default interface.
7. according to the method described in claim 1, wherein, in response to detecting the confirmation operation to the preset icon, Obtain target image, comprising:
In response to detecting the confirmation operation to the preset icon, determine whether the wearable device is in network company Connect state;
It is in network connection state in response to determining, obtains target image.
8. according to the method described in claim 1, wherein, in the case where the target image is the image of preset kind, institute Stating image recognition result is default sentence.
9. a kind of pattern recognition device for wearable device, comprising:
Display unit is configured in response to detect the start-up operation for starting the application of knowledge figure, shows default interface, described Default interface is for prompting user to confirm starting image recognition;
Acquiring unit is configured in response to detect confirmation operation, obtains target image, the target image is uploaded to cloud Server, so that the Cloud Server carries out image recognition;
Receiving unit is configured to ring the image recognition result for receiving the Cloud Server return.
10. device according to claim 9, wherein the default interface is also used to that user is prompted to confirm to start function of taking pictures Energy.
11. device according to claim 9, wherein described device further include:
Local display unit is configured to the predeterminable area in display interface, shows the topography of the target image, In, the central point of the target image is less than or equal to pre-determined distance threshold value at a distance from the central point of the predeterminable area;
Unit as the result is shown is configured to the region other than the predeterminable area, shows described image recognition result.
12. device according to claim 11, wherein described device further include:
Complete display unit is configured in response to detect the first predetermined registration operation to the predeterminable area, in the display The complete target image of interface display.
13. device according to claim 11, wherein described device further include:
Search unit is configured in response to detect the second predetermined registration operation to the display interface, sends to Cloud Server Searching request including image recognition result, so that Cloud Server determines that keyword is searched from described image recognition result Rope.
14. device according to claim 9, wherein the display unit is further configured to:
In response to detecting the start-up operation for starting the application of knowledge figure, determine whether the wearable device is in network connection State;
It is in network connection state in response to determining, shows the default interface.
15. device according to claim 9, wherein the acquiring unit is further configured to:
In response to detecting the confirmation operation to the preset icon, determine whether the wearable device is in network company Connect state;
It is in network connection state in response to determining, obtains target image.
16. device according to claim 9, wherein in the case where the target image is the image of preset kind, institute Stating image recognition result is default sentence.
17. a kind of wearable device, comprising:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as method described in any one of claims 1-8.
18. a kind of computer readable storage medium, is stored thereon with computer program, wherein when the program is executed by processor Realize such as method described in any one of claims 1-8.
CN201811033421.9A 2018-09-05 2018-09-05 Image-recognizing method and device for wearable device Pending CN109255325A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811033421.9A CN109255325A (en) 2018-09-05 2018-09-05 Image-recognizing method and device for wearable device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811033421.9A CN109255325A (en) 2018-09-05 2018-09-05 Image-recognizing method and device for wearable device

Publications (1)

Publication Number Publication Date
CN109255325A true CN109255325A (en) 2019-01-22

Family

ID=65047257

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811033421.9A Pending CN109255325A (en) 2018-09-05 2018-09-05 Image-recognizing method and device for wearable device

Country Status (1)

Country Link
CN (1) CN109255325A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022241914A1 (en) * 2021-05-20 2022-11-24 东莞市小精灵教育软件有限公司 Image processing method and system, wearable device and accessory thereof, and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461004A (en) * 2014-12-12 2015-03-25 北京奇虎科技有限公司 Wearable intelligent equipment
CN104484037A (en) * 2014-12-12 2015-04-01 三星电子(中国)研发中心 Method for intelligent control by virtue of wearable device and wearable device
CN104871197A (en) * 2012-12-21 2015-08-26 Sca卫生用品公司 System and method for assisting in locating and choosing desired item in storage location
CN105095919A (en) * 2015-09-08 2015-11-25 北京百度网讯科技有限公司 Image recognition method and image recognition device
CN106777071A (en) * 2016-12-12 2017-05-31 北京奇虎科技有限公司 The method and apparatus that a kind of image recognition obtains reference information
CN106896767A (en) * 2017-03-11 2017-06-27 王伟 One kind can Xie Dai formulas robot
CN206440890U (en) * 2016-12-14 2017-08-25 无锡云瞳信息科技有限公司 Wearable Split intelligent glasses
CN108090126A (en) * 2017-11-14 2018-05-29 维沃移动通信有限公司 Image processing method, device and mobile terminal, image-recognizing method and server

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104871197A (en) * 2012-12-21 2015-08-26 Sca卫生用品公司 System and method for assisting in locating and choosing desired item in storage location
CN104461004A (en) * 2014-12-12 2015-03-25 北京奇虎科技有限公司 Wearable intelligent equipment
CN104484037A (en) * 2014-12-12 2015-04-01 三星电子(中国)研发中心 Method for intelligent control by virtue of wearable device and wearable device
CN105095919A (en) * 2015-09-08 2015-11-25 北京百度网讯科技有限公司 Image recognition method and image recognition device
CN106777071A (en) * 2016-12-12 2017-05-31 北京奇虎科技有限公司 The method and apparatus that a kind of image recognition obtains reference information
CN206440890U (en) * 2016-12-14 2017-08-25 无锡云瞳信息科技有限公司 Wearable Split intelligent glasses
CN106896767A (en) * 2017-03-11 2017-06-27 王伟 One kind can Xie Dai formulas robot
CN108090126A (en) * 2017-11-14 2018-05-29 维沃移动通信有限公司 Image processing method, device and mobile terminal, image-recognizing method and server

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022241914A1 (en) * 2021-05-20 2022-11-24 东莞市小精灵教育软件有限公司 Image processing method and system, wearable device and accessory thereof, and storage medium

Similar Documents

Publication Publication Date Title
CN109099903B (en) Method and apparatus for generating navigation routine
CN109308681A (en) Image processing method and device
CN108595628A (en) Method and apparatus for pushed information
CN109344752A (en) Method and apparatus for handling mouth image
CN109308490A (en) Method and apparatus for generating information
CN109255337A (en) Face critical point detection method and apparatus
CN108629823A (en) The generation method and device of multi-view image
CN108769905A (en) Method and device for the classification for determining wireless access point
CN108932147A (en) Method and apparatus for switching boarding application
CN109992732A (en) Information sharing method, device, electronic equipment and storage medium
CN107295607A (en) Method and apparatus for connecting WAP
CN109272050B (en) Image processing method and device
CN109377508A (en) Image processing method and device
CN109242801A (en) Image processing method and device
CN109582873A (en) Method and apparatus for pushed information
CN109446442A (en) Method and apparatus for handling information
CN109255814A (en) Method and apparatus for handling image
CN108960110A (en) Method and apparatus for generating information
CN110536075A (en) Video generation method and device
CN109118456A (en) Image processing method and device
CN112346751A (en) Application program installation method and device, electronic equipment and storage medium
CN109614549B (en) Method and apparatus for pushed information
CN107818323A (en) Method and apparatus for handling image
CN109597912A (en) Method for handling picture
CN109446379A (en) Method and apparatus for handling information

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: 20190122

RJ01 Rejection of invention patent application after publication