Item information identification method, device, electronic device and readable storage medium
The camera of the electronic terminal collects image data to identify item information, solves the problem of inefficiency caused by the reliance on manpower in the prior art of item information identification, and achieves rapid identification and efficient item information matching.
Patent Information
- Application Number
- CN202011198198.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-30
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2041-01-03
AI Technical Summary
In the prior art, item information identification relies on manpower, resulting in low recognition efficiency and prone to errors.
Image data is collected through the camera of the electronic terminal, and the target item prompt information matching the item information is identified and output, and the image data is used to quickly identify items, saving manpower and improving efficiency.
It realizes rapid identification of item information, improves identification efficiency, and is easy to operate, and solves the problem of low identification efficiency caused by relying on manpower.
Smart Images

Figure CN112287850B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of information identification technology, and specifically relates to an object information identification method, device, electronic device and readable storage medium. Background Art
[0002] With the development of society, modern life is filled with too much information that needs to be identified and queried. For example, in life, when users shop online, if they encounter many packages piled together during the process of signing for the package, it will be difficult to find the corresponding package based on the user's own item information, which takes a long time and the user's package signing experience is poor.
[0003] In the process of implementing this application, the inventors found that there are at least the following problems in the prior art:
[0004] In the prior art, it takes time to query and match the item label or express note on the package according to the recipient information when placing an online order. The item information identification method in the prior art can only be achieved by manpower and time, and there is even a possibility of finding the wrong item. The efficiency of searching and identifying item information in the prior art is low. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide an object information identification method, device, electronic device and readable storage medium, which can solve the problem that the prior art can only rely on human labor to identify object information, resulting in low identification efficiency.
[0006] In order to solve the above technical problems, this application is implemented as follows:
[0007] In a first aspect, an embodiment of the present application provides a method for identifying object information, the method comprising: receiving a first input of object information data; in response to the first input, turning on a camera of an electronic terminal to collect image data; and when a target object matching the object information data is identified in the image data, outputting prompt information corresponding to the target object.
[0008] In a second aspect, an embodiment of the present application provides an object information identification device, the device comprising: a receiving unit, for receiving a first input of object information data; a control unit, for turning on a camera of an electronic terminal to collect image data in response to the first input; and a display unit, for outputting prompt information corresponding to the target object when a target object matching the object information data is identified in the image data.
[0009] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the object information identification method as described in the first aspect.
[0010] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the object information identification method as described in the first aspect are implemented.
[0011] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the object information identification method as described in the first aspect.
[0012] In the embodiment of the present application, a first input of item information data is received; in response to the first input, the camera of the electronic terminal is turned on to collect image data; when a target item matching the item information data is identified in the image data, prompt information of the target item is output. Rapid identification of the target item through the image data collected by the electronic terminal saves manpower and improves the efficiency of item identification. Moreover, the operation is simple. This solves the problem of low identification efficiency caused by relying on manpower to identify item information in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 is a schematic diagram of a hardware environment of an optional method for identifying object information in an embodiment of the present application;
[0014] Figure 2 It is a flowchart of an optional method for identifying item information in an embodiment of the present application;
[0015] Figure 3 is an optional first input interaction schematic diagram in an embodiment of the present application;
[0016] Figure 4 is a schematic diagram of an optional object to be identified in an embodiment of the present application;
[0017] Figure 5 It is a schematic diagram of the structure of an optional device for identifying item information in an embodiment of the present application;
[0018] Figure 6 It is a schematic diagram of the structure of an optional electronic device in an embodiment of the present application. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0020] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here. In addition, the "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated with each other are in an "or" relationship.
[0021] The object information identification method provided by the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0022] According to one aspect of an embodiment of the present invention, a method for identifying item information is provided. Optionally, as an optional implementation, the above-mentioned method for identifying item information can be but is not limited to being applied to: Figure 1 In the environment shown, Figure 1 FIG. 1 is a schematic diagram of the hardware environment of the object information identification method according to an embodiment of the present invention. Figure 1 As shown, the electronic terminal 10 includes an input component 100 , an image acquisition component 200 , a processor 300 and a display component 400 .
[0023] In this embodiment, the display component 400 in the electronic terminal displays the object information data of the target object or displays the target object, and the input component 100 receives a first input of the object information data; in response to the first input, the electronic terminal turns on the image acquisition component 200 to acquire image data, and displays the image data in the display component 400; the processor 300 identifies at least one object to be identified in the image data according to the object information data; in the case where a target object matching the object information data is identified in the image data, the display component 400 highlights the target object, wherein the object information of the target object matches the object information data. In this embodiment, the rapid identification of the target object by the image data of the electronic terminal saves manpower and improves the efficiency of identifying objects based on the object information data.
[0024] In this embodiment, the terminal system of the electronic terminal includes but is not limited to Android system, iOS system, Linux system, etc. In this embodiment, no limitation is imposed on the terminal system of the electronic terminal.
[0025] According to an embodiment of the present application, a method for identifying object information is proposed. Figure 2 As shown, the method may specifically include the following steps:
[0026] S202, receiving a first input of item information data;
[0027] S204, in response to the first input, starting the camera of the electronic terminal to collect image data;
[0028] S206: When a target object matching the object information data is identified in the image data, prompt information corresponding to the target object is output.
[0029] In this embodiment, the first input includes but is not limited to an information recognition instruction, which acts on the central processor of the electronic terminal and is used to instruct the electronic terminal to start a preset application or a preset business function to query the target item corresponding to the item information data. The first input is generated according to the item information data, for example, the item information data is included in the information recognition instruction.
[0030] Specifically, the item information data includes but is not limited to image type data, text type data, etc. Text type data includes the recipient's name, phone number and address in the order information, and image type data includes the image, barcode and QR code of the target item.
[0031] In this embodiment, in response to the first input, the electronic terminal is controlled to start the camera of the electronic terminal to collect image data, and the image data can specifically be an image or video of the object to be identified, and the image or video of the object to be identified is identified through the object information data. Specifically, the video frame in the image or video of the object to be identified is extracted and matched with the object information data. The image data includes at least one object to be identified, and the image data is displayed on the display screen of the electronic terminal.
[0032] In a specific application scenario, in the process of identifying at least one object to be identified in the image data according to the object information data, the specific object information identification method is different due to the different data types of the object information data. For example, when the object information data is text information, the text information at the preset position of the object to be identified is matched according to the text information. In addition, the appearance of the target object can be determined according to the text information, and then the appearance of the object to be identified is identified based on the text information. When the object information data is an object image, the appearance of the object to be identified is identified and matched according to the object image. Alternatively, the corresponding text information is obtained according to the object image, and then the text information at the preset position of the object to be identified is matched based on the text information corresponding to the object image. In this embodiment, there is no limitation on the identification method of the object to be identified.
[0033] Next, when a target object matching the object information data is identified in the image data, prompt information corresponding to the target object is output. The prompt information includes but is not limited to highlighting the target object on the display screen of the electronic terminal, such as highlighting the outline or overall appearance of the target object and displaying it on the display screen of the electronic terminal. In addition, the prompt information also includes but is not limited to voice prompt information. When a target object matching the object information data is identified, voice prompt information is output through the sound playing component of the electronic terminal to prompt the location or location coordinates of the target object.
[0034] It should be noted that, in this embodiment, a first input of item information data is received; in response to the first input, the camera of the electronic terminal is turned on to collect image data; when a target item matching the item information data is identified in the image data, prompt information corresponding to the target item is output. Rapid identification of the target item by the image data of the electronic terminal saves manpower and improves the efficiency of item identification. This solves the problem of low identification efficiency caused by relying on manpower to identify item information in the prior art.
[0035] Optionally, in this embodiment, receiving the first input of the item information data includes but is not limited to: displaying the target item on the graphical user interface of the electronic terminal and receiving a first selection operation acting on the target item; in response to the first selection operation, obtaining the item information data corresponding to the target item; generating the first input according to the item information data, wherein the first input includes the item information data.
[0036] It should be noted that the target item here is an item that needs to be queried and identified according to the item information data. Specifically, multiple items are displayed on the graphical user interface of the electronic terminal, and the target item selected by the user is determined by receiving a first selection operation. In response to the first selection operation, the item information data corresponding to the target item is obtained, that is, the item information data corresponding to the target item is obtained by obtaining the text information or item image of the target item, and then the first input is generated according to the text information or the item image.
[0037] In actual application scenarios, the first input includes but is not limited to text information or object images in an album imported through an import virtual key, and may also be obtained by dragging the selected text information or object image into a preset window.
[0038] Specifically, in this embodiment, the first selection operation includes but is not limited to a selection operation on the target item and the item information data in the target item, such as a selection operation on text information or an item image, and can also be text information or an item image input through a preset application. In response to the first selection operation, a first input is generated according to the text information or item image selected or input by the first selection operation to perform item information recognition.
[0039] In an example, Figure 3 In the schematic diagram of the first selection operation shown, in the preset application in the graphical user interface 30 of the electronic terminal, the item information in the order information is obtained, the item information is selected to generate the item information control 302 corresponding to the item information, and the item information control 302 is dragged to the preset window 304, and the operation corresponding to the first selection operation is performed, triggering the preset application of the electronic terminal to enter the item recognition mode. In addition, in the case of an item image of the item information data, the first selection operation is to generate an item image control by selecting the item image, and drag the image control to the preset window.
[0040] Specifically, taking the electronic terminal as a mobile phone as an example, by enabling the rear camera of the mobile phone, because scanning object information with the rear camera is more in line with user operating habits, if the mobile phone turns on the front camera by default, the front camera is switched to the rear camera through a preset operation, and after turning on the rear camera, the image of the object is captured through the rear camera of the mobile phone to obtain the key information of the object.
[0041] Through the above embodiment, a first selection operation acting on a target item is received, and then item information data of the target item is acquired, and a first input is generated according to the item information data to start item identification based on the item information data.
[0042] Optionally, in this embodiment, generating the first input according to the item information data includes but is not limited to: determining a data type of the item information data; and determining a data identification method corresponding to the item information data according to the data type.
[0043] Specifically, due to the different data types of the item information data, the specific item information recognition methods are also different, and the corresponding data recognition method is determined according to the item information data type in the first input. For example, when the item information data is text information, the text information at the preset position of the item to be recognized is matched according to the text information. In addition, the appearance of the target item can be determined according to the text information, and then the appearance of the item to be recognized is recognized based on the text information. When the item information data is an item image, the appearance of the item to be recognized is recognized and matched according to the item image. Alternatively, the corresponding text information is obtained according to the item image, and then the text information at the preset position of the item to be recognized is matched based on the text information corresponding to the item image. In this embodiment, there is no limitation on the recognition method of the item to be recognized.
[0044] Optionally, in this embodiment, obtaining item information data corresponding to the target item includes but is not limited to: obtaining text information corresponding to the target item; and generating item information data corresponding to the text information.
[0045] In one example, the order information corresponding to the target item is determined, and the text information corresponding to the order information is obtained. The text information corresponding to the order information includes but is not limited to the item name, order number, logistics number, and recipient information. Figure 3 As shown, the order information 302 of the target item is selected in the interface 30 of the preset application of the electronic terminal to obtain the recipient's name, contact information and receiving address in the recipient information, and the recipient information is determined as item information data in the preset application.
[0046] Through the above embodiment, by acquiring the text information of the target object and generating the object information data corresponding to the text information, the identification method of the target object is determined, thereby realizing the rapid identification of the target object corresponding to the text information.
[0047] Optionally, in this embodiment, obtaining the item information data corresponding to the target item includes but is not limited to: obtaining an item image corresponding to the item to be queried; and determining the item information data corresponding to the item image.
[0048] In some application scenarios, for example, an image of a courier slip corresponding to the item to be queried is obtained, and the recipient information is obtained by identifying the courier slip image, and the recipient information is determined to be the item information data. In another example, the item image corresponding to the item to be queried is directly used as the item information data, for example, a barcode on the courier slip image is obtained, and the barcode is used as the item information data.
[0049] Through the above-mentioned embodiment, the object information data is determined according to the object image corresponding to the object to be queried, so that the object to be queried can be identified according to the object image, thereby saving human resources.
[0050] Optionally, in this embodiment, determining the item information data corresponding to the item image includes but is not limited to: generating the item information data according to the item image; or, acquiring text information corresponding to the item image; and generating the item information data according to the text information.
[0051] Specifically, on the one hand, item information data can be generated based on the item image. The item information data is an image data type, and the item information data includes appearance information such as the shape, color, outline, and image features of the item image. On the other hand, the item image is recognized to obtain the corresponding item information. For example, if the item image is a courier image, the item information obtained by recognizing the courier image includes text information such as recipient information, and the recipient information can be used to quickly identify the target item.
[0052] Through the above embodiments, by directly generating object information data of the image data type based on the object image, or obtaining corresponding text information based on the object image and generating object information data based on the text information, the target object can be flexibly identified based on the image data to improve the efficiency of object information recognition.
[0053] Optionally, in this embodiment, after the camera of the electronic terminal is turned on to collect image data in response to the first input, the process further includes but is not limited to: matching at least one object to be identified in the image data according to the object information data.
[0054] Specifically, the electronic terminal is controlled to turn on the camera of the electronic terminal to collect image data. The image data can specifically be an image or video of the object to be identified. Image recognition is performed on the image or video of the object to be identified through the object information data. The object information of the object to be identified in the image data is obtained through image recognition, and then the object information of the object to be identified and the item information data are matched.
[0055] Through the above embodiments, at least one object to be identified in the image data is matched according to the object information data to replace the traditional human identification, which saves human resources and improves the efficiency of object identification.
[0056] Optionally, in this embodiment, matching at least one to-be-identified object in the image data according to the object information data includes but is not limited to: when the image data is an image to be identified, obtaining first object information corresponding to each to-be-identified object in the image to be identified; matching each first object information according to the object information data.
[0057] Specifically, in this embodiment, the object information recognition process is to collect the image of the object to be recognized by the electronic terminal, perform image recognition on the object to be recognized to obtain the first object information corresponding to each object to be recognized, and then match the first object information according to the object information data. Figure 4 As shown, by photographing the objects to be identified, multiple images to be identified in the corresponding preset application interface 40 are obtained, and the first object information of the objects A to be identified, the object B to be identified, and the object C to be identified in the images to be identified is obtained, and then the first object information is matched based on the object information data in the information recognition instruction, and the object C to be identified is obtained as the target object, and the object C to be identified is highlighted.
[0058] Through the above embodiment, the image to be identified is identified to obtain the first item information corresponding to each item to be identified; each first item information is matched according to the item information data, thereby realizing rapid identification of the item to be identified based on the image to be identified collected by the electronic terminal, saving human resources.
[0059] Optionally, in this embodiment, matching at least one to-be-identified object in the image data according to the object information data includes but is not limited to: when the image data is a video to be identified, obtaining video frames corresponding to each to-be-identified object in the video to be identified, wherein the clarity of the to-be-identified object in the video frame corresponding to the to-be-identified object is greater than a preset threshold; obtaining second object information corresponding to each video frame; and matching each second object information according to the object information data.
[0060] Specifically, in the above example, the target object is determined by collecting multiple images of the objects to be identified and performing image recognition on the images to be identified. In this embodiment, the video of the objects to be identified is collected in real time on the image acquisition preview interface of the electronic terminal, for example, the objects to be identified are identified in real time on the camera preview interface of the mobile phone. The video frames corresponding to each object to be identified in the video to be identified are obtained, and the second object information corresponding to each video frame is obtained. In the process of identifying the second object information of the object to be identified, the video frame whose clarity of the object to be identified is greater than the preset threshold is selected.
[0061] As a preferred technical solution, in this embodiment, when the clarity of the object to be identified is less than or equal to a preset threshold, a movement prompt message is displayed on the image acquisition preview interface of the electronic terminal to prompt the user to move or adjust the image acquisition angle or image acquisition distance of the electronic terminal.
[0062] Through the above embodiment, the video frame of the video to be identified is identified to obtain the second object information corresponding to each object to be identified in the video frame; each second object information is matched according to the object information data, thereby realizing rapid identification of the object to be identified based on the video to be identified collected by the electronic terminal, saving human resources.
[0063] Optionally, in this embodiment, after matching at least one to-be-identified object in the image data according to the object information data, it also includes but is not limited to: setting a timer of a preset duration; when the timer times out, outputting a failure prompt, wherein the failure prompt is used to indicate that the object information recognition has failed; or, when there is no object information that matches the object information data, outputting a failure prompt.
[0064] Specifically, in this embodiment, after the image acquisition device of the electronic terminal, such as a camera, is started to acquire image data, a timer is set for item information recognition. When the timer times out, it is considered that the item information recognition has failed, and a failure prompt is displayed on the display screen of the electronic terminal. In addition, when there is no item information matching the item information data, a failure prompt is displayed on the display screen of the electronic terminal.
[0065] This avoids the long time required to identify item information due to errors in the electronic terminal system, thereby improving the user experience.
[0066] Through the embodiment of the present application, a first input of item information data is received; in response to the first input, the camera of the electronic terminal is turned on to collect image data; when a target item matching the item information data is identified in the image data, prompt information corresponding to the target item is output. Rapid identification of the target item by the image data of the electronic terminal saves manpower and improves the efficiency of identifying items based on item information data. This solves the problem of low recognition efficiency caused by relying on manpower to identify item information in the prior art.
[0067] It should be noted that the object information identification method provided in the embodiment of the present application can be executed by an object information identification device, or a control module in the object information identification device for executing the loaded object information identification method. In the embodiment of the present application, the object information identification method provided in the embodiment of the present application is described by taking the object information identification device executing the loaded object information identification method as an example.
[0068] According to another aspect of the embodiment of the present application, an object information identification device is provided, such as Figure 5 As shown, the item information identification device may specifically include:
[0069] 1) A receiving unit 50, configured to receive a first input of item information data;
[0070] 2) a control unit 52, configured to, in response to the first input, enable a camera of the electronic terminal to collect image data;
[0071] 3) A display unit 54 is used to output prompt information corresponding to the target object when a target object matching the object information data is identified in the image data.
[0072] The item information identification device in the embodiment of the present application can be a specific device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0073] The object information identification device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0074] The object information identification device provided in the embodiment of the present application can achieve Figures 1 to 4 In order to avoid repetition, the various processes of implementing the object information identification method in the method embodiment are not repeated here.
[0075] The object information identification device provided by this embodiment receives a first input of the object information data; in response to the first input, the camera of the electronic terminal is turned on to collect image data; when a target object matching the object information data is identified in the image data, prompt information corresponding to the target object is output. The rapid identification of the target object by the image data of the electronic terminal saves manpower and improves the efficiency of identifying the object based on the object information data. This solves the problem of low recognition efficiency caused by relying on manpower to identify object information in the prior art.
[0076] According to another aspect of an embodiment of the present application, an electronic device is proposed, including a processor 610, a memory 609, and a program or instruction stored in the memory 609 and executable on the processor 610. When the program or instruction is executed by the processor 610, each process of the method embodiment of the above-mentioned image calibration method is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0077] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0078] Figure 6 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0079] The electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, and a processor 610.
[0080] Those skilled in the art will appreciate that the electronic device 600 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 610 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 6 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0081] An input unit 604, for receiving a first input of item information data;
[0082] The sensor 605 is used to activate the camera of the electronic terminal to collect image data in response to the first input;
[0083] The display unit 606 is configured to output prompt information corresponding to a target object when a target object matching the object information data is identified in the image data.
[0084] It should be understood that in the embodiment of the present application, the input unit 604 may include a graphics processor (GPU) 6041 and a microphone 6042, and the graphics processor 6041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 607 includes a touch panel 6071 and other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include two parts: a touch detection device and a touch controller. Other input devices 6072 may include but are not limited to a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 609 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 610 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, the user interface, and the application program, and the modem processor mainly processes wireless communication. It is understandable that the above-mentioned modem processor may not be integrated into the processor 610.
[0085] Through the electronic device proposed in this embodiment, a first input of item information data is received; in response to the first input, the camera of the electronic terminal is turned on to collect image data; when a target item matching the item information data is identified in the image data, prompt information corresponding to the target item is output. Rapid identification of the target item through the image data of the electronic terminal saves manpower and improves the efficiency of identifying items based on item information data. This solves the problem of low recognition efficiency caused by relying on manpower to identify item information in the prior art.
[0086] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the method embodiment of the above-mentioned object information identification method is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0087] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0088] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the method embodiment of the above-mentioned object information identification method, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0089] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0090] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0091] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0092] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A method for identifying object information, characterized in that: The method comprises: receiving a first input of item information data; In response to the first input, turning on a camera of the electronic terminal to collect image data; When a target object matching the object information data is identified in the image data, outputting prompt information corresponding to the target object; After the step of starting the camera of the electronic terminal to collect image data in response to the first input, the method further includes: Matching at least one object to be identified in the image data according to the object information data; The matching of at least one to-be-identified object in the image data according to the object information data comprises: In the case where the image data is a video to be identified, obtaining video frames corresponding to each object to be identified in the video to be identified, wherein the clarity of the object to be identified in the video frame corresponding to the object to be identified is greater than a preset threshold; Obtaining second object information corresponding to each video frame; matching each of the second item information according to the item information data; The method further comprises: When the clarity of the object to be identified is less than or equal to a preset threshold, a moving prompt message is displayed on the image acquisition preview interface of the electronic terminal to prompt the user to move or adjust the image acquisition angle or image acquisition distance of the electronic terminal; The receiving a first input of item information data comprises: Displaying the target object on a graphical user interface of the electronic terminal, and receiving a first selection operation acting on the target object; In response to the first selection operation, acquiring the item information data corresponding to the target item; generating the first input according to the item information data, wherein the first input includes item information data; The acquiring the item information data corresponding to the target item includes: Obtaining text information corresponding to the target item; generating item information data corresponding to the text information; The text information corresponding to the target object is used to match the text information of the preset position of the target object.
2. The method according to claim 1, characterized in that: The generating the first input according to the item information data comprises: Determine the data type of the item information data; A data identification method corresponding to the item information data is determined according to the data type.
3. The method according to claim 1, characterized in that The acquiring the item information data corresponding to the target item includes: Obtain the object image corresponding to the object to be queried; Item information data corresponding to the item image is determined.
4. The method according to claim 1, characterized in that: The matching of at least one to-be-identified object in the image data according to the object information data comprises: In the case where the image data is an image to be identified, obtaining first object information corresponding to each object to be identified in the image to be identified; Each of the first item information is matched according to the item information data.
5. The method according to claim 1, characterized in that After matching at least one to-be-identified object in the image data according to the object information data, the method further includes: Setting a timer of a preset duration; outputting a failure prompt when the timer times out, wherein the failure prompt is used to indicate that the item information recognition fails; or, In the case that there is no item information matching the item information data, the failure prompt is output.
6. An object information recognition device, characterized in that: The device comprises: A receiving unit, configured to receive a first input of item information data; the first input comprises dragging the item information data into a preset window; A control unit, configured to, in response to the first input, enable a camera of the electronic terminal to collect image data; A display unit, configured to output prompt information corresponding to the target object when a target object matching the object information data is identified in the image data; The device is further used to match at least one to-be-identified object in the image data according to the object information data; The matching of at least one to-be-identified object in the image data according to the object information data comprises: In the case where the image data is a video to be identified, obtaining video frames corresponding to each object to be identified in the video to be identified, wherein the clarity of the object to be identified in the video frame corresponding to the object to be identified is greater than a preset threshold; Obtaining second object information corresponding to each video frame; matching each of the second item information according to the item information data; The device is further configured to display a moving prompt message on the image acquisition preview interface of the electronic terminal when the clarity of the object to be identified is less than or equal to a preset threshold value, so as to prompt the user to move or adjust the image acquisition angle or image acquisition distance of the electronic terminal; The receiving a first input of item information data comprises: Displaying the target object on a graphical user interface of the electronic terminal, and receiving a first selection operation acting on the target object; In response to the first selection operation, acquiring the item information data corresponding to the target item; generating the first input according to the item information data, wherein the first input includes item information data; The acquiring the item information data corresponding to the target item includes: Obtaining text information corresponding to the target item; generating item information data corresponding to the text information; The text information corresponding to the target object is used to match the text information of the preset position of the target object.
