Image scene recognition method and device, computer equipment and storage medium

By obtaining and matching the changing image and historical scene features of the target application interface, the image scene feature area is determined, which solves the problem of interference between terminal resolution and scene form in interface recognition and improves the recognition accuracy.

CN118692002APending Publication Date: 2024-09-24TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310319550.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-22
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

The existing technology is susceptible to interference from different terminal resolutions and scene representation forms in the interface image scene recognition of software applications, resulting in low recognition accuracy.

Method used

By obtaining images of interface changes of the target application during operation, the scene benchmark features in the historical scene images are extracted, and the image scene feature areas are determined from the target image for component identification, and the scene features and benchmark features are combined to match to determine all the features of the target application. scene.

Benefits of technology

It improves the accuracy of image scene recognition, reduces the recognition interference caused by different resolutions and scene component expressions, and enhances pertinence.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118692002A
    Figure CN118692002A
Patent Text Reader

Abstract

The invention relates to an image scene recognition method and device, computer equipment, a storage medium and a computer program product. The method comprises the steps that a target image recording application interface changes of a target application in the running process and scene reference features extracted based on historical scene images are obtained, and the historical scene images are used for recording the application interface changes of the target application in the running process of a target scene; and determining an image scene feature region from the target image, performing component identification on the image scene feature region to obtain scene features of the target image, and when the scene features are matched with the scene reference features, determining a scene where the target application recorded by the target image is located according to the target scene. By adopting the method, the accuracy of image scene recognition can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an image scene recognition method, apparatus, computer equipment, storage medium and computer program product. Background Art

[0002] With the development of computer technology, various software applications have emerged with new functions, which greatly facilitate people's work and enrich people's life and entertainment. When evaluating various functional scenarios of software applications, the scene recognition is often carried out through the interface changes of the software application to realize the detection of various functional indicators, such as the startup speed detection of the software application.

[0003] Currently, the process of performing scene recognition for software applications using interface images of software applications on terminals is susceptible to recognition interference caused by different terminal resolutions and different scene presentation forms, resulting in low scene recognition accuracy for interface images. Summary of the invention

[0004] Based on this, it is necessary to provide an image scene recognition method, apparatus, computer equipment, computer-readable storage medium and computer program product that can improve the accuracy of image scene recognition in order to address the above technical problems.

[0005] In a first aspect, the present application provides an image scene recognition method, the method comprising:

[0006] Acquire a target image to be identified; the target image is an image that records changes in the application interface of the target application during its operation;

[0007] Obtaining scene reference features extracted based on historical scene images; the historical scene images are images that record changes in the application interface of the target application during its operation in the target scene;

[0008] Determine an image scene feature region from the target image, and perform component recognition on the image scene feature region to obtain scene features of the target image;

[0009] When the scene feature matches the scene reference feature, the scene of the target application recorded by the target image is determined according to the target scene.

[0010] In a second aspect, the present application further provides an image scene recognition device, the device comprising:

[0011] The image acquisition module is used to acquire the target image to be identified; the target image is an image that records the changes in the application interface of the target application during its operation;

[0012] The reference feature acquisition module is used to obtain scene reference features extracted based on historical scene images; the historical scene images are images that record changes in the application interface of the target application during its operation in the target scene;

[0013] A scene feature acquisition module is used to determine the image scene feature area from the target image, and perform component recognition on the image scene feature area to obtain the scene feature of the target image;

[0014] The scene determination module is used to determine the scene of the target application recorded in the target image according to the target scene when the scene feature matches the scene reference feature.

[0015] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0016] Acquire a target image to be identified; the target image is an image that records changes in the application interface of the target application during its operation;

[0017] Obtaining scene reference features extracted based on historical scene images; the historical scene images are images that record changes in the application interface of the target application during its operation in the target scene;

[0018] Determine an image scene feature region from the target image, and perform component recognition on the image scene feature region to obtain scene features of the target image;

[0019] When the scene feature matches the scene reference feature, the scene of the target application recorded by the target image is determined according to the target scene.

[0020] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0021] Acquire a target image to be identified; the target image is an image that records changes in the application interface of the target application during its operation;

[0022] Obtaining scene reference features extracted based on historical scene images; the historical scene images are images that record changes in the application interface of the target application during its operation in the target scene;

[0023] Determine an image scene feature region from the target image, and perform component recognition on the image scene feature region to obtain scene features of the target image;

[0024] When the scene feature matches the scene reference feature, the scene of the target application recorded by the target image is determined according to the target scene.

[0025] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0026] Acquire a target image to be identified; the target image is an image that records changes in the application interface of the target application during its operation;

[0027] Obtaining scene reference features extracted based on historical scene images; the historical scene images are images that record changes in the application interface of the target application during its operation in the target scene;

[0028] Determine an image scene feature region from the target image, and perform component recognition on the image scene feature region to obtain scene features of the target image;

[0029] When the scene feature matches the scene reference feature, the scene of the target application recorded by the target image is determined according to the target scene.

[0030] The above-mentioned image scene recognition method, device, computer equipment, storage medium and computer program product obtain a target image that records the changes in the application interface of the target application during its operation, and a scene baseline feature extracted based on a historical scene image. The historical scene image is used to record the changes in the application interface of the target application during its operation in the target scene, determine the image scene feature area from the target image, and perform component recognition on the image scene feature area to obtain the scene feature of the target image. When the scene feature matches the scene baseline feature, the scene of the target application recorded by the target image is determined according to the target scene. In the image scene recognition processing process, for the target image to be identified, the image scene feature area is determined from the target image, and component recognition is performed on the image scene feature area to obtain the scene feature of the target image. When the scene feature matches the scene reference feature extracted based on the historical scene image, the scene of the target application recorded in the target image is determined according to the target scene corresponding to the scene reference feature, thereby realizing scene recognition for the target image. By determining the image scene feature area from the target image and then performing component recognition, the distribution area of ​​the scene component can be screened out from the target image for component recognition, which can improve the pertinence of scene component recognition and reduce the recognition interference caused by different resolutions and different expressions of scene components, thereby helping to improve the accuracy of image scene recognition. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 A diagram showing an application environment of an image scene recognition method in an embodiment;

[0032] Figure 2 is a schematic diagram of a flow chart of an image scene recognition method in one embodiment;

[0033] Figure 3 is a schematic diagram of a flow chart of an image scene recognition method in one embodiment;

[0034] Figure 4 A schematic diagram of a flow chart of an image scene recognition step in one embodiment;

[0035] Figure 5 is a schematic flow chart of an image scene recognition method in another embodiment;

[0036] Figure 6 A schematic diagram of video framing in an embodiment;

[0037] Figure 7 A schematic diagram of component extraction in one embodiment;

[0038] Figure 8 A schematic diagram of region demarcation in one embodiment;

[0039] Fig. 9 is a structural block diagram of an image scene recognition device in one embodiment;

[0040] Fig.10 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0042] The image scene recognition method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network, and the data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other servers. The terminal 102 and the server 104 can be used alone to execute the image scene recognition method in the present application, and the terminal 102 and the server 104 can be used together to execute the image scene recognition method in the present application. When performing image scene recognition, the target application can be run on the terminal 102, and changes in the application interface of the target application during operation can be recorded. For example, the terminal 102 can record the screen of the target application during operation to obtain a recorded video, and obtain the target image to be identified from the recorded video. The target image records the changes in the application interface of the target application on the terminal 102 during operation. The terminal 102 can send the target image to be identified to the server 104, and the server 104 can receive the target image to be identified sent by the terminal 102. The server 104 obtains the scene reference feature extracted based on the historical scene image. The historical scene feature is an image that records the changes in the application interface of the target application during operation in the target scene. The server 104 determines the image scene feature area from the target image, and performs component recognition on the image scene feature area to obtain the scene feature of the target image. When the server 104 determines that the scene feature matches the scene reference feature, the server 104 can determine the scene of the target application recorded by the target image according to the target scene. For example, the server 104 can determine that the target application running on the terminal 102 recorded by the target image is in the target scene.

[0043] The terminal 102 may be, but is not limited to, various desktop computers, laptop computers, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. The portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.

[0044] In one embodiment, Figure 2 As shown, an image scene recognition method is provided. The method is executed by a computer device, and can be executed by a computer device such as a terminal or a server alone, or by a terminal and a server together. In the embodiment of the present application, the method is applied to Figure 1 The server in the example is used to illustrate the following steps:

[0045] Step 202, obtaining a target image to be identified; the target image is an image that records changes in the application interface of the target application during its operation.

[0046] Among them, the target image is used to record the changes in the application interface of the target application during operation. The target application can be an application that provides various functional services running on various platforms, such as shopping applications, social applications, educational applications, information applications, etc. running on various operating system platforms. During the operation of the target application, its application interface will change, and the changes in the application interface may be different for different target applications. For example, if the target application is a news application, its interface change can be the change process from starting the news application to entering the news browsing page; if the target application is a shopping application, its interface change can be the change process from starting the shopping application to entering the shopping cart page, etc. During the operation of implementing different functions, the application often displays different pages, that is, it is considered that the target application is in different scenes. For example, the scene in which the application is located during the operation process may include but is not limited to various scenes including advertising pages, shopping cart pages, item browsing pages, and news browsing pages. The target image records the changes in the application interface of the target application during operation. By performing scene detection on the target image, it can be detected whether the target application jumps to the page corresponding to the corresponding scene normally during the operation process, that is, whether it enters the corresponding scene normally, thereby realizing the operation detection of the target application.

[0047] Specifically, the server obtains a target image to be identified, which records the changes in the application interface of the target application during operation. The target image can be obtained by the terminal running the target application and sent to the server, and can be specifically obtained by the terminal capturing the changes in the application interface of the target application when running the target application. For example, when running the target application, the terminal can record the changes in the application interface of the target application, thereby recording the target video, and extracting the target image to be identified from the target video; for another example, when running the target application, the terminal can take a screenshot of the changes in the application interface of the target application to obtain the target image to be identified. In a specific implementation, in order to ensure the accuracy of the detection of the operation of the target application, multiple video frames can be extracted from the target video as the target image for scene recognition processing, or screenshots can be taken of the changes in the application interface of the target application according to a certain screenshot cycle, thereby obtaining multiple frames of target images for scene recognition processing.

[0048] In a specific application, when acquiring the target image to be identified, the terminal can directly acquire images that record the changes in the application interface of the target application during operation, and determine the target image to be identified from each image. Among them, at least one image can be obtained by setting a certain screenshot time interval when the target application is started, and taking a screenshot every time the screenshot time interval is reached, so as to obtain multiple screenshot images. In addition, at least one image can also be obtained by taking a screenshot of the application interface during operation through a device with a shooting function when the target application is started.

[0049] Step 204, obtaining scene reference features extracted based on historical scene images; historical scene images are images that record changes in the application interface of the target application during its operation in the target scene.

[0050] Among them, the scene reference feature refers to the standardized feature of the application interface change of the target application in the process of running in the target scene, which can specifically include component structure features, such as the category, quantity and distribution of components in the application interface, that is, when the target application is in different scenes, the interface of the target application reflects different scene reference features. The scene reference feature can be extracted based on the historical scene image, which is used to record the application interface change of the target application in the process of running in the target scene, that is, the image of the application interface change of the target application in the process of running in the target scene can be pre-extracted to form the scene reference feature of the target application in the target scene.

[0051] The scene reference feature can be used to characterize the unique interface features of the target application when it is in the target scene. For example, when the target application is in different scenes, the target application can display different application interfaces. The application interface of the specific target application can include different types of interface elements, different numbers of interface elements or different distribution positions. When the target application is in different scenes, the interface elements of the application interface can be flexibly configured according to the actual needs of the target application. For example, for shopping applications, the scene can refer to the application interface of the shopping application in the shopping cart page; for news applications, the scene can refer to the application interface of the news application in the news browsing page. For the same target application, it can also be in multiple different scenes, that is, corresponding to multiple different application interfaces. For example, for a shopping application, it can be in a shopping cart scene, and the corresponding application interface can be a shopping cart page, or it can be in an item browsing scene, and the corresponding application interface can be an item browsing page. For communication applications, it can include a message recording scene, and the corresponding application interface can be a message recording interface; it can also include a message browsing scene, and the corresponding application interface can be a message browsing interface. The application interface corresponding to the target application in different scenes can be set according to the actual needs of the target application.

[0052] Specifically, the server obtains the scene benchmark features of the target application during its operation in the target scene. The scene benchmark features can be extracted based on historical scene images, and the historical scene images are used to record the changes in the application interface of the target application during its operation in the target scene. In specific implementation, when the server obtains the scene benchmark features, it can query and obtain the scene benchmark features corresponding to the target scene according to the target scene that currently needs to be identified. For example, the server can pre-build a corresponding benchmark feature library for various target applications and the target scenes corresponding to each target application. When the server obtains the scene benchmark features, it can query and obtain them from the benchmark feature library according to actual needs. The specific server can determine the scene category of the target application, and determine the target scene to be identified currently from the scene category. After determining the target scene, the server can query and obtain the scene benchmark features corresponding to the target scene from the pre-built benchmark feature library according to the target scene.

[0053] Step 206: determine the image scene feature region from the target image, and perform component recognition on the image scene feature region to obtain the scene feature of the target image.

[0054] Among them, the image scene feature area is an area in the target image that can reflect the scene in which the recorded target application is located. When scene recognition is performed for different types of scene features, the image scene feature area can correspond to different areas in the target image. For example, when scene recognition is performed using a component structure, the image scene feature area can be an image area covered with different components included in the corresponding application interface when the target application is in different scenes. For different target applications or in different scenes, the distribution position of the image scene feature area in the target image can be different. For example, for news applications, the image scene feature area can be distributed at the bottom of the target image; for video playback applications, the image scene feature area can be distributed to the right of the target image. Scene recognition based on the image scene feature area can effectively filter out image areas in the target image that are not related to scene recognition, thereby improving the accuracy of image scene recognition. The image scene feature area can accurately reflect the scene in which the target application corresponds, and can characterize the characteristics of the corresponding application interface when the target application is in different scenes.

[0055] Component recognition can be the recognition processing of various types of components such as text, icons, pictures and videos that may appear in the scene feature area of ​​the image. Scene features refer to the features extracted from the target image for characterizing the scene in which the target application is located. When the target application is in different scenes, it corresponds to different application interfaces. Different application interfaces can have different scene features, so that the scene in which the target application recorded by the target image is located can be determined based on the scene features extracted from the application interface image. Scene features may include various interface element features in the target image, such as the type, quantity and distribution of interface elements. In a specific implementation, scene features may include component attribute features in the target image, such as at least one of component type, component position or component quantity features. Among them, component type refers to the type of component, component position is the distribution position of the component, and the number of components can be the number of components of various types.

[0056] Specifically, the server determines the image scene feature area from the target image, and the image scene feature area can be the area where the components are distributed. The specific server can divide the target image into regions, determine the area where the components are distributed, and determine the image scene feature area. After determining the image scene feature area from the target image, the server can perform component recognition on the image scene feature area. The specific server can use various component recognition methods to achieve this, such as using a pre-trained neural network model to perform component recognition on the image scene feature area. The neural network model can be pre-built using various algorithms according to actual needs, such as R-CNN (Region-based Convolutional Neural Networks, regional convolutional neural network), Fast R-CNN (Fast Region with CNN Feature, regional fast convolutional neural network), SSD (Single Shot MultiBox Detector, single-step detection network), yolov7 (You Only Look Once, target detection algorithm), etc.

[0057] Step 208: When the scene feature matches the scene reference feature, the scene of the target application recorded in the target image is determined according to the target scene.

[0058] Specifically, the server performs feature matching on the scene features of the target image with the scene reference features. When it is determined that the scene features match the scene reference features, that is, the scene features and the scene reference features match consistently, indicating that the target application is in the process of running in the target scene, the server can determine the scene of the target application recorded in the target image based on the target scene. Specifically, the server can determine that the target application recorded in the target image is in the target scene, thereby realizing scene recognition processing for the target image.

[0059] In a specific application, such as Figure 3 As shown, the server can obtain an image group that records the target application during its operation, and obtain a target image to be identified from the image group, wherein the image group can be composed of screenshot images obtained by taking screenshots of changes in the application interface during the operation of the target application by setting a certain time interval, such as a screenshot interval and a screenshot cycle, when the target application is started on the terminal. The time interval can be specifically 0.1s, and the screenshot can be taken once each time the time interval is reached to obtain multiple screenshot images. When the number of screenshot images is small, relative to the target video, the amount of data sent by the terminal to the server can be effectively reduced, thereby improving data processing efficiency.

[0060] Furthermore, on the one hand, the server queries the scene reference feature corresponding to the target scene from the pre-built reference feature library according to the target scene to be recognized at present. The server can traverse the image group, and on the other hand, traverse the image group, randomly select a frame of image from the image group as the target image to be recognized, and determine the target scene to be recognized at present. For the selected target image, the server can determine the image scene feature area of ​​the target image, thereby effectively filtering out the image area in the target image that is irrelevant to scene recognition, so as to achieve the effect of removing redundancy. For example, for news applications, by determining the image scene feature area of ​​the target image, the text and other scene-irrelevant components in the target image can be removed. For video playback applications, by determining the image scene feature area of ​​the target image, the picture component in the target image that is irrelevant to scene recognition can be removed. For the obtained image scene feature area, the server can perform component recognition on the image scene feature area through a pre-trained neural network model to obtain scene features. The neural network model can be pre-built using various algorithms according to actual needs. Since the neural network model has great versatility and does not need to be frequently replaced, it can simultaneously take into account high versatility and low maintenance cost. The server matches the scene features of the target image with the scene baseline features to determine whether the feature comparison is consistent. When it is determined that the scene features and the scene baseline features are matched, it means that the target application is in the process of running the target scene. The server can then determine the scene of the target application recorded in the target image based on the target scene, and implement scene recognition processing for the target image. In addition, if the feature comparisons with the scene baseline features are inconsistent when traversing each frame image in the image group, it can be determined that the target scene does not appear in the image group, that is, it can be determined that the scene does not appear. For the image groups obtained from different platforms and different terminals with the same scene, the image scene recognition processing can be carried out by first determining the image scene feature area from the target image and then performing component recognition, thereby reducing the recognition interference caused by different terminal resolutions and different component display forms.

[0061] In the above-mentioned image scene recognition method, a target image that records the changes in the application interface of the target application during its operation and scene baseline features extracted based on historical scene images are obtained. The historical scene image is used to record the changes in the application interface of the target application during its operation in the target scene. The image scene feature area is determined from the target image, and component recognition is performed on the image scene feature area to obtain the scene features of the target image. When the scene features match the scene baseline features, the scene of the target application recorded by the target image is determined according to the target scene. In the image scene recognition processing process, for the target image to be identified, the image scene feature area is determined from the target image, and component recognition is performed on the image scene feature area to obtain the scene feature of the target image. When the scene feature matches the scene reference feature extracted based on the historical scene image, the scene of the target application recorded in the target image is determined according to the target scene corresponding to the scene reference feature, thereby realizing scene recognition for the target image. By determining the image scene feature area from the target image and then performing component recognition, the distribution area of ​​the scene component can be screened out from the target image for component recognition, which can improve the pertinence of scene component recognition and reduce the recognition interference caused by different resolutions and different expressions of scene components, thereby helping to improve the accuracy of image scene recognition.

[0062] In one embodiment, the scene reference feature includes a component area distribution feature and a component reference feature; determining the image scene feature area from the target image, and performing component recognition on the image scene feature area to obtain the scene feature of the target image, including: determining the image scene feature area from the target image according to the component area distribution feature; performing component recognition on the image scene feature area, and obtaining the scene feature of the target image based on the component attribute feature obtained by the component recognition.

[0063] Among them, the component area distribution feature can be used to characterize the distribution position of the unique interface features in the application interface when the target application is in the target scene. The component area distribution feature can be specifically the location information of the unique interface features in the application interface. For different target applications, the component area distribution feature can be different. For example, for news applications, if the target scene is a news browsing page, the component area distribution feature is the location information at the bottom of the news browsing page; for video playback applications, if the target scene is a video browsing page, the component area distribution feature is the location information on the right side of the video browsing page. For different target scenes of the same target application, the component area distribution feature can also be different. For example, for shopping applications, if the target scene is a shopping cart scene, the component area distribution feature is the location information at the bottom of the shopping cart scene, and if the target scene is an item browsing scene, the component area distribution feature is the location information at the top of the item browsing scene. For different target applications or different scenes, the distribution position of the unique interface features in the application interface can be one or more. For example, for video playback applications, the distribution position of the unique interface features in the application interface can be only one, such as only on the right side of the video browsing page. For a news browsing application, the unique interface features may be distributed at two locations on the application interface, such as at the top and bottom of the news browsing page. The specific number of distribution locations may be determined according to the type of the target application, etc.

[0064] The component baseline feature may refer to the component feature specific to the target scenario extracted from the application interface when the target application is in the target scenario. The specific component feature may specifically include the category, quantity, and position of the component. Among them, the application interface may include multiple types of components such as text, icons, pictures, and videos. For each type of component, there are corresponding quantity features, position features, etc. The component attribute baseline feature can be formed by the type of each component and the quantity and position of each type of component. For example, for news applications, the target scenario is the news browsing page. The interface features specific to the news browsing page may include components such as text, icons, and pictures. The component baseline features of the news application are determined by combining the number and position of text, icons, and pictures. For video playback applications, the target scenario is the video browsing page. The interface features specific to the video browsing page may include components such as text, icons, pictures, and videos. The component baseline features of the video playback application are determined by combining the number and position of text, icons, pictures, and videos.

[0065] The component attribute feature may refer to a feature extracted from an image scene feature region and used to characterize the component attribute information of the image scene feature region. The component attribute feature may specifically include at least one feature of the category, quantity and distribution position of the component in the image scene feature region.

[0066] Specifically, the server determines the image scene feature region from the target image according to the component region distribution feature in the scene reference feature, performs component recognition on the image scene feature region, obtains the component attribute feature, and determines the scene feature of the target image according to the component attribute feature. In a specific implementation, the server can obtain the scene reference feature that matches the category of the target scene according to the category of the target scene to be recognized, and determine the image scene feature region from the target image according to the component region distribution feature of the scene reference feature. For example, when the component region distribution feature is the position information representing the right side of the target image, the determined image scene feature region is the right position of the target image, when the image region distribution feature is the position information representing the bottom of the target image, the determined image scene feature region is the bottom position of the target image, and when the component region distribution feature is the position information representing the top of the target image and the position information representing the bottom of the target image, the determined image scene feature region is the top position and the bottom position of the target image. When performing component recognition on the obtained image scene feature region, the server can use a pre-trained neural network model for recognition, obtain the component attribute feature, and determine the scene feature of the target image according to the component attribute feature.

[0067] In a specific application, the component area distribution feature can also be an identifier, which carries the location information of the unique interface feature in the application interface. The identifier can be any symbol that can be used for identification, such as letters, numbers, and feature codes. Different identifiers can correspond to different positions of the target image. For example, when letters are used as identifiers, letter a can correspond to the top position of the target image, letter b can correspond to the right position of the target image, and letter c can correspond to the bottom position of the target image. The server can directly determine the image scene feature area from the target image based on the obtained identifier.

[0068] Further, when the scene feature matches the scene reference feature, the scene of the target application recorded in the target image is determined according to the target scene, including: when the component attribute feature matches the component reference feature, the scene of the target application recorded in the target image is determined according to the target scene.

[0069] Specifically, the server performs feature matching on the component attribute feature and the component baseline feature. When it is determined that the component attribute feature matches the component baseline feature, that is, the component attribute feature is consistent with the component baseline feature, it means that the target application is in the process of running in the target scene. The server can determine the scene of the target application recorded in the target image based on the target scene.

[0070] In this embodiment, the server determines the image scene feature area based on the component area distribution characteristics, and further performs component recognition on the image scene feature area to obtain component attribute features. By matching the component attribute features with the component reference features, when the component attribute features are consistent with the component reference features, the scene of the target application recorded in the target image can be determined according to the target scene. On the basis of improving the pertinence of scene component recognition, image scene recognition can be completed by matching the component attribute features with the component reference features, thereby improving the efficiency of image scene recognition.

[0071] In one embodiment, component recognition is performed on an image scene feature region, and scene features of a target image are obtained based on component attribute features obtained by the component recognition, including: performing component recognition on an image scene feature region through a pre-trained component recognition model to obtain component attribute features in the image scene feature region; and obtaining scene features of the target image based on the component attribute features.

[0072] Among them, the component recognition model can be a pre-trained neural network model, and the neural network model can be pre-built using various algorithms. For different target scenes, multiple neural network models can be pre-trained using algorithms adapted to the target scenes. When performing component recognition on the feature area of ​​the image scene, a neural network model matching the category of the target scene can be selected for component recognition according to the category of the target scene to be recognized, so as to improve the accuracy of component recognition. When performing component recognition, it can specifically include recognizing the type, quantity, and distribution location of the components in the feature area of ​​the image scene.

[0073] For different target applications or different target scenes of the same target application, the location of the image scene feature area in the target image may be different, the number of image scene feature areas may be different, and therefore, the component attribute features obtained by identifying the image scene feature areas may also be different. For example, for a video playback application, it may only include one image scene feature area. By performing component identification on the image scene feature area, the component attribute characteristics obtained by identification may be: picture 0+icon 4+text 0+video 0, that is, the component attribute characteristics of the video playback application may only include 4 icons, excluding other types of components such as pictures, texts and videos; for the image scene feature area of ​​a news application, it may include two or more image scene feature areas, such as: image scene feature area 1 and image scene feature area 2, and component identification is performed on image scene feature area 1 and image scene feature area 2 respectively. The first component attribute characteristics of the identified image scene feature area 1 may be: picture 0+icon 4+text greater than 0+video 0, that is, the first component attribute characteristics of the news application may only include 4 icons and texts, excluding other types of components such as pictures and videos; the second component attribute characteristics of the identified image scene feature area 2 may be: picture 2+icon 0+text greater than 2+video 0, that is, the second component attribute characteristics of the news application may only include two pictures and texts, excluding other types of components such as icons and videos. According to the first component attribute characteristics and the second component attribute characteristics, the component attribute characteristics of the news application are obtained.

[0074] Specifically, the server performs component recognition on image scene feature areas of different target applications or image scene feature areas of different target scenes of the same target application according to the component recognition model. When there is only one image scene feature area, the server can determine the scene features of the target image according to the component attribute features obtained by component recognition. When there are two or more image scene feature areas, the server can determine the component attribute features obtained after performing component recognition on all image scene feature areas as the scene features of the target image. In specific implementation, the server can obtain a matching component recognition model according to the category of the target application to be recognized, the category of the target scene, the accuracy requirements of component recognition, etc., and perform component recognition on the image scene feature area according to the matching component recognition model.

[0075] In a specific application, the server performs component recognition on the image scene feature area to determine the position of each component in the image scene feature area. Furthermore, the server can sort the components according to the position of each component to determine the order of each component in the image scene feature area. For example, for the image scene feature area located at the bottom of the target image, the server can determine the center position of each component, sort the center position of each component horizontally from left to right, and determine the order of each component. For the image scene feature area located on the right side of the target image, the server can determine the center position of each component, sort the center position of each component vertically, and determine the order of each component. By sorting the components in the image scene feature area, it is possible to avoid image scene recognition errors that may occur when the component type and quantity are the same in different target scenes, thereby improving the accuracy of image scene recognition.

[0076] Furthermore, when the component attribute feature matches the component baseline feature, the scene of the target application recorded in the target image is determined according to the target scene, including: matching the component attribute feature with the component baseline feature to obtain a feature matching result; when the feature matching result indicates that the component attribute feature matches the component baseline feature, the target scene is determined as the scene of the target application recorded in the target image.

[0077] Specifically, the server matches the component attribute features with the component baseline features to obtain component feature matching results. When the feature matching results indicate that the component attribute features are consistent with the component baseline features, for example, when the component types and quantities appearing in the component attribute features are consistent, it can be determined that the target scene occurs, and the server can determine the target scene as the scene in which the target application is located as recorded in the target image. For example, when the component types, quantities, and sequences appearing in the component attribute features are consistent with the feature information in the component baseline features, it can be determined that the target scene occurs, and the server can determine the target scene as the scene in which the target application is located as recorded in the target image.

[0078] In this embodiment, the server performs component recognition on the image scene feature area through a pre-trained component recognition model to obtain component attribute features, and matches the component attribute features with the component baseline features. When the component attribute features are consistent with the component baseline features, the server can determine the scene of the target application recorded in the target image according to the target scene. Component recognition through the component recognition model can improve the accuracy of component recognition, which can not only improve the accuracy of image scene recognition, but also because the component recognition model has great versatility and does not need to be frequently replaced, it can take into account both high versatility and low maintenance costs.

[0079] In one embodiment, component recognition is performed on an image scene feature region to obtain scene features of a target image, including: performing component recognition on an image scene feature region to obtain component attribute features in the image scene feature region; and obtaining scene features of the target image based on the component attribute features and region features of the image scene feature region.

[0080] The regional feature may refer to the regional position information of the image scene feature region in the target image, and the regional position information may be specifically determined by the coordinates of the feature points of the image scene feature region, and the feature points may be determined according to the properties of the image scene feature region, such as the shape of the image scene feature region, etc. For example, if the image scene feature region is a square, the feature points may be the vertices of the square, and the regional position information of the image scene feature region is determined by the vertex coordinates of the four vertices of the image scene feature region.

[0081] Specifically, the server can use a pre-trained component recognition model to perform scene recognition on the image scene feature area to obtain component attribute features, and determine the scene features of the target image based on the component attribute features and the regional features of the image scene feature area. In specific implementation, when determining the regional features of the image scene feature area, the server can directly obtain the regional distribution features in the scene reference features, and determine the image scene feature area from the target image based on the regional distribution features. The image scene feature area can also be determined manually after dividing the target image based on experience. The regional position information of the image scene feature area is the regional feature of the image scene feature area. When determining the regional features of the image scene feature area, the server can also query and obtain the corresponding regional features based on the target scene that needs to be recognized at present. For example, the server can pre-build a corresponding regional feature library for various target applications and the target scenes corresponding to each of the target applications. When obtaining regional features, the server can obtain them from the regional feature library according to actual needs.

[0082] Furthermore, when the scene features match the scene baseline features, the scene of the target application recorded in the target image is determined according to the target scene, including: when the component attribute features and area features in the scene features match the scene baseline features, the scene of the target application recorded in the target image is determined according to the target scene.

[0083] Specifically, the server can match the component attribute features and the regional features with the scene reference features respectively. When the component attribute features and the regional features match the scene reference features, that is, the component attribute features and the regional features match the scene reference features, indicating that the target application is in the running process of the target scene, the server can determine the scene of the target application recorded in the target image according to the target scene.

[0084] In this embodiment, the server determines the scene features based on the component attribute features and the regional features, and matches the component attribute features and the regional features with the scene baseline features respectively. When the component attribute features, the regional features and the scene baseline features match consistently, the scene of the target application recorded in the target image is determined based on the target scene. By matching the component attribute features and the regional features with the scene baseline features, the accuracy of image scene recognition can be improved.

[0085] In one embodiment, scene features include component area distribution features and component baseline features; when component attribute features and area features in the scene features match the scene baseline features, determining the scene of the target application recorded in the target image according to the target scene includes: feature matching the area features in the scene features with the component area distribution features to obtain a first feature matching result; feature matching the component attribute features in the scene features with the component baseline features to obtain a second feature matching result; obtaining a feature matching result of the scene features and the scene baseline features based on the first feature matching result and the second feature matching result; when the feature matching result indicates a consistent match, determining the target scene as the scene of the target application recorded in the target image.

[0086] Among them, the first feature matching result refers to the result obtained by matching the regional feature with the component regional distribution feature, the second feature matching result refers to the result obtained by matching the component attribute feature with the component reference feature, and the feature matching result refers to the final matching result obtained by combining the first feature matching result and the second feature matching result. When the feature matching result indicates that the scene feature matches the scene reference feature, the target scene is determined to be the scene of the target application recorded by the target image.

[0087] Specifically, the server performs feature matching on the regional features and the component regional distribution features to obtain a first feature matching result, performs feature matching on the component attribute features and the component reference features to obtain a second feature matching result, and obtains the feature matching result by combining the first feature matching result and the second feature matching result. When the feature matching result represents a consistent match, the target scene is determined to be the scene where the target application recorded by the target image is located. In a specific implementation, the server may pre-set corresponding weights for the first feature matching result and the second feature matching result. When the first feature matching result and the second feature matching result are combined, the first feature matching result and the second feature matching result may be weighted with the corresponding weights respectively, and the final feature matching result may be determined according to the weighted result. Specifically, when the weighted result meets the preset feature matching condition, the feature representing the scene matches the scene reference feature, and when the weighted result does not meet the preset feature matching condition, the feature representing the scene matches the scene reference feature inconsistently. For example, a first weight may be set for the first feature matching result, and a second weight may be set for the second feature matching result, wherein the first weight and the second weight may be equal. When the first weight and the second weight are equal, it indicates that when performing image scene recognition, the regional features and the component attribute features have equal importance. The first weight and the second weight may also be unequal, indicating that when performing image scene recognition, one of the regional features and the component attribute features has a greater influence on the feature matching result. The first weight may be greater than or less than the second weight. The actual size relationship between the first weight and the second weight may be set according to the importance of the component regional features and the component attribute features relative to image scene recognition.

[0088] In this embodiment, the server obtains a feature matching result by combining the first feature matching result and the second feature matching result. When the feature matching result represents a consistent match, the target scene is determined to be the scene of the target application recorded in the target image. The final matching result is determined by combining the matching results of the two features, thereby effectively improving the accuracy of image scene recognition.

[0089] In one embodiment, component recognition is performed on an image scene feature region to obtain scene features of a target image, including: when the image scene feature region meets background segmentation recognition conditions, segmenting the image scene feature region into component regions according to a background background color segmentation method to obtain component segmentation regions; determining component attribute features of the component segmentation regions based on the color proportions in the component segmentation regions; and obtaining scene features of the target image based on the component attribute features.

[0090] Among them, the background segmentation and recognition condition can be a condition set according to the background information of the target image or the background information of the image scene feature area, which is used to determine whether the image scene feature area can be segmented and recognized by the background. The background color segmentation method can refer to the background color cutting of the image scene feature area. The component area segmentation can refer to the background color cutting of the image feature area to extract each component. The component segmentation area can be an area composed of components segmented from the background. The color proportion can refer to the color distribution of the component in the component segmentation area. For example, if it is determined according to the color distribution that a component in the component segmentation area is a component of a monochrome threshold, that is, it only includes any one of black, gray or white, then it can be indicated that the component is text; if it is determined according to the color distribution that a component in the component segmentation area is a component composed of multiple colors, then it can be indicated that the component may be an icon or a picture. When distinguishing between icons and pictures, the color distribution can be further determined, such as analyzing the proportion of various colors, the type of color, etc., to distinguish between icons and pictures.

[0091] Specifically, the server obtains the component segmentation area by segmenting the image feature area that meets the background segmentation and recognition conditions, and determines the component attribute characteristics according to the color proportion in the component segmentation area. In the specific implementation, the server can first determine the category of the target application corresponding to the image scene feature area, and determine whether the background segmentation and recognition conditions are met according to the category of the target application. For example, if the target application is a news application, since the background color of general news applications is a solid color, the server can determine that the image scene feature area meets the background segmentation and recognition conditions, and then the image scene feature area can be segmented into component areas according to the background color segmentation method. If the target application is a video playback application, since the background of the video playback application is generally composed of multiple colors, and the background is mostly dynamically changing, therefore, the server can determine that the image scene feature area does not meet the background segmentation and recognition conditions, and the server can not use the background color segmentation method to perform component recognition on the image scene feature area, but use a pre-trained target recognition model to perform component recognition to improve the accuracy of component recognition.

[0092] Furthermore, when determining the component attribute characteristics of the component segmentation area, the server may also combine the color ratio and the component size information to determine the type of the component. For example, when the server determines that there are components including multiple colors in the component segmentation area based on the color ratio in the component segmentation area, the server may determine that the component is not text, and obtain the component size information corresponding to the component. When the component size information reaches the set component size threshold, the component may be determined to be a picture, otherwise, the component is determined to be an icon.

[0093] In this embodiment, the server divides the image scene feature area into component areas according to the background color segmentation method for the image scene feature area that meets the background segmentation and recognition conditions, obtains the component segmentation area, and determines the component attribute characteristics according to the color proportion in the component segmentation area. Since the structure of the neural network model is relatively complex and the speed of component recognition is relatively slow, the speed of component recognition can be effectively improved by background segmentation, thereby improving the efficiency of image scene recognition.

[0094] In one embodiment, Figure 4 As shown, the scene reference features are obtained through the reference feature extraction step; the reference feature extraction includes the following steps:

[0095] Step 402, obtaining a historical scene video; the historical scene video is used to record changes in the application interface of the target application during its operation in the target scene.

[0096] Among them, historical scene video refers to a video that records the changes in the application interface of the target application during its operation in the target scene. There may be corresponding historical scene videos for each type of target application, and there may also be corresponding target historical scene videos for different target scenes of the same target application.

[0097] Specifically, the server obtains a historical scene video that records the changes in the application interface of the target application when it is in the target scene. In a specific implementation, the server can directly obtain the pre-stored historical scene video according to the target scene that needs to be identified. For example, the server can pre-build a corresponding video feature library for each type of target application or each type of target application's corresponding target scene. When the server obtains the historical scene video features, it can query them from the benchmark feature library according to actual needs. The historical scene video can also be obtained by a terminal running the target application and sent to the server. Specifically, when the terminal is running the target application, the screen can be recorded for the change of the application interface of the target application to the target scene, thereby recording the historical scene video.

[0098] Step 404: perform frame processing on the historical scene video to obtain at least one frame of historical scene image in the historical scene video.

[0099] Among them, frame processing refers to the process of dividing the historical scene video into multiple frames of historical scene images. After obtaining multiple frames of historical scene images, only one frame of historical scene image can be obtained to extract scene baseline features, or multiple frames of historical scene images can be obtained to extract scene baseline features.

[0100] Specifically, the server obtains at least one frame of historical scene image after performing frame processing on the historical scene video. In specific implementation, the server can evenly frame the historical scene video at short time intervals to ensure that the time between frames is fixed, so that when evaluating various functional scenarios of software applications, such as speed analysis, the accuracy of speed analysis can be effectively improved.

[0101] Step 406: extract scene reference features from at least one frame of historical scene image.

[0102] Specifically, the server may obtain only one frame of the historical scene image, or may obtain multiple frames of the historical scene image. The server may perform feature extraction on the obtained historical scene image, and extract scene baseline features from the historical scene image according to actual needs of scene recognition.

[0103] In this embodiment, the server obtains a historical scene video that records the changes in the application interface of the target application in the target scene, processes the historical scene video, obtains at least one frame of historical scene image, and extracts scene reference features from the historical scene image. Since the historical scene image records the changes in the application interface of the target application in the target scene, the server can accurately extract the standardized features of the changes in the application interface of the target application in the target scene.

[0104] In one embodiment, scene baseline features are extracted from at least one frame of historical scene image, including: determining a target historical scene image from at least one frame of historical scene image; performing component identification on the target historical scene image to obtain historical component attribute features of the target historical scene image; and obtaining scene baseline features based on the historical component attribute features.

[0105] Among them, the target historical scene image may refer to a key frame selected from the historical scene image, and the key frame may specifically be an image in which the target scene features are relatively obvious in the historical scene image. The historical component attribute features may refer to the interface features of the extracted target historical scene image, and the interface features may specifically include the category, quantity and distribution of components in the target historical scene image.

[0106] Specifically, after determining the target historical scene image, the server performs component recognition on the target historical scene image to obtain historical component attribute features, and determines the scene baseline features based on the historical component attribute features. In a specific implementation, when the server performs component recognition on the determined target historical scene image and obtains the historical scene attribute features, it can select a matching component recognition method to carry out component recognition based on the features of the target historical scene image, as well as the accuracy requirements and speed requirements of component recognition. For example, when the accuracy requirements for component recognition are high, a pre-trained component recognition model can be used for component recognition. For example, when the background of the target historical scene image is simple and the speed requirements for component recognition are very high, component recognition can be carried out by dividing the background color, thereby increasing the flexibility of component recognition to meet the component recognition situations in the same scene.

[0107] In this embodiment, the server selects an image with relatively obvious target scene features from historical scene images as the target historical scene image, and performs component identification on the selected target historical scene image to obtain historical component attribute features. Based on the historical component attribute features, the scene baseline features are determined, thereby improving the targetedness of scene component identification and facilitating improving the accuracy of image scene recognition.

[0108] In one embodiment, scene baseline features are obtained based on historical component attribute features, including: determining component distribution positions from a target historical scene image based on the historical component attribute features; dividing historical component areas in the target historical scene image based on the component distribution positions; determining component area distribution features of the historical component areas relative to the target historical scene image; and obtaining scene baseline features based on the historical component attribute features and the component area distribution features.

[0109] Among them, the component distribution position can refer to the spatial distribution of various components in the target historical scene image. Through the component distribution position, the target historical scene image can be further divided into historical component areas. The historical component area can be an area in the target historical scene image that can reflect the target scene where the target application is located. For different types of target applications or in different scenes, the component distribution position can be different. For example, for the news browsing page of news applications, components can include text, icons, and pictures, etc. Icons and pictures can be mainly distributed at the top and bottom of the news browsing page, etc., and text is mainly distributed in the middle of the news browsing page. For video playback applications, components can include text, icons, pictures, and videos, etc. Icons and pictures can be mainly distributed on the right side of the video browsing page, etc. Combined with the component distribution position, the regional historical component area that can reflect the target scene where the target application is located is divided. For example, for news applications, the historical component area can be distributed at the bottom of the target historical scene image; for video playback applications, the historical component area can be distributed on the right side of the target historical scene image.

[0110] Specifically, the server can determine the component distribution position from the target historical scene image based on the historical component attribute characteristics, divide the historical component area in the target historical scene image based on the component distribution position, and determine the component area distribution characteristics of the historical component area relative to the target historical scene image; obtain the scene reference characteristics based on the historical component attribute characteristics and the component area distribution characteristics. In specific implementation, when dividing the historical component area from the target historical scene image based on the component distribution position, the server can appropriately expand the area range of the historical component area, that is, expand the information corresponding to the location point of the historical component area. Specifically, the coordinates of the point position in the location point of the historical component area can be expanded outward to improve its compatibility.

[0111] In this embodiment, the server first performs component identification to determine the component distribution location, and then divides the historical component area from the target historical scene image based on the component distribution location. When dividing the historical component area, the area range of the historical component area can be appropriately expanded based on the component distribution location to improve compatibility.

[0112] In one embodiment, obtaining scene reference features extracted based on historical scene images includes: determining a target scene to be identified during the operation of a target application; and obtaining scene reference features extracted based on historical scene images according to a target scene query.

[0113] Specifically, the server can determine the target scene to be identified, query the pre-built benchmark feature library according to the target scene, and obtain the scene benchmark feature matching the target scene. For each target scene, the server can pre-build a corresponding benchmark feature library, and query the benchmark feature library according to the scene identifier of the target scene to be identified to obtain the corresponding scene benchmark feature. In this embodiment, the server can obtain the scene benchmark feature by determining the target scene and directly querying according to the target scene, so that the scene benchmark feature can be obtained quickly and accurately, thereby improving the efficiency of image scene recognition.

[0114] In one embodiment, obtaining a target image to be identified includes: obtaining a target video for recording changes in an application interface of a target application during operation; framing the target video according to a preset framing interval, and obtaining at least one frame of a framed image from the target video; and determining the target image to be identified from the at least one frame of the framed image.

[0115] Among them, the target video is a video used to record the changes in the application interface of the target application during its operation. When obtaining the target video, it is specifically obtained by recording the screen of the terminal running the target application, or it can be obtained by shooting the target application during the operation of the terminal. The preset frame interval can refer to the frame time of framing the target video. By framing the target video, multiple frame images are obtained, and at least one frame image is selected from each frame image. The selected frame image is determined as the target image to be identified. Specifically, the server obtains the target video and performs frame processing on the target video. Specifically, the preset frame interval can be obtained, and the target video is frame processed according to the frame interval to obtain multiple frame images. The server selects at least one frame image from the multiple frame images as the target image to be identified. For example, the server can obtain the target image in sequence from at least one frame image in the frame order, and can also randomly extract the target image from at least one frame image.

[0116] In this embodiment, the server obtains the target video and extracts at least one video frame as the target image according to the frame interval for scene recognition processing, which can reduce the amount of image data to be identified while ensuring the accuracy of detection of target application operation.

[0117] In one embodiment, the target image belongs to an image group, which includes at least one frame of image for recording changes in the application interface of the target application during its operation; and also includes: when there is no image in the image group whose scene features match the scene reference features, determining that the image group does not record that the target application is in the target scene.

[0118] The image group is composed of at least one frame of image that records the changes of the application interface of the target application during operation. Specifically, when the image group includes only one frame of image, the server obtains the frame of image from the image group as the target image, and performs image scene recognition on the target image to obtain scene features. If the scene features are inconsistent with the scene reference features, it is determined that the image group does not record that the target application is in the target scene. When the image group includes multiple frames of image, the server can traverse the image group in sequence, such as time sequence, and obtain the current frame of image from the image group as the target image, wherein the current frame of image can be the first frame of image, and perform scene recognition on the target image to obtain the scene features of the target image. If the scene features of the target image are inconsistent with the scene reference features, the server can obtain the next frame of image of the current frame from the image group as the target image, and re-perform scene recognition on the target image to obtain new scene features, and match the new scene features with the scene reference features. If the scene features obtained after scene recognition of each frame of image in the image group are inconsistent with the scene reference features, it is determined that the image group does not record that the target application is in the target scene.

[0119] In this embodiment, the server traverses the image group and performs scene recognition on each traversed image to obtain scene features. When there is no image in the image group whose scene features match the scene reference features, it is determined that the image group does not record the target application in the target scene, which means that the target scene of the target application does not appear, thereby achieving rapid recognition of image scenes.

[0120] In one embodiment, the target image belongs to an image group, and the image group includes at least one frame of image for recording changes in the application interface of the target application during operation; the image scene recognition also includes: determining the operation interface recorded by each frame of the image in the image group according to the feature matching results of the scene features of each frame of the image in the image group and the scene reference features; based on the operation interface recorded by each frame of the image in the image group, determining from the image group a startup image that records the target application triggering the start-up of the target scene and a scene image that records the target application completing the entry into the target scene; and determining, according to the timestamp of the startup image and the timestamp of the scene image, a scene startup speed of the target application entering the target scene recorded by the image group.

[0121] The running interface recorded in each frame image refers to the screen that appears during the running process of the target application. Each frame image in the image group may correspond to a corresponding running interface. The running interfaces of each frame image may be the same or different. The specific running interface conditions may be related to the actual running conditions of the target application, the frame interval, etc. The startup image may refer to the running interface when the target application is started, the scene image of entering the target scene may refer to the running interface presenting the target scene, the timestamp of the startup image may refer to the time when the startup image is generated, and the timestamp of the scene image may refer to the time when the scene image is generated.

[0122] Specifically, the server obtains an image group, which includes at least one frame of image used to record the changes in the application interface of the target application during operation. The server can traverse each image in the image group and perform image scene recognition respectively to obtain the scene recognition results of each image in the image group, that is, the server determines the operation interface recorded by each image based on the feature matching results of the scene features of each frame image and the scene reference features. The server determines the startup image and scene image in the image group based on the operation interface recorded by each frame image in the image group. The startup image is an image recorded when the target application triggers the start of the target scene, and the scene image is an image recorded when the target application completes entering the target scene. That is, during the operation of the target application, if the target scene is triggered, the interface of the target application will change. According to the changes in the target application interface, the scene startup speed of the target application triggering the entry into the target scene can be determined.

[0123] In a specific application, the time intervals of each frame image in the image group are different, and there may be multiple frames of startup images and multiple frames of scene images. The server can screen the multiple frames of startup images and multiple frames of scene images to determine the startup images and scene images used to determine the scene startup speed. For example, if in the image group, after the server performs image scene recognition on each frame image, it is determined that there are 5 frames of images recorded in which the target application triggers the startup of the target scene, and there are 3 frames of images recorded in which the target application completes entering the target scene, then the server can determine a startup image and a scene image from the multiple frames according to the time sequence of each frame image. For example, the server can record 5 frames in the image of the target application triggering the startup of the target scene, and the image with the earliest timestamp is determined as the startup image, and the server can record 3 frames in the image of the target application completing the entry into the target scene, and the image with the earliest timestamp is determined as the scene image. In addition, the server can also determine the middle frame in the multiple frames of images as the corresponding startup image or scene image, such as the server can record 5 frames in the image of the target application triggering the startup of the target scene, and the third frame is determined as the startup image; record 3 frames in the image of the target application completing entering the target scene, and the second frame is determined as the scene image.

[0124] The server determines the timestamps of the startup image and the scene image, respectively, and the timestamps represent the time sequence in which the startup image and the scene image appear. The server determines the scene startup speed of the target application recorded in the image group entering the target scene based on the timestamp of the startup image and the timestamp of the scene image. For example, the difference between the timestamp of the scene image and the timestamp of the startup image can be determined as the scene startup speed of the target application entering the target scene, so that the time from the start of the target image to the time when it runs to the target scene can be analyzed, so as to evaluate the startup speed of the target application.

[0125] In this embodiment, the server determines the scene startup speed of the target application recorded in the image group entering the target scene based on the timestamp of the startup image and the timestamp of the scene image. This can be applied to the distinction between different scenes in image scene recognition, such as speed indicator evaluation for mobile terminals, which can replace the current manual inspection and save team costs.

[0126] The present application also provides an application scenario, which applies the above-mentioned image scene recognition method.

[0127] Specifically, the application of the image scene recognition method in the application scenario is as follows:

[0128] When evaluating various functional scenarios of software applications, scene recognition is often performed by changing the interface of the software application to detect various functional indicators. At present, there are two main ways to identify scenes: one is to rely on the template image with scene features set in advance, and perform template matching detection and feature matching detection with each frame image in the video to be analyzed to achieve scene analysis. Among them, the scene mainly refers to various scenes that appear in software applications, such as advertising pages, shopping cart pages, item browsing pages, and news browsing pages. Template matching is the most primitive and basic pattern recognition method. It identifies the object by studying where the pattern of a specific object is located in the image. Template matching is the most basic and most commonly used matching method in image processing. Feature matching refers to the image matching method that takes the features extracted from the image as conjugate entities, and takes the proposed feature attributes or description parameters, which are actually the features of the features, and can also be considered as the features of the image as matching entities, and calculates the similarity measure between matching entities to achieve conjugate entity registration. The other is to rely on AI (Artificial Intelligence) scene classification, pre-train the AI ​​component recognition model, and then use the trained AI component recognition model to perform scene analysis on the images after the video is divided into frames. AI is a new technical science that studies and develops theories, methods, technologies and application systems for simulating, extending and expanding human intelligence.

[0129] Among them, template matching has its own limitations, mainly manifested in that it can only move in parallel. If the matching target in the original image rotates or changes size, the template matching is invalid. The feature matching operation rate is slow, and it is still difficult to break through the speed bottleneck even through local high-quality judgment. AI scene classification has great limitations in complex scene analysis, gradual interference, and overall engineering automation.

[0130] Based on this, the image scene recognition method provided in this embodiment can be applied to image scene recognition, replacing manual detection and saving team costs. Through the AI ​​component recognition model, the key frames of the scene feature extraction video are AI component recognized to obtain the historical component attribute features, and the core area is delineated according to the historical component attribute features, the core area is locked and the scene component features are recorded. The core area can refer to the area in the key frame that can reflect the target scene of the software application, and the component can refer to the text, icon, picture and video that appear in the scene. Through the extracted scene component features, the subsequent video to be analyzed is judged, and the video to be analyzed produced in different platforms and different types of terminals of the same scene can be analyzed, reducing the recognition interference caused by different terminal resolutions and different component display forms, and the AI ​​component recognition model has greater versatility, does not need to be frequently replaced, effectively reduces the use and maintenance costs, and can have both high versatility and low maintenance costs. In addition, if the background in the actual application scene is relatively simple, you can try to extract each component directly by cutting the background color, and then divide the types by thresholds such as the color ratio and black and white ratio of the component, which can effectively improve the calculation speed.

[0131] Furthermore, the video to be analyzed is traversed frame by frame to obtain an image group. By traversing the image group and determining the core area for each frame in the image group, component identification is performed on the core area. This can improve the specificity of scene component identification and reduce the identification interference caused by different terminal resolutions and different component display forms, thereby helping to improve the accuracy of image scene recognition.

[0132] The image scene recognition in this embodiment can be divided into two stages: feature extraction and scene determination. Feature extraction is achieved by identifying components of key frames in the scene feature extraction video, defining core areas, and recording the main feature information of the scene. The scene feature extraction video is a video used for pre-feature extraction, which has an obvious style of the scene to be tested. Scene determination is to divide the video to be analyzed into frames, obtain the target image to be identified, extract the core area of ​​the target image, and then perform component identification on the core area to obtain scene features. The scene features are compared with the main feature information of the scene recorded in the feature extraction to determine whether the scene appears. Figure 5As shown, on the one hand, for feature extraction processing, first obtain the scene feature extraction video, that is, obtain the historical scene video, perform frame processing, screen out frames with obvious scene features, and use the AI ​​component recognition model to perform component recognition. Based on the component recognition results, the core area is divided, and the features of the core area are extracted and the scene benchmark features are recorded. On the other hand, for the scene determination processing, obtain the video to be analyzed, perform frame processing, and traverse each frame to determine whether the traversal is completed. If not, perform core area extraction for the current frame, and perform component recognition through the AI ​​component recognition model. Compare the identified component features with the scene benchmark features to determine whether they are consistent. If they are consistent, it is considered that the scene recognition of the current frame is successful; if not, obtain the next frame for scene recognition processing. After traversing all the frames, if the scene is not recognized, it is considered that the scene does not appear in the video to be analyzed.

[0133] Specifically, for feature extraction, a scene feature extraction video is obtained. The scene feature extraction video refers to a video recording the changes in the application interface of the software application in the target scene. By framing the scene feature extraction video, at least one frame of the framed image is obtained. For the speed analysis task, when framing the video, in addition to the basic splitting of the video into multiple frames, the following two points can also be achieved: one is to set a shorter time interval to ensure accuracy; the other is to set the framing mode to uniform framing to ensure that the time between frames is fixed.

[0134] After the scene feature extraction video is framed, at least one framed image can be obtained, and each framed image records a corresponding operation interface, such as a startup image of a target application triggering a target scene, a scene image of a target application entering a target scene, and the like. Figure 6 As shown in FIG. 1 , a schematic diagram of video framing obtained after scene feature extraction and video framing is performed. The schematic diagram of video framing includes the running interface recorded in each frame image. The key frame may refer to a frame with obvious scene features in each frame image, that is, a scene image in which the target application enters the target scene. Figure 6 In the example, a total of 18 video frames are obtained through frame segmentation, among which the 16th frame can be determined to be a key frame, that is, the 16th frame records the target scene.

[0135] Furthermore, by performing AI component recognition on key frame images, components in the key frame images can be extracted. When performing AI component recognition, the pre-trained neural network model can be used to perform component recognition on the key frame images to extract component features. The neural network model can be pre-built using various algorithms according to actual needs, and the classification of component extraction can be defined by oneself, such as Figure 7As shown in the figure, it is a schematic diagram of component extraction obtained after component extraction of key frame images. Taking news applications as an example, the key frame image can be a news browsing page. By performing AI component recognition on the news browsing page of news applications, the extracted components can include three categories: text, icons, and pictures. For news applications, the top of the news browsing page can mainly include pictures, a small amount of text and other components, the middle part of the news browsing page mainly includes a large amount of text, and the top of the news browsing page can mainly consist of a small amount of text, icons, etc. Figure 7 As shown, after component identification is performed on the page of the news application, various components in areas 701 and 702 can be obtained, including various types of components such as text, icons, and pictures.

[0136] Furthermore, the key frame image is then region-defined, and the main features of the scene can be considered in this step. Figure 8 As shown in FIG. 1 , a schematic diagram of region demarcation is obtained after the region demarcation of the news browsing page is performed. Figure 8 Two core areas marked with slashes, S1 and S2, are divided. When the core areas are delineated, the area range can be appropriately expanded to improve its compatibility. Then, the features of the two areas S1 and S2 are refined based on the component features as the benchmark feature data. This is not limited to the type, quantity and location of the components. Finally, the relative range of the S1 area and the S2 area and the features of the components in the S1 area and the S2 area are summarized and recorded as the scene benchmark features. For example, for the S1 area, its scene judgment features are: S1 area location information (0, 0.28, 1, 0.38) + picture 2 + text greater than 2, and for the S2 area: S2 area location information (0, 0.89, 1, 0.98) + picture 0 + icon 4 + text greater than 0.

[0137] Further, for the processing of scene determination, similar to the feature extraction step, a video to be analyzed is obtained, and the video to be analyzed can be obtained by recording the screen for the application interface changes of the target application when the terminal is running the target application. For the video to be analyzed, it can be framed according to the preset frame interval to obtain an image group, and the image group includes at least one frame of framed image. Further traverse the image group, randomly select a frame of image from the image group as the target image to be identified, and for the target image to be identified, core area extraction can be performed to determine the core area of ​​the target image, so as to effectively filter out the image area in the target image that is not related to scene recognition, so as to achieve the effect of removing redundancy. After the core area is obtained, the component identification can be performed on the core area through a pre-trained neural network model to obtain the scene feature. After obtaining the scene feature, the scene feature can be compared with the scene reference feature obtained in the feature extraction. If the feature comparison is consistent, it indicates that the target scene appears. If it is inconsistent, continue to traverse the image group. If the scene features obtained after scene recognition for each frame of the image in the image group are inconsistent with the scene main feature information, it is determined that the image group does not record the target application in the target scene.

[0138] The image scene recognition method provided in this embodiment, through AI component recognition of the key frame of the video, demarcates and records the core area of ​​the recognized image, then traverses the video to be analyzed by frame, extracts the core area of ​​each frame and recognizes the component, and finally compares it with the recorded features to determine whether the scene appears. It can be applied to the distinction between different scenes in video analysis, which is commonly used in the speed index evaluation of mobile terminals, such as the startup speed of the application, and can replace manual judgment of whether the specified scene appears in this video. Its characteristics are to avoid the problems of poor compatibility, slow feature matching speed and frequent training of AI scene classification in traditional mode matching, and can complete scene judgment across various screen sizes and platforms, which can effectively reduce the recognition interference caused by different terminal resolutions and different component display forms. The component features of the image after the video is framed are taken as the core to determine the scene corresponding to the frame. The system frames the scene feature extraction video, analyzes the key frames with scenes in the image group, first identifies the components of the image in the analysis, and then partitions the image to form unique features in this scene. Finally, the feature is compared with each frame in the video to be analyzed to determine whether the scene appears. Moreover, the image scene recognition method provided in this embodiment is applicable to the scene determination of videos produced by various platforms, because the component features of the core area can effectively reduce the recognition interference caused by different terminal resolutions and different component display forms, and because its model has high versatility in similar software, it can achieve both anti-interference and low operation and maintenance costs.

[0139] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0140] Based on the same inventive concept, the embodiment of the present application also provides an image scene recognition device for implementing the image scene recognition method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more image scene recognition device embodiments provided below can refer to the limitations of the image scene recognition method above, and will not be repeated here.

[0141] In one embodiment, Fig. 9 As shown, an image scene recognition device 900 is provided, comprising: an image acquisition module 902, a reference feature acquisition module 904, a scene feature acquisition module 906 and a scene determination module 908, wherein:

[0142] The image acquisition module 902 is used to acquire the target image to be identified; the target image is an image that records the changes in the application interface of the target application during its operation.

[0143] The reference feature acquisition module 904 is used to acquire scene reference features extracted based on historical scene images; the historical scene images are images that record changes in the application interface of the target application during its operation in the target scene.

[0144] The scene feature acquisition module 906 is used to determine the image scene feature region from the target image, and perform component recognition on the image scene feature region to obtain the scene feature of the target image.

[0145] The scene determination module 908 is used to determine the scene of the target application recorded in the target image according to the target scene when the scene feature matches the scene reference feature.

[0146] In one embodiment, the scene baseline features include component area distribution features and component baseline features; the scene feature acquisition module 906 is also used to determine the image scene feature area from the target image according to the component area distribution features; perform component recognition on the image scene feature area, and obtain the scene features of the target image based on the component attribute features obtained by the component recognition.

[0147] In one embodiment, the scene determination module 908 is further configured to determine the scene of the target application recorded in the target image according to the target scene when the component attribute feature matches the component reference feature.

[0148] In one embodiment, the scene feature acquisition module 906 is also used to perform component recognition on the image scene feature region through a pre-trained component recognition model to obtain component attribute features in the image scene feature region; and obtain the scene features of the target image based on the component attribute features.

[0149] In one embodiment, the scene determination module 908 is also used to match the component attribute features with the component baseline features to obtain a feature matching result; when the feature matching result indicates that the component attribute features are consistent with the component baseline features, the target scene is determined as the scene of the target application recorded in the target image.

[0150] In one embodiment, the scene feature acquisition module 906 is also used to perform component recognition on the image scene feature region to obtain component attribute features in the image scene feature region; and obtain the scene features of the target image based on the component attribute features and the region features of the image scene feature region.

[0151] In one embodiment, the scene determination module 908 is further configured to determine the scene of the target application recorded in the target image according to the target scene when the component attribute features and the region features in the scene features match the scene reference features.

[0152] In one embodiment, the scene determination module 908 is further used to perform feature matching on the regional features in the scene features and the component regional distribution features to obtain a first feature matching result; perform feature matching on the component attribute features in the scene features and the component baseline features to obtain a second feature matching result; obtain a feature matching result between the scene features and the scene baseline features based on the first feature matching result and the second feature matching result; when the feature matching result indicates a consistent match, the target scene is determined as the scene in which the target application recorded in the target image is located.

[0153] In one embodiment, the scene feature acquisition module 906 is also used to divide the image scene feature area into component areas according to the background background color segmentation method to obtain component segmentation areas when the image scene feature area meets the background segmentation and recognition conditions; determine the component attribute characteristics of the component segmentation area based on the color proportion in the component segmentation area; and obtain the scene characteristics of the target image according to the component attribute characteristics.

[0154] In one embodiment, it also includes a reference feature extraction module, which is used to obtain a historical scene video; the historical scene video is used to record the application interface changes of the target application during the operation process in the target scene; the historical scene video is frame-processed to obtain at least one frame of historical scene image in the historical scene video; and the scene reference feature is extracted from at least one frame of historical scene image. In one embodiment, the reference feature extraction module is also used to determine the target historical scene image from at least one frame of historical scene image; perform component recognition on the target historical scene image to obtain the historical component attribute feature of the target historical scene image; and obtain the scene reference feature according to the historical component attribute feature.

[0155] In one embodiment, the baseline feature extraction module is also used to determine the component distribution position from the target historical scene image based on the historical component attribute characteristics; based on the component distribution position, divide the historical component area in the target historical scene image; determine the component area distribution characteristics of the historical component area relative to the target historical scene image; and obtain the scene baseline feature based on the historical component attribute characteristics and the component area distribution characteristics.

[0156] In one embodiment, the reference feature acquisition module 904 is further used to determine a target scene to be identified during the operation of the target application; and obtain the scene reference features extracted based on the historical scene images according to the target scene query.

[0157] In one embodiment, the image acquisition module 902 is also used to acquire a target video for recording changes in the application interface of the target application during its operation; to frame the target video according to a preset frame interval, and to obtain at least one frame image from the target video; and to determine the target image to be identified from the at least one frame image.

[0158] In one embodiment, the target image belongs to an image group, which includes at least one frame of image for recording changes in the application interface of the target application during its operation; the scene determination module 908 is also used to determine that the image group has not recorded the target application in the target scene when there is no image in the image group whose scene features match the scene reference features.

[0159] In one embodiment, the target image belongs to an image group, and the image group includes at least one frame of image for recording changes in the application interface of the target application during operation; and also includes a speed analysis module, which is used to determine the operation interface recorded by each frame of the image in the image group according to the feature matching results of the scene features of each frame of the image in the image group and the scene reference features; based on the operation interface recorded by each frame of the image in the image group, determine from the image group a startup image that records the target application triggering the start-up of the target scene and a scene image that records the target application completing the entry into the target scene; and determine the scene startup speed of the target application entering the target scene recorded by the image group according to the timestamp of the startup image and the timestamp of the scene image.

[0160] Each module in the above-mentioned image scene recognition device can be implemented in whole or in part by software, hardware or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0161] In one embodiment, a computer device is provided. The computer device may be a server or a terminal. The internal structure diagram thereof may be as follows: Fig.10 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, memory and input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database of the computer device is used to store image scene recognition data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an image scene recognition method is implemented. Those skilled in the art can understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0162] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0163] In one embodiment, a computer-readable storage medium is provided, storing a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0164] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0165] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0166] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0167] The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification. The above-mentioned embodiments only express several implementation methods of the present application, and their descriptions are relatively specific and detailed, but they cannot be understood as limiting the scope of the patent of this application. It should be pointed out that for ordinary technicians in this field, without departing from the concept of the present application, several deformations and improvements can be made, which all belong to the scope of protection of the present application. Therefore, the scope of protection of the present application shall be based on the attached claims.

Claims

1. An image scene recognition method, characterized in that: The method comprises: Acquire a target image to be identified; the target image is an image that records changes in the application interface of the target application during its operation; Acquire scene reference features extracted based on historical scene images; the historical scene images are images that record changes in the application interface of the target application during its operation in the target scene; Determining an image scene feature region from the target image, and performing component recognition on the image scene feature region to obtain scene features of the target image; When the scene feature matches the scene reference feature, the scene in which the target application recorded by the target image is located is determined according to the target scene.

2. The method according to claim 1, characterized in that: The scene reference feature includes a component area distribution feature and a component reference feature; determining the image scene feature area from the target image, and performing component recognition on the image scene feature area to obtain the scene feature of the target image includes: Determining an image scene feature region from the target image according to the component region distribution characteristics; Performing component recognition on the scene feature area of ​​the image, and obtaining the scene feature of the target image based on the component attribute features obtained by the component recognition; When the scene feature matches the scene reference feature, determining the scene of the target application recorded by the target image according to the target scene includes: When the component attribute feature matches the component reference feature, the scene of the target application recorded by the target image is determined according to the target scene.

3. The method according to claim 2, characterized in that The performing component recognition on the image scene feature area and obtaining the scene feature of the target image based on the component attribute feature obtained by the component recognition includes: Performing component recognition on the image scene feature region through a pre-trained component recognition model to obtain component attribute features in the image scene feature region; Obtaining scene features of the target image according to the component attribute features; When the component attribute feature matches the component reference feature, determining the scene of the target application recorded by the target image according to the target scene includes: Matching the component attribute feature with the component reference feature to obtain a feature matching result; When the feature matching result indicates that the component attribute feature matches the component reference feature, the target scene is determined to be the scene where the target application recorded by the target image is located.

4. The method according to claim 1, characterized in that: The performing component recognition on the image scene feature area to obtain the scene feature of the target image includes: Performing component recognition on the image scene feature region to obtain component attribute features in the image scene feature region; Obtaining the scene feature of the target image according to the component attribute feature and the regional feature of the image scene feature region; When the scene feature matches the scene reference feature, determining the scene of the target application recorded by the target image according to the target scene includes: When the component attribute feature and the region feature in the scene feature match the scene reference feature, the scene in which the target application recorded by the target image is located is determined according to the target scene.

5. The method according to claim 4, characterized in that The scene feature includes a component area distribution feature and a component reference feature; when the component attribute feature and the area feature in the scene feature match the scene reference feature, determining the scene of the target application recorded by the target image according to the target scene, includes: Perform feature matching on the region feature in the scene feature and the component region distribution feature to obtain a first feature matching result; Performing feature matching on the component attribute feature in the scene feature and the component reference feature to obtain a second feature matching result; Obtaining a feature matching result between the scene feature and the scene reference feature according to the first feature matching result and the second feature matching result; When the feature matching result indicates a consistent match, the target scene is determined to be the scene where the target application recorded by the target image is located.

6. The method according to claim 1, characterized in that The performing component recognition on the image scene feature area to obtain the scene feature of the target image includes: When the image scene feature region meets the background segmentation recognition condition, the image scene feature region is segmented into component regions according to the background color segmentation method to obtain component segmentation regions; Determining component attribute characteristics of the component segmentation area based on the color proportion in the component segmentation area; The scene features of the target image are obtained according to the component attribute features.

7. The method according to claim 1, characterized in that The scene reference feature is obtained through a reference feature extraction step; the reference feature extraction step includes: Acquire a historical scene video; the historical scene video is used to record changes in the application interface of the target application during the operation of the target scene; Performing frame processing on the historical scene video to obtain at least one frame of historical scene image in the historical scene video; A scene reference feature is extracted from the at least one frame of historical scene image.

8. The method according to claim 7, characterized in that The step of extracting scene reference features from the at least one frame of historical scene image comprises: Determining a target historical scene image from the at least one frame of historical scene image; Performing component recognition on the target historical scene image to obtain historical component attribute features of the target historical scene image; A scene reference feature is obtained according to the historical component attribute feature.

9. The method according to claim 8, characterized in that The step of obtaining scene reference features according to the historical component attribute features includes: Determining component distribution locations from the target historical scene image according to the historical component attribute characteristics; Based on the component distribution positions, dividing a historical component area in the target historical scene image; Determining component area distribution characteristics of the historical component area relative to the target historical scene image; A scene reference feature is obtained according to the historical component attribute feature and the component regional distribution feature.

10. The method according to claim 1, characterized in that The step of obtaining scene reference features extracted based on historical scene images includes: Determining a target scenario to be identified during operation of the target application; The scene reference features extracted based on the historical scene images are obtained according to the target scene query.

11. The method according to any one of claims 1 to 10, characterized in that: The step of obtaining a target image to be identified comprises: Obtain a target video for recording changes in the application interface of the target application during its operation; Divide the target video into frames according to a preset frame interval, and obtain at least one frame image from the target video; A target image to be identified is determined from the at least one frame of divided image.

12. The method according to any one of claims 1 to 10, characterized in that: The target image belongs to an image group, and the image group includes at least one frame of image for recording changes in the application interface of the target application during operation; the method further includes: When there is no image in the image group whose scene feature matches the scene reference feature, it is determined that the image group does not record that the target application is in the target scene.

13. The method according to any one of claims 1 to 10, characterized in that: The target image belongs to an image group, and the image group includes at least one frame of image for recording changes in the application interface of the target application during operation; the method further includes: Determining the operation interface recorded in each frame image in the image group according to the feature matching result of each scene feature of each frame image in the image group and the scene reference feature; Based on the running interfaces recorded in the respective frames of the image group, determining from the image group a startup image recorded with the target application triggering the startup of the target scene and a scene image recorded with the target application completing the entry into the target scene; A scene startup speed of the target application entering the target scene recorded by the image group is determined according to the timestamp of the startup image and the timestamp of the scene image.

14. An image scene recognition device, characterized in that: The device comprises: An image acquisition module is used to acquire a target image to be identified; the target image is an image that records changes in the application interface of the target application during its operation; A reference feature acquisition module, used to acquire scene reference features extracted based on historical scene images; the historical scene images are images that record changes in the application interface of the target application during its operation in the target scene; A scene feature acquisition module, used to determine an image scene feature region from the target image, and perform component recognition on the image scene feature region to obtain scene features of the target image; A scene determination module is used to determine the scene of the target application recorded by the target image according to the target scene when the scene feature matches the scene reference feature.

15. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 13 are implemented.

16. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 13 are implemented.

17. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 13 are implemented.