Method, device and electronic device for identifying target object in intelligent terminal

By identifying the target object in the smart terminal and displaying special effects animations, the problem of single function of the image acquisition device is solved, and the user experience and functional diversity are improved.

CN111383305BActive Publication Date: 2024-12-27BEIJING QIHOOD TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201811613143.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-12-27
Publication Date
2024-12-27
Estimated Expiration
2038-12-27

AI Technical Summary

Technical Problem

The image acquisition device of the smart terminal has a single function and a poor user experience, so it cannot effectively utilize its scanning function.

Method used

By realizing the recognition method of the target object in the intelligent terminal, the preview image is obtained using the image acquisition device to determine whether it has specific features, and display special effects animations based on the features, including using the object detection model to extract the attribute features of the target object and the preset feature library to match the attribute features of the target object with the preset feature library , if the matching degree exceeds the threshold, the special effects animation will be displayed and the special effects animations are allowed to be customized and stored.

Benefits of technology

Converting the real target objects into virtual special effects animations improves the user experience, increases functional diversity and user interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111383305B_ABST
    Figure CN111383305B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, electronic device and computer-readable storage medium for identifying a target object in a smart terminal, and relates to the field of image processing. The method comprises: when the smart terminal receives a control instruction to enter a scanning mode, the image acquisition device of the smart terminal is controlled to start and enter the scanning mode, and then a preview image containing the target object is obtained through the image acquisition device, and it is determined whether the preview image has specific features, and if so, the corresponding special effects animation is displayed based on the specific features. Through the above method, the real target object can be converted into a virtual special effects animation, which improves the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image processing technology. Specifically, the present application relates to a method, device, electronic device and computer-readable storage medium for identifying a target object in a smart terminal. Background Art

[0002] With the advancement of technology, the hardware performance of smart terminals is becoming more and more powerful, and the software functions are becoming more and more abundant. Traditional image acquisition devices are usually SLR cameras and video cameras, which are not only single-function but also inconvenient to carry.

[0003] Nowadays, smart terminals have integrated image acquisition devices. In addition to basic shooting functions, they can also conduct financial transactions by scanning "transaction codes" and conduct identity verification by scanning "verification codes".

[0004] However, whether scanning the "transaction code" or the "verification code", it is just scanning a "QR code" with a single function and poor user experience. Summary of the invention

[0005] The present application provides a method, device, electronic device and computer-readable storage medium for identifying a target object in a smart terminal, which can solve the problem of single function of the camera in the smart terminal. The technical solution is as follows:

[0006] In a first aspect, a method for identifying a target object in a smart terminal is provided, the method comprising:

[0007] When receiving a control instruction to enter a scanning mode, controlling the image acquisition device of the smart terminal to start and enter the scanning mode;

[0008] Acquire a preview image containing the target object through the image acquisition device;

[0009] Determining whether the preview image has specific features;

[0010] If so, the corresponding special effects animation is displayed based on the specific features.

[0011] Preferably, the step of determining whether the preview image has specific features comprises:

[0012] Extracting the target object from the preview image using a target detection model;

[0013] Extracting attribute features of the target object;

[0014] Matching the attribute feature with any specific feature in a preset specific feature library;

[0015] If the matching degree between the attribute feature and any specific feature exceeds a predetermined matching degree threshold, it is determined that the preview image has the corresponding specific feature.

[0016] Preferably, the step of displaying the corresponding special effect animation based on the specific feature includes:

[0017] Acquire a first special effect animation corresponding to the specific feature from a preset special effect animation library;

[0018] Display the first special effect animation.

[0019] Preferably, the attribute feature of the target object includes at least one of the size, coordinates, and color of the target object;

[0020] The method further comprises:

[0021] Receiving a custom special effect animation generated based on the attribute characteristics and corresponding specific characteristics;

[0022] The custom special effect animation is stored in the preset special effect animation library.

[0023] Preferably, the step of displaying the corresponding special effect animation based on the specific feature further includes:

[0024] Acquire a second special effect animation corresponding to the specific feature and the attribute feature from a preset special effect animation library;

[0025] Display the second special effect animation.

[0026] Preferably, the method further includes: storing the attribute features in the preset specific feature library.

[0027] Preferably, the preset specific feature library includes the preset specific feature library in the smart terminal, or the preset specific feature library in the remote server; the preset special effect animation library includes the preset special effect animation library in the smart terminal, or the preset special effect animation library in the remote server.

[0028] In a second aspect, a device for identifying a target object in a smart terminal is provided, the device comprising:

[0029] A control module, configured to control the image acquisition device of the smart terminal to start and enter the scanning mode when receiving a control instruction to enter the scanning mode;

[0030] An acquisition module, used for acquiring a preview image containing the target object through the image acquisition device;

[0031] A judging module, used for judging whether the preview image has a specific feature;

[0032] A display module is used to display the corresponding special effect animation based on the specific features.

[0033] Preferably, the judgment module includes:

[0034] A first extraction submodule, configured to extract the target object from the preview image using a target detection model;

[0035] A second extraction submodule is used to extract attribute features of the target object;

[0036] A matching submodule, used for matching the attribute feature with any specific feature in a preset specific feature library;

[0037] The determination submodule is used to determine that the preview image has the corresponding specific feature if the matching degree between the attribute feature and any specific feature exceeds a predetermined matching degree threshold.

[0038] Preferably, the display module includes:

[0039] A first special effect animation acquisition submodule, used to acquire a first special effect animation corresponding to the specific feature from a preset special effect animation library;

[0040] The first special effect animation display submodule is used to display the first special effect animation.

[0041] Preferably, the attribute feature of the target object includes at least one of the size, coordinates, and color of the target object;

[0042] The device further comprises:

[0043] A receiving module, used for receiving a custom special effect animation generated based on the attribute characteristics and corresponding specific characteristics;

[0044] A storage module is used to store the custom special effect animation in the preset special effect animation library.

[0045] Preferably, the display module further includes:

[0046] A second special effect animation acquisition submodule, used to acquire a second special effect animation corresponding to the specific feature and the attribute feature from a preset special effect animation library;

[0047] The second special effect animation display submodule is used to display the second special effect animation.

[0048] Preferably, the storage module is also used to store the attribute characteristics into the preset specific feature library.

[0049] Preferably, the preset specific feature library includes the preset specific feature library in the smart terminal, or the preset specific feature library in the remote server; the preset special effect animation library includes the preset special effect animation library in the smart terminal, or the preset special effect animation library in the remote server.

[0050] In a third aspect, an electronic device is provided, the electronic device comprising:

[0051] processor, memory, and bus;

[0052] The bus is used to connect the processor and the memory;

[0053] The memory is used to store operation instructions;

[0054] The processor is used to call the operation instruction, and the executable instruction enables the processor to perform the operation corresponding to the method for identifying the target object in the smart terminal as shown in the first aspect of the present application.

[0055] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the method for identifying a target object in a smart terminal shown in the first aspect of the present application is implemented.

[0056] The beneficial effects of the technical solution provided by this application are:

[0057] In the embodiment of the present invention, when the smart terminal receives a control instruction to enter the scanning mode, the image acquisition device of the smart terminal is controlled to start and enter the scanning mode, and then a preview image containing the target object is obtained through the image acquisition device, and it is determined whether the preview image has specific features. If so, the corresponding special effect animation is displayed based on the specific features. Through the above method, the real target object can be converted into a virtual special effect animation, which improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in describing the embodiments of the present application are briefly introduced below.

[0059] Figure 1 A schematic diagram of a flow chart of a method for identifying a target object in a smart terminal provided by an embodiment of the present application;

[0060] Figure 2 A schematic diagram of the structure of a target object recognition device in a smart terminal provided in another embodiment of the present application;

[0061] Figure 3 A schematic diagram of the structure of an electronic device for identifying a target object in a smart terminal provided in yet another embodiment of the present application. DETAILED DESCRIPTION

[0062] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be interpreted as limiting the present invention.

[0063] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.

[0064] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0065] With the advancement of technology, the hardware performance of smart terminals is becoming more and more powerful, and the software functions are becoming more and more abundant. Traditional image acquisition devices are usually SLR cameras and video cameras, which are not only single-function but also inconvenient to carry.

[0066] Nowadays, smart terminals have integrated image acquisition devices. In addition to basic shooting functions, they can also conduct financial transactions by scanning "transaction codes" and conduct identity verification by scanning "verification codes".

[0067] However, whether scanning the "transaction code" or the "verification code", it is just scanning a "QR code" with a single function and poor user experience.

[0068] The target object recognition method, device, electronic device and computer-readable storage medium provided in the present application are intended to solve the above technical problems in the prior art.

[0069] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0070] In one embodiment, a method for identifying a target object in a smart terminal is provided. Figure 1 As shown, the method includes:

[0071] Step S101, when a control instruction to enter a scanning mode is received, the image acquisition device of the smart terminal is controlled to start and enter the scanning mode;

[0072] In actual applications, the user can enter the scanning mode by opening the application in the smart terminal, for example, the user opens "360 Mobile Guard" and then clicks the shortcut of "Secure Scan", or the user opens "Camera" and then clicks the shortcut of "Scan". The user can also enter the scanning mode by one or more physical buttons of the smart terminal without opening the application. Among them, the smart terminal can have the following characteristics:

[0073] (1) In terms of hardware system, the device has a central processing unit, memory, input components and output components, that is, the device is often a microcomputer device with communication function. In addition, it can also have multiple input methods, such as keyboard, mouse, touch screen, microphone and camera, and the input can be adjusted as needed. At the same time, the device often has multiple output methods, such as receiver, display screen, etc., which can also be adjusted as needed;

[0074] (2) In terms of software system, the device must have an operating system, such as Windows Mobile, Symbian, Palm, Android, iOS, etc. At the same time, these operating systems are becoming more and more open, and personalized applications developed based on these open operating system platforms are emerging in an endless stream, such as address books, calendars, notepads, calculators, and various games, which greatly meet the needs of personalized users;

[0075] (3) In terms of communication capabilities, the device has flexible access methods and high-bandwidth communication performance, and can automatically adjust the selected communication method according to the selected service and the environment, so as to facilitate user use. The device can support GSM (Global System for Mobile Communication), WCDMA (Wideband Code Division Multiple Access), CDMA2000 (Code Division Multiple Access), TDSCDMA (Time Division-Synchronous Code Division Multiple Access), Wi-Fi (WIreless-Fidelity) and WiMAX (Worldwide Interoperability for Microwave Access), etc., so as to adapt to various network standards, support not only voice services, but also various wireless data services;

[0076] (4) In terms of functional use, the equipment pays more attention to humanization, personalization and multi-functionality. With the development of computer technology, the equipment has moved from a "device-centric" model to a "people-centric" model, integrating embedded computing, control technology, artificial intelligence technology and biometric authentication technology, fully reflecting the people-oriented purpose. Due to the development of software technology, the equipment can adjust the settings according to personal needs and become more personalized. At the same time, the equipment itself integrates a lot of software and hardware, and its functions are becoming more and more powerful.

[0077] The so-called scanning mode is to control the image acquisition device of the smart terminal to identify the target object. Specifically, for example, after the user opens the "360 Mobile Guardian", he clicks the shortcut of "Safe Scan Code". At this time, the smart terminal receives the control command to enter the scanning mode, and then the smart terminal can call the image acquisition device, such as a camera, to collect images. Of course, in addition to calling the image acquisition device of the smart terminal itself, you can also call an external image acquisition device connected (including wired connection, wireless connection) to the smart terminal, or other forms of image acquisition devices, and this application does not limit this.

[0078] Step S102, acquiring a preview image containing the target object through the image acquisition device;

[0079] The preview image is the image captured by the viewfinder after the image acquisition device is turned on. For example, after the camera in the smart terminal is turned on, the screen of the smart terminal is equivalent to the "viewfinder". The image captured by the camera will be transmitted to the screen, and the screen can display the image to the user. At this time, the image the user sees on the screen is the preview image.

[0080] The target object can be the object scanned by the user, such as an icon, a cup, etc. Generally speaking, when the user is scanning, the preview image will not be entirely the target object, and there will be more or less other content, such as the background, etc. Therefore, in actual applications, the preview image obtained by the image acquisition device only needs to include the target object.

[0081] Step S103, determining whether the preview image has specific features;

[0082] In the present application, a specific feature library may be preset, which includes multiple specific features. The specific feature may be an identifier presenting a specific shape. The specific shape may include, for example, "8", "eight", "00", "oo" and similar shapes. The preset specific feature library may include a preset specific feature library locally in the smart terminal, or a preset specific feature library in a remote server.

[0083] In a preferred embodiment of the present invention, the step of determining whether the preview image has a specific feature includes:

[0084] Extracting the target object from the preview image using a target detection model;

[0085] Extracting attribute features of the target object;

[0086] Matching the attribute feature with any specific feature in a preset specific feature library;

[0087] If the matching degree between the attribute feature and any specific feature exceeds a predetermined matching degree threshold, it is determined that the preview image has the corresponding specific feature.

[0088] Specifically, after the image acquisition device obtains the preview image, the object detection model can be used to extract the target object from the preview image. In simple terms, the target object is distinguished from the background. For example, the user wants to scan a cup, but the image acquisition device obtains a preview image with a messy background in addition to the cup. Then the cup can be extracted from the preview image through the object detection mode, and the messy background is filtered out. Then the attribute features of the target object are extracted, wherein the attribute features of the target object can be an identifier presenting any shape. After the identifier of the shape of the target object is extracted, it can be matched with any specific feature in the preset specific feature library. If the matching degree of the two does not exceed the predetermined matching degree threshold, the matching continues until the matching degree of the attribute features of the target object and all the specific features in the preset specific feature library does not exceed the predetermined matching degree threshold, then it can be determined that the preview image does not have the corresponding specific feature; if in the process of continuous matching, the matching degree of the attribute features of the target object and a specific feature in the preset specific feature library exceeds the predetermined matching degree threshold, then there is no need to continue matching, and it can be determined that the preview image has the corresponding specific feature.

[0089] Furthermore, after determining that the preview image has the corresponding specific feature, the attribute feature can be stored in a preset specific feature library, so that the preset specific feature library can be updated and expanded, thereby improving the accuracy of the judgment.

[0090] Step S104: If yes, display the corresponding special effect animation based on the specific feature.

[0091] In the present application, a special effects animation library can also be preset, which includes multiple special effects animations. After determining that the preview image has corresponding specific features, a special effects animation can be randomly selected from the preset special effects animation library for display, or the association relationship between each special effects animation and each specific feature can be established in advance. After determining that the preview image has corresponding specific features, the special effects animation is obtained and displayed based on the association relationship. Among them, the preset special effects animation library can be a preset special effects animation library locally in the smart terminal, or a preset special effects animation library in a remote server; the special effects animation can be in the form of 2D video, 3D video, GIF picture, etc.

[0092] Furthermore, the attribute characteristics of the target object may include at least one of the size, coordinates, and color of the target object in addition to the mark presenting any shape. Of course, in addition to these attribute characteristics, more attribute characteristics may also be included.

[0093] After displaying the special effects animation, the user can also customize the displayed special effects animation based on the attribute characteristics of the target object, generate and display a customized special effects animation. The user can also store the generated customized special effects animation in the preset special effects animation library. If it is stored in the local preset special effects animation library, then the user can display the customized special effects animation when scanning in the future; if it is stored in the preset special effects animation library of the remote server, then other users can obtain the special effects animation made by the current user based on the specific characteristics and attribute characteristics of the target object when scanning the target object, thereby realizing the sharing of customized special effects animation and improving the user experience.

[0094] In the embodiment of the present invention, when the smart terminal receives a control instruction to enter the scanning mode, the image acquisition device of the smart terminal is controlled to start and enter the scanning mode, and then a preview image containing the target object is obtained through the image acquisition device, and it is determined whether the preview image has specific features. If so, the corresponding special effect animation is displayed based on the specific features. Through the above method, the real target object can be converted into a virtual special effect animation, which improves the user experience.

[0095] Furthermore, users can create customized special effects animations based on the attribute characteristics of the target object and the displayed special effects animations, and share them, which increases the diversity of special effects animations and further enhances the user experience.

[0096] Figure 2 A schematic diagram of a target object recognition device in a smart terminal provided in another embodiment of the present application is shown in FIG. Figure 2 As shown, the device of this embodiment may include:

[0097] The control module 201 is used to control the image acquisition device of the smart terminal to start and enter the scanning mode when receiving a control instruction to enter the scanning mode;

[0098] An acquisition module 202 is used to acquire a preview image containing the target object through the image acquisition device;

[0099] A judging module 203 is used to judge whether the preview image has a specific feature;

[0100] The display module 204 is used to display the corresponding special effect animation based on the specific feature.

[0101] In a preferred embodiment of the present invention, the judgment module includes:

[0102] A first extraction submodule, configured to extract the target object from the preview image using a target detection model;

[0103] A second extraction submodule is used to extract attribute features of the target object;

[0104] A matching submodule, used for matching the attribute feature with any specific feature in a preset specific feature library;

[0105] The determination submodule is used to determine that the preview image has the corresponding specific feature if the matching degree between the attribute feature and any specific feature exceeds a predetermined matching degree threshold.

[0106] In a preferred embodiment of the present invention, the display module includes:

[0107] A first special effect animation acquisition submodule, used to acquire a first special effect animation corresponding to the specific feature from a preset special effect animation library;

[0108] The first special effect animation display submodule is used to display the first special effect animation.

[0109] In a preferred embodiment of the present invention, the attribute feature of the target object includes at least one of the size, coordinates, and color of the target object;

[0110] The device further comprises:

[0111] A receiving module, used for receiving a custom special effect animation generated based on the attribute characteristics and corresponding specific characteristics;

[0112] A storage module is used to store the custom special effect animation in the preset special effect animation library.

[0113] In a preferred embodiment of the present invention, the display module further includes:

[0114] A second special effect animation acquisition submodule, used to acquire a second special effect animation corresponding to the specific feature and the attribute feature from a preset special effect animation library;

[0115] The second special effect animation display submodule is used to display the second special effect animation.

[0116] In a preferred embodiment of the present invention, the storage module is further used to store the attribute features into the preset specific feature library.

[0117] In a preferred embodiment of the present invention, the preset specific feature library includes the preset specific feature library in the smart terminal, or the preset specific feature library in the remote server; the preset special effects animation library includes the preset special effects animation library in the smart terminal, or the preset special effects animation library in the remote server.

[0118] The target object recognition device in the smart terminal of this embodiment can execute the target object recognition method in the smart terminal shown in the first embodiment of the present application. The implementation principle is similar and will not be repeated here.

[0119] Another embodiment of the present application provides an electronic device, which includes: a memory and a processor; at least one program stored in the memory, which is used to be executed by the processor. Compared with the prior art, it can achieve: when the smart terminal receives a control instruction to enter the scanning mode, the image acquisition device of the smart terminal is controlled to start and enter the scanning mode, and then a preview image containing the target object is obtained through the image acquisition device, and it is determined whether the preview image has specific features. If so, the corresponding special effect animation is displayed based on the specific features. Through the above method, the real target object can be converted into a virtual special effect animation, which improves the user experience.

[0120] In an alternative embodiment, an electronic device is provided, such as Figure 3 As shown, Figure 3 The electronic device 3000 shown includes: a processor 3001 and a memory 3003. The processor 3001 and the memory 3003 are connected, such as through a bus 3002. Optionally, the electronic device 3000 may also include a transceiver 3004. It should be noted that in actual applications, the transceiver 3004 is not limited to one, and the structure of the electronic device 3000 does not constitute a limitation on the embodiments of the present application.

[0121] Processor 3001 may be a CPU, a general purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 3001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0122] The bus 3002 may include a path to transmit information between the above components. The bus 3002 may be a PCI bus or an EISA bus, etc. The bus 3002 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0123] The memory 3003 may be a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, or an EEPROM, a CD-ROM or other optical disk storage, an optical disk storage (including a compressed optical disk, a laser disk, an optical disk, a digital versatile disk, a Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0124] The memory 3003 is used to store application code for executing the solution of the present application, and the execution is controlled by the processor 3001. The processor 3001 is used to execute the application code stored in the memory 3003 to implement the content shown in any of the above method embodiments.

[0125] Among them, electronic devices include but are not limited to: mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc.

[0126] Another embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer-readable storage medium is run on a computer, the computer can execute the corresponding content in the aforementioned method embodiment. Compared with the prior art, when the smart terminal receives a control instruction to enter the scanning mode, the image acquisition device of the smart terminal is controlled to start and enter the scanning mode, and then a preview image containing the target object is obtained through the image acquisition device, and it is determined whether the preview image has specific features. If so, the corresponding special effects animation is displayed based on the specific features. Through the above method, the real target object can be converted into a virtual special effects animation, which improves the user experience.

[0127] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0128] The above descriptions are only some embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for identifying a target object in an intelligent terminal, characterized in that: include: When receiving a control instruction to enter a scanning mode, controlling the image acquisition device of the smart terminal to start and enter the scanning mode; Acquire a preview image containing the target object through the image acquisition device; Determining whether the preview image has specific features; If so, display the corresponding special effects animation based on the specific features; Store the user-generated custom animation special effects animation into the preset special effects animation library; The displaying of the corresponding special effects animation based on the specific feature includes: Acquire a first special effect animation corresponding to the specific feature from the preset special effect animation library; Displaying the first special effect animation; The determining whether the preview image has a specific feature includes: Based on a preset specific feature library, determining whether the preview image has an attribute feature that matches a specific feature, the preset specific feature library including a plurality of specific features; If the preview image has the attribute feature, storing the attribute feature in the preset specific feature library; The customized animation special effect is generated by the user through customization of the special effect animation based on the attribute characteristics.

2. The target object recognition method according to claim 1, characterized in that: The step of determining whether the preview image has specific features comprises: Extracting the target object from the preview image using a target detection model; Extracting attribute features of the target object; Matching the attribute feature with any specific feature in a preset specific feature library; If the matching degree between the attribute feature and any specific feature exceeds a predetermined matching degree threshold, it is determined that the preview image has the corresponding specific feature.

3. The target object recognition method according to claim 2, characterized in that: The attribute feature of the target object includes at least one of the size, coordinates, and color of the target object; The method further comprises: Receiving a custom special effect animation generated based on the attribute characteristics and corresponding specific characteristics; The customized special effect animation is stored in the preset special effect animation library.

4. The target object recognition method according to claim 3, characterized in that: The step of displaying the corresponding special effect animation based on the specific feature also includes: Acquire a second special effect animation corresponding to the specific feature and the attribute feature from a preset special effect animation library; Display the second special effect animation.

5. The target object recognition method according to claim 2, characterized in that: Also includes: The attribute features are stored in the preset specific feature library.

6. The target object recognition method according to claim 1 or 2, characterized in that: The preset specific feature library includes the preset specific feature library in the smart terminal, or the preset specific feature library in the remote server; the preset special effect animation library includes the preset special effect animation library in the smart terminal, or the preset special effect animation library in the remote server.

7. A target object recognition device in an intelligent terminal, characterized in that: include: A control module, configured to control the image acquisition device of the smart terminal to start and enter the scanning mode when receiving a control instruction to enter the scanning mode; An acquisition module, used for acquiring a preview image containing the target object through the image acquisition device; A judging module, used for judging whether the preview image has a specific feature; A display module, used to display the corresponding special effect animation based on the specific features, and store the user-generated custom animation special effect animation into a preset special effect animation library; The display module comprises: A first special effect animation acquisition submodule, used to acquire a first special effect animation corresponding to the specific feature from a preset special effect animation library; A first special effect animation display submodule, used for displaying the first special effect animation; The judgment module is specifically used to judge whether the preview image has an attribute feature matching a specific feature based on a preset specific feature library, wherein the preset specific feature library includes multiple specific features; If the preview image has the attribute feature, storing the attribute feature in the preset specific feature library; The customized animation special effect is generated by the user through customization of the special effect animation based on the attribute characteristics.

8. The target object recognition device according to claim 7, characterized in that: The judging module comprises: A first extraction submodule, configured to extract the target object from the preview image using a target detection model; A second extraction submodule is used to extract attribute features of the target object; A matching submodule, used for matching the attribute feature with any specific feature in a preset specific feature library; The determination submodule is used to determine that the preview image has the corresponding specific feature if the matching degree between the attribute feature and any specific feature exceeds a predetermined matching degree threshold.

9. The target object recognition device according to claim 8, characterized in that: The attribute feature of the target object includes at least one of the size, coordinates, and color of the target object; The device further comprises: A receiving module, used for receiving a custom special effect animation generated based on the attribute characteristics and corresponding specific characteristics; A storage module is used to store the custom special effect animation in the preset special effect animation library.

10. The target object recognition device according to claim 9, characterized in that: The display module also includes: A second special effect animation acquisition submodule, used to acquire a second special effect animation corresponding to the specific feature and the attribute feature from a preset special effect animation library; The second special effect animation display submodule is used to display the second special effect animation.

11. The target object recognition device according to claim 8, characterized in that: The storage module is also used to store the attribute features into the preset specific feature library.

12. The target object recognition device according to claim 8, characterized in that: The preset specific feature library includes the preset specific feature library in the smart terminal, or the preset specific feature library in the remote server; the preset special effect animation library includes the preset special effect animation library in the smart terminal, or the preset special effect animation library in the remote server.

13. An electronic device, characterized in that: It includes: processor, memory, and bus; The bus is used to connect the processor and the memory; The memory is used to store operation instructions; The processor is used to execute the target object recognition method in the smart terminal according to any one of claims 1 to 6 by calling the operation instruction.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store computer instructions, and when the computer-readable storage medium is executed on a computer, the computer executes the method for identifying a target object in a smart terminal according to any one of claims 1 to 6.