Image analysis method, apparatus, and non-transitory computer-readable storage medium

By analyzing the user's eye movement to determine the local analysis area of ​​the image, the problem of the inability to dynamically adjust the image processing range in existing technologies is solved, thus achieving more efficient image analysis.

CN123166567APending Publication Date: 2026-11-27SQ TECH (SHANGHAI) CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611696367.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-29
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing image analysis systems cannot dynamically limit the image processing range based on the user's real-time visual focus location, resulting in the analysis of a large image area and causing unnecessary data processing and computational burden.

Method used

The system acquires the user's eye movement status through sensors, analyzes gaze focus data, filters out noise to determine the stable focus position and fixation duration, defines the local analysis area, and performs local image analysis.

Benefits of technology

It reduces the operational burden of user-specified analysis areas, improves the correspondence between image analysis areas and user-focused content, and reduces unnecessary data processing and computational burden.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123166567A_ABST
    Figure CN123166567A_ABST
Patent Text Reader

Abstract

An image analysis method, device and non-transitory computer readable storage medium, by detecting the eye movement state of the user to obtain the line of sight focus position and the gaze duration of the user relative to the target image, then according to the line of sight focus data to obtain the stable focus position, and according to the stable focus position and the gaze duration to define the local analysis area in the target image, and to perform local image analysis on the local analysis area to generate the corresponding image analysis result. Technical means can automatically take the image content concerned by the user as the processing target of subsequent image analysis, and achieve the technical effect of reducing the operation burden of user specified analysis area and improving the corresponding degree of image analysis area and user concerned content.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] An image analysis method, apparatus, and non-transitory computer-readable storage medium are disclosed, particularly a method, apparatus, and non-transitory computer-readable storage medium for defining a local analysis region in a target image based on the user's eye movement state and performing image analysis on the local analysis region. Background Technology

[0002] With the development of digital imaging, wearable devices, and artificial intelligence image analysis technologies, users can view digital images through smart glasses, mobile devices, computers, augmented reality devices, or other electronic devices, and use image analysis technologies to identify people, objects, text, or scenes within the images. For example, image analysis systems can perform object detection, image segmentation, image classification, attribute acquisition, or other image analysis on the images viewed by the user to provide the user with information related to the image content.

[0003] However, when an image contains multiple people, objects, or different content, users typically only want to analyze a portion of the image, rather than performing a complete image analysis on the entire image. Existing image analysis systems usually require users to perform additional image content selection operations, such as specifying the image content or region to be analyzed through clicking, touch, mouse operation, box selection, or other input methods. For example, when a user is viewing a photo containing multiple people, if they want to obtain image analysis information for a specific person, they may need to first click on the person or select an analysis area around the person, and then the image analysis system will perform subsequent analysis on the specified area. When users are viewing an image, these additional specifying operations may also interrupt their original viewing behavior, failing to meet the intuitive and hands-free real-time interactive needs.

[0004] Furthermore, traditional image analysis methods typically input images into an image analysis model and perform image analysis on a large area of ​​the image to obtain information about objects, attributes, or scenes. However, when an image contains multiple different images, the image content that a user is actually focused on when viewing the image may only be located in one local area. Traditional image analysis methods may still perform image analysis on a large area or even the entire image, thus requiring the processing of a large amount of image data that is irrelevant to the content that the user is currently visually focused on.

[0005] Furthermore, a user's visual focus may continuously change over time while viewing an image, such as moving from one person to another, or from one person to an object held by that person. Traditional image analysis methods typically cannot dynamically limit the image processing range based on the user's real-time visual focus. Therefore, even if the image content actually being viewed by the user differs at different times, the same or similar levels of image analysis may still be continuously performed on a large range of image data, resulting in unnecessary image data processing and computational burdens.

[0006] In summary, it is evident that existing technologies have long suffered from the problem that image analysis requires processing large image areas, making it impossible to dynamically limit the image processing range based on the user's real-time visual focus. Therefore, it is necessary to propose improved technical methods to solve this problem. Summary of the Invention

[0007] In view of the problem that existing technologies cannot dynamically limit the image processing range based on the user's real-time visual focus position, the present invention discloses an image analysis method, apparatus, and non-transitory computer-readable storage medium, wherein: The image analysis method disclosed in this invention includes at least the following steps: acquiring the user's eye movement state through a sensor; acquiring the user's gaze focus data relative to a target image based on the user's eye movement state, wherein the gaze focus data includes at least the gaze focus position and fixation duration; filtering noise from the gaze focus data to obtain a stable focus position; defining a local analysis region in the target image based on the stable focus position and fixation duration, wherein the local analysis region includes the image content corresponding to the stable focus position; and performing local image analysis on the local analysis region to generate an image analysis result corresponding to the local analysis region.

[0008] The image analysis apparatus disclosed in this invention includes at least: a memory for storing computer instructions; and a processor for executing the computer instructions to implement the various steps in the image analysis method described above.

[0009] The non-transitory computer-readable storage medium disclosed in this invention stores a computer program, which, when executed by the processor of the device, enables the device to implement the above-described image analysis method.

[0010] The image analysis method, image analysis device, and non-transitory computer-readable storage medium disclosed in this invention are as described above. This invention obtains the user's gaze focus position and gaze duration relative to the target image by detecting the user's eye movement state, obtains a stable focus position based on the gaze focus data, defines a local analysis region in the target image based on the stable focus position and gaze duration, and performs local image analysis on the local analysis region to generate corresponding image analysis results. This solves the problems existing in the prior art and can achieve the technical effect of reducing the user's operational burden in specifying the analysis region and improving the correspondence between the image analysis region and the content the user is interested in. Attached Figure Description

[0011] Figure 1 This is a schematic flowchart of the image analysis method provided in the embodiments of the present invention.

[0012] Figure 2 This is a schematic diagram of the image analysis device shown in the embodiment of the present invention.

[0013] Figure 3 This is a schematic diagram of the structure of a computer system for an electronic device, as shown in the embodiments provided by the present invention.

[0014] The annotations in the attached figures are explained as follows: S110: Acquires the user's eye movement status via sensors. S120: Obtain the user's gaze focus data relative to the target image based on the user's eye movement status. The gaze focus data includes the gaze focus position and fixation duration. S130: Noise filtering is applied to the line-of-sight focus data to obtain a stable focus position. S140: Define the local analysis region in the target image based on the stable focus position and fixation duration. S150: Perform local image analysis on the local analysis region to generate image analysis results corresponding to the local analysis region. 200: Image Analysis Device 201: Processor 203: Memory 209: Computer Instructions 210: Status Acquisition Module 220: Data Acquisition Module 230: Data Processing Module 240: Region Delineation Module 250: Image Analysis Module 260: Interactive Presentation Module 300: Computer System 301: CPU 302:ROM 303: RAM 304: Bus 305: I / O Interface 306: Input Section 307: Output Section 308: Storage Section 309: Communication part 310: Driver 311: Removable media Detailed Implementation The features and implementation methods of the present invention will be described in detail below with reference to the accompanying drawings and embodiments. The content is sufficient to enable those skilled in the art to fully understand the technical means adopted by the present invention to solve technical problems and to implement it accordingly, thereby achieving the effects that the present invention can achieve.

[0015] It should be noted that the accompanying drawings are incorporated in and constitute a part of this specification, used to illustrate embodiments conforming to the present invention, and together with the content of this specification, serve to explain the principles of the present invention. It should be understood that the drawings described below are only some embodiments of the present invention, and those skilled in the art can obtain other embodiments based on these drawings and the content of this specification without departing from the spirit and scope of the present invention.

[0016] The accompanying drawings provided in the following embodiments are only schematic illustrations of the basic concept of the present invention. The number, shape, size and arrangement of the elements shown in the drawings are not drawn according to the actual implementation. In actual implementation, the number, type, proportion and arrangement of each element can be adjusted according to actual needs.

[0017] In this invention, "and / or" describes the relationship between related items, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The symbol " / " generally indicates that the related items are in an "or" relationship.

[0018] This invention can obtain the user's stable focal position and fixation duration based on the user's eye movement state, and then perform local image analysis on local analysis areas in the target image based on the stable focal position and fixation duration to generate corresponding image analysis results. This invention can also interact with the user based on the image analysis results.

[0019] Please see Figure 1 , Figure 1 This is a flowchart of the image analysis method of the present invention. The image analysis method proposed in this invention is applied to a device, which may include at least one sensor or be connected to at least one sensor, and the device may also include a processor that performs data processing. Figure 1In the illustrated embodiment, the image analysis method includes steps S110 to S150. In some embodiments, steps S110 to S150 may be executed separately by different processing elements of the same device, and are not limited to being executed by a single device. That is, steps S110 to S150 may be executed by multiple interconnected devices. The steps are described in detail below.

[0020] Step S110: Obtain the user's eye movement state through the sensor.

[0021] Here, "eye movement state" refers to data that can represent the movement or visual activity state of a user's eyes over a period of time. This eye movement state may include, but is not limited to, at least one of the following: eye images, eye position, pupil position, pupil size, eye orientation, eye rotation angle, eye opening / closing state, or changes thereof over time. The at least one sensor may include a camera, an infrared camera, an eye-tracking sensor, or other sensing elements capable of acquiring information related to the user's eyes. For example, when a user wears smart glasses with a camera and views a target image displayed on the smart glasses, the infrared camera mounted on the smart glasses can continuously acquire images of both eyes and obtain changes in pupil position and eye orientation over time from these eye images to form the user's eye movement state. In some embodiments, the sensor may also simultaneously acquire the display position of the target image or the coordinate information of the target image on a display plane, enabling subsequent processing to establish a coordinate relationship between the user's eye movement state and the target image.

[0022] In some embodiments, the eye movement state obtained in step S110 may first undergo time synchronization and data preprocessing. For example, the processor may arrange the continuously acquired eye images, pupil positions, and eye orientations on the same time axis according to the timestamps of each eye movement data (i.e., time alignment according to timestamps), and mark or exclude image frames where the pupil position cannot be identified or sensing data below a preset quality condition, in order to generate eye movement data for subsequent gaze estimation. For example, when a certain image frame cannot obtain a valid pupil position due to the user's instantaneous blink, the processor may mark the image frame as invalid data, rather than directly regarding the position generated by the image frame as the user's gaze movement, thereby reducing the impact of short-term sensing errors on subsequent gaze focus determination.

[0023] Step S120: Based on the user's eye movement state obtained in step S110, obtain the user's gaze focus data relative to the target image. The gaze focus data obtained in step S120 includes the gaze focus position and gaze duration.

[0024] Here, "focus position" refers to the position of the user's gaze in the image coordinate system corresponding to the target image; "gaze duration" refers to the length of time the user's focus position remains within a preset range. The processor can estimate the user's gaze direction based on eye movement and map this gaze direction to the image coordinate system of the target image to obtain the focus position. For example, the processor can obtain the pupil center and the orientation of the eyeball relative to the head from the eye image, estimate the user's gaze direction based on the relative relationship between the pupil center and the eyeball reference position, and then geometrically map this gaze direction to the display plane of the target image to obtain the coordinate position in the target image. This coordinate position is the focus position. When the distance between the coordinate positions obtained at multiple consecutive time points is less than a preset distance threshold, the processor can calculate the duration of these coordinate positions to be used as the gaze duration. In another embodiment, the focus position can also be obtained through a calibrated eye-tracking model. For example, before using the device, the user views multiple calibration marks at known locations. The processor establishes a correspondence between the eye movement state and the image coordinates based on the eye movement state obtained when the user views each calibration mark. Subsequently, this correspondence can be used to convert the new eye movement state into the focal point position of the gaze in the target image.

[0025] In some embodiments, the processor can continuously acquire consecutive gaze focus positions and calculate the gaze movement distance based on the gaze focus positions at adjacent time points. When the gaze movement distance within a continuous time interval is less than a preset stable range, the processor can consider that time interval as a gaze event and use the duration of the gaze event as the gaze duration. For example, when a user views a person's face in a target image, if the gaze focus position acquired within a time interval of approximately several hundred milliseconds remains near the person's face, the processor can determine that time interval as a gaze event and provide the duration of the gaze event for subsequent local analysis region definition and layered image analysis.

[0026] Step S130: Noise filtering is performed on the line-of-sight focus data obtained in step S120 to obtain a stable focus position.

[0027] "Noise filtering" refers to reducing changes in gaze position caused by sensor errors, minor involuntary eye movements, blinking, temporary gaze scrambling, or other non-target gaze changes. The processor can remove or reduce gaze focus position data that does not meet the conditions for stable gaze based on the spatial differences and temporal changes in continuous gaze focus positions, thereby obtaining a stable focus position. For example, when a user actually views a person's face in a target image, the eye-tracking sensor may sequentially acquire coordinates (x1, y1), (x1+δ1, y1+δ2), and (x1-δ3, y1+δ4), where the differences in each position are caused by sensing errors or minor eye movements. The processor can perform sliding window averaging, median filtering, exponential smoothing, or other time-series filtering on the continuous coordinates to reduce the aforementioned short-term position changes and use the filtered position as the stable focus position. In some embodiments, the processor can also determine abnormal positions based on the speed of gaze movement. For example, when the movement speed corresponding to the change in the gaze position between two adjacent time points exceeds a preset range, the changed gaze focus position can be regarded as data that may be affected by saccade motion or sensing noise, and its weight in the calculation of stable focus position can be reduced.

[0028] In some embodiments, the stable focus position can be calculated from multiple gaze focus positions within a time window. For example, the processor can exclude outliers exceeding a preset positional deviation from the most recent N gaze focus positions, and then perform a weighted average of the remaining gaze focus positions to generate a stable focus position, where N can be adjusted according to the sampling frequency, usage context, or preset settings. Thus, the stable focus position is not simply based on a single sensing result at a specific point in time, but rather obtained from eye-tracking data over a period of time, making it less likely that the subsequently defined local analysis area will deviate from the actual image content viewed by the user due to a single sensing error.

[0029] Step S140: Define the local analysis area in the target image based on the stable focal position obtained in step S130 and the gaze duration obtained in step S120.

[0030] "Definition" refers to determining the spatial range within the target image available for subsequent image analysis based on the stable focal position and gaze duration. This spatial range can be further adjusted in shape, size, or position according to the image content. The local analysis region includes the image content corresponding to the stable focal position and can have rectangular, elliptical, polygonal, irregular contours, or other geometric shapes. For example, when the stable focal position falls near a person's face in the target image, the processor can define the local analysis region centered on this stable focal position, placing the person's face within this local analysis region, rather than using the entire target image as the processing range for subsequent image analysis.

[0031] In one embodiment, step S140 may include: extracting an initial region of interest (ROI) from the target image based on a stable focal position; analyzing the image content within the ROI using a classification model to obtain an image content type; adaptively selecting a target shape from multiple geometric shapes based on the image content type; and defining a local analysis region based on the target shape. Here, the "initial ROI" refers to an initial image range set based on the stable focal position, used to provide the classification model for image content identification. The gaze duration can be used to determine whether to activate or update the initial ROI. For example, the processor may extract a rectangular image region of a fixed size centered on the stable focal position as the initial ROI; the "classification model" refers to a model that receives the image features of the initial ROI and outputs the corresponding image content type. This classification model can be a model built using a convolutional neural network, a visual converter, or other image classification architecture, but is not limited to these. The image content type may include text content, facial content, general objects, scene content, or other predefined image content types. For example, when the initial region of interest contains a piece of text arranged at an angle, the classification model can output "text content" as the image content type; when the initial region of interest contains a person's face, it can output "face content"; when the initial region of interest contains a combination of roads, buildings, and multiple objects, it can output "scene content".

[0032] In one embodiment, the processor can select different target shapes based on the image content type to make the local analysis region better fit the spatial range of the corresponding image content. For example, when the image content type is text content, a rotated rectangle (a rectangle that can be tilted and rotated to any angle) can be selected as the target shape to make the local analysis region rotate along the text arrangement direction; when the image content type is face content, an ellipse can be selected as the target shape to cover the image content near the face contour; when the image content type is a general object, a rectangular boundary can be generated based on the object detection result; when the image content type is scene content, an adaptive contour region can be generated by a contour segmentation algorithm based on pixel similarity, edge information, or foreground and background differences in the image. For example, when a user views a product label containing diagonal text, the processor can first identify the region as text content using a classification model, and then generate a rotated rectangle based on the text arrangement direction; this can reduce the irrelevant background included by a fixed horizontal rectangle. As another example, when a user views a person's face, an elliptical region can be used to cover the face, and when a user views an object with an irregular shape, the local analysis region can be defined based on the outer contour of the object.

[0033] Step S150: Perform local image analysis on the local analysis area defined in step S140 to generate image analysis results corresponding to the local analysis area.

[0034] "Local image analysis" refers to using the image data contained within a local analysis region as the primary processing scope, rather than performing a complete image analysis on the entire target image. In one embodiment, the processor can acquire image data corresponding to the local analysis region from the target image and use the acquired image data as the processing scope of the local image analysis. This allows the processor to prioritize the allocation of computing resources to the image content actually viewed by the user. Furthermore, since local image analysis only acquires the image data corresponding to the local analysis region from the target image and inputs the acquired image data into the image analysis model, compared to directly performing the same image analysis on the entire target image, it reduces the amount of image data to be processed and reduces the computational burden caused by image data unrelated to the user's visual focus, allowing limited processing resources to be prioritized for the image content currently of interest to the user. In some embodiments, the processor may also skip the same level of image analysis for image data not located within the local analysis region, allowing the computational scope of image analysis to dynamically change according to the user's visual focus.

[0035] In one embodiment, local image parsing can employ different analysis depths based on the user's gaze duration. When the gaze duration reaches a first duration threshold but not a second duration threshold, the processor performs a first-level analysis to obtain object information for at least one image object in the local analysis region. When the gaze duration reaches a second duration threshold but not a third duration threshold, the processor performs both the first-level and second-level analyses. When the gaze duration reaches a third duration threshold, the processor performs the first-level, second-level, and third-level analyses. The "first-level analysis" can be low-computational image object detection, used to obtain the location, category, confidence level, or other basic object information of the image objects. For example, when a user views a desktop image, the first-level analysis can identify that the desktop contains a cup, a mobile phone, and a book. The "second-level analysis" refers to further obtaining the pixel range or attribute information of the objects based on the object information obtained from the first-level analysis. The second-level analysis may include at least one of semantic segmentation and attribute acquisition. For example, when the first-level analysis identifies a car within a local analysis area, the second-level analysis can further generate pixel segmentation regions of the car, or obtain attribute information such as vehicle color, model, and direction. The "third-level analysis" refers to further analyzing the relationships or scene structure between multiple image objects. The third-level analysis can include at least one of the following: association reasoning and scene graph generation. For example, when the local analysis area contains a person, a table, and a cup, the third-level analysis can establish object relationships such as "person—near—table" and "cup—located at—table" based on the spatial position and image features of each object, and form a scene graph from these objects and their relationships. Therefore, the first-level analysis mainly provides rapid object information, the second-level analysis adds object region and attribute information, and the third-level analysis further obtains the relationship information between objects, allowing the image resolution depth to gradually increase as the user continues to view the same image content.

[0036] In one embodiment, the first, second, and third duration thresholds can represent different gaze duration requirements, with the second duration threshold being greater than the first and the third duration threshold being greater than the second. For example, when a user briefly views an object, the system only performs the first-level analysis; when the user continues to view the object until the second duration threshold is reached, semantic segmentation or attribute acquisition is performed; when the user continues to view the object until the third duration threshold is reached, object association or scene graph generation is performed. In some embodiments, when the user's gaze moves out of the local analysis area and the gaze duration has not yet reached the duration threshold corresponding to the next level of analysis, the processor can terminate the analysis operation of the next level of analysis and release the system computing resources allocated to the next level of analysis. For example, when the system has completed the first level of analysis and is preparing to execute the second level of analysis, if the user moves their gaze to another object before the gaze duration required for the second level of analysis is reached, the processor can cancel the second level of analysis work in the original local analysis area and reconfigure the processor's computing resources and memory resources to the image analysis work corresponding to the new gaze focus.

[0037] In some embodiments, step S150 can be performed locally by the terminal device receiving the target image, which then transmits the local analysis area or the analysis result of the first-level analysis to a cloud server via a communication connection. The cloud server performs at least one of the second-level and third-level analyses to generate corresponding analysis results and transmits those results to the terminal device. For example, when a user views a person's image through smart glasses, the smart glasses can directly perform first-level object detection locally to quickly obtain object information about the "person." When the user continues to look at the person, the smart glasses can transmit the local analysis area or the first-level analysis result to the cloud server, which then performs a more computationally intensive second-level or third-level analysis and sends the analysis results back to the smart glasses for display on its interface.

[0038] Thus, through this invention, the user's eye movement state can be obtained by a sensor, converted into gaze focus data in the target image, and a stable focus position can be obtained through noise filtering. Then, based on the stable focus position, a local analysis area containing the image content that the user is interested in can be defined, so that image analysis and processing can be performed directly on the image content that the user is currently interested in, without the user having to specify the analysis range through point selection or box selection operations.

[0039] In some embodiments, to reduce the analysis waiting time caused by rapid user gaze movement, the image analysis method can further establish a state estimation model based on the user's historical gaze trajectory to predict the position the user may view at subsequent time points. Here, "historical gaze trajectory" refers to a sequence of positions formed by the user's gaze focus at multiple past time points in chronological order; "state estimation model" refers to a computational model that estimates the user's current gaze state based on at least one historical gaze focus position and its temporal changes, and predicts the gaze focus position at subsequent time points based on this gaze state. For example, when a user views multiple figures in a target image, and their gaze moves sequentially from the first figure to the second figure, the processor can estimate the user's current gaze movement state based on the direction and speed of movement of past gaze positions, and predict the position the user may move to near the second figure at subsequent time points.

[0040] In one embodiment, the state estimation model can represent the user's gaze state using a state vector that includes position and velocity information. For example, the state vector can be represented as: X t = [x t , y t , v x,t , v y,t ] T , where x t and y t v represents the two-dimensional position of the line-of-sight focus at time t in the target image coordinate system. x,t and v y,t These represent the movement velocities of the gaze focus along the two axes of the two-dimensional coordinate system. The processor can predict the state at subsequent time points based on the current state vector and the state transition model, and obtain the predicted gaze position from the predicted state. For example, the processor can first calculate the current movement velocity based on the continuous gaze focus positions, and then use the current position and movement velocity to estimate the predicted position at subsequent time points. In other embodiments, a Kalman filter or other state estimation methods can also be used to achieve the above prediction.

[0041] After obtaining the predicted gaze position, the processor can predefine the predictive analysis area based on the predicted gaze position and pre-execute image analysis on the predicted analysis area to obtain pre-loaded analysis results. For example, when the predicted gaze position is near the face of a second person in the target image, the processor can predefine the predictive analysis area based on the predicted gaze position before the user's gaze actually reaches the second person (i.e., at a subsequent time point), and pre-execute the first-level object detection or other necessary image analysis, so that the relevant analysis results are generated and temporarily stored in advance.

[0042] When the user actually generates a new gaze focus position at a subsequent time point, the processor can calculate the positional deviation between the measured gaze focus position and the predicted gaze position. This positional deviation can be, for example, the Euclidean distance between two-dimensional coordinates, or other distance values ​​used to represent the difference between the predicted and measured positions. When the positional deviation is less than or equal to a preset allowable threshold, the processor can determine that the predicted gaze position and the measured gaze focus position are within an acceptable range, and therefore directly use the previously generated preloaded analysis results as the image analysis results corresponding to the measured gaze focus position. In this way, it avoids waiting for a complete image analysis again after the user's gaze actually reaches the image content. For example, if the distance between the predicted gaze position and the measured gaze focus position is 8 image pixels, and the preset allowable threshold is 15 image pixels, the processor can directly use the previously generated preloaded analysis results for the predictive analysis area.

[0043] When the positional deviation exceeds a preset allowable threshold, the processor can suspend the image analysis performed on the predicted analysis area that has not yet been completed, or discard the preloaded analysis results that have been completed, to avoid continuously consuming or using computing resources related to the erroneous predicted position. Then, the processor redefines the local analysis area based on the measured gaze focus position and re-executes the local image analysis. For example, if the predicted gaze position is near the face of the second person, but the user's actual gaze turns to the third person, causing the distance between the measured gaze focus position and the predicted position to exceed the preset allowable threshold, the processor can cancel the preloaded analysis performed on the second person that has not yet been completed, or discard the completed preloaded analysis results, and redefine the local analysis area based on the measured gaze focus position of the third person and perform image analysis.

[0044] In some embodiments, before, during, or after step S150, the image analysis method can also determine the user's interactive intent state when viewing the target image based on the user's eye movement observation indicators. Here, "eye movement observation indicators" refer to numerical values ​​or characteristics that can be obtained directly or calculated from eye movement states and can represent the user's visual behavior. These indicators may include at least one of fixation duration, pupillary dilation rate, saccade amplitude, and retrograde frequency. Specifically, "pupil dilation rate" can represent the change in pupil diameter per unit time; "saccade amplitude" can represent the distance between the focal points of the gaze before and after a rapid gaze movement; and "retrograde frequency" can represent the number of times the user's gaze returns to the previously viewed image area within a preset time interval. For example, when a user stays on a certain image content for a long time and their gaze repeatedly moves in the same area, the processor can obtain a longer fixation duration and a higher number of retrograde frequencies, and provide these eye movement observation indicators to subsequent interactive intent determination.

[0045] In one embodiment, the processor can input eye-tracking metrics into a hidden state inference model to determine the user's corresponding interaction intention state. The "hidden state inference model" refers to a computational model that takes observable eye-tracking metrics as input and estimates the user's interaction intention state—which cannot currently be directly obtained from sensors—based on changes in these metrics over continuous time points. This interaction intention state can include at least one of browsing, depth analysis, comparison, confusion, and idleness. For example, the processor can associate short-duration fixation, multiple rapid glances, and low re-glance counts with a browsing state; long-duration fixation and high re-glance counts with a depth analysis state; back-and-forth movement of the gaze between multiple local analysis areas with a comparison state; and repeated re-glances to the same area within a short period with unstable gaze movement with a confused state.

[0046] In another embodiment, the hidden state inference model can establish state transition relationships formed by multiple interactive intention states using eye-tracking indicators at multiple time points. The processor can calculate the probability of each interactive intention state based on the eye-tracking indicators at the current time point and the transition probability of each interactive intention state, and select the interactive intention state that meets preset judgment conditions as the current interactive intention. For example, if a user first views the entire image quickly, then stares at a particular person for a long time, and then moves back and forth between that person and another person, the processor can determine that the user's interactive intention gradually shifts from browsing to in-depth analysis or comparison based on the gaze duration, saccade amplitude, and number of re-views in each time segment.

[0047] In some embodiments, the hidden state inference model can be implemented using a Hidden Markov Model (HMM), other probabilistic models with hidden state inference capabilities, or a trained sequence classification model, but is not limited thereto.

[0048] After acquiring the interaction intent state, the processor can adjust the presentation interface of the local analysis area or trigger interactive procedures based on that state. For example, when the interaction intent state is "Comparison," the processor can retain multiple local analysis areas that the user has looked at sequentially and display the differences between these areas on the screen. When the interaction intent state is "Confused," the processor can display further explanatory prompts or trigger communication with a remote service. When the interaction intent state is "Idle," the processor can reduce the execution frequency of subsequent image analysis or stop higher-level analyses that are not yet necessary. Thus, eye-tracking states are not only used to obtain the user's gaze focus position but can also serve as input for subsequent image analysis and interactive control, allowing the system to adjust the range, depth, and interaction method of image analysis based on the user's actual viewing behavior.

[0049] It should be understood that the numbering of each step in the above embodiments does not imply the order of execution. The execution order of each step should be determined by its function and internal logic, and should not constitute any limitation on the process of the embodiments of the present invention.

[0050] The above-mentioned optional technical features can be combined arbitrarily to form different embodiments, which will not be elaborated here.

[0051] The following are embodiments of the apparatus of the present invention, which can be used to execute embodiments of the method of the present invention. For details not disclosed in the embodiments of the apparatus of the present invention, please refer to the embodiments of the method of the present invention.

[0052] Figure 2 This is a schematic diagram of the image analysis device according to an embodiment of the present invention. Figure 2 As shown, the image analysis device 200 includes a processor 201 and a memory 203 connected to each other. The processor 201 can execute computer instructions 209 stored in the memory 203 to generate modules such as a status acquisition module 210, a data acquisition module 220, a data processing module 230, a region delimitation module 240, and an image analysis module 250, and can also generate an attachable interactive presentation module 260. The image analysis device 200 can implement various functions through these modules. Figure 1 The image analysis method shown comprises various steps. Each module will be further explained below.

[0053] The state acquisition module 210 acquires the user's eye movement state through sensors.

[0054] The data acquisition module 220 acquires the user's gaze focus data relative to the target image based on the user's eye movement state, wherein the gaze focus data includes at least the gaze focus position and gaze duration.

[0055] The data processing module 230 performs noise filtering on the line-of-sight focus data to obtain a stable focus position.

[0056] The region definition module 240 defines local analysis regions in the target image based on the stable focal position and fixation duration.

[0057] The region definition module 240 can use the stable focal position as a reference to extract an initial region of interest from the target image, analyze the image content within the initial region of interest using a classification model to obtain the image content type, adaptively select a target shape from a variety of geometric shapes based on the image content type, and define the local analysis region based on the target shape.

[0058] The image analysis module 250 performs local image analysis on the local analysis area to generate image analysis results corresponding to the local analysis area.

[0059] The image analysis module 250 can also establish a state estimation model based on the user's historical gaze trajectory, and use the state estimation model to predict the user's predicted gaze position at subsequent time points based on the current gaze focus data.

[0060] The image analysis module 250 can predefine a predictive analysis region based on the predicted gaze position, and pre-execute image analysis on the predictive analysis region to obtain preload analysis results, and obtain the measured gaze focus position of the user at the subsequent time point, and calculate the positional deviation between the measured gaze focus position and the predicted gaze position. When the positional deviation is less than or equal to a preset allowable threshold, the preload analysis result is used as the image analysis result; when the positional deviation is greater than the preset allowable threshold, the image analysis performed on the predictive analysis region that has not yet been completed is stopped or the completed preload analysis results are discarded, and the local analysis region is redefined based on the measured gaze focus position to re-execute the local image analysis of the local analysis region.

[0061] The image analysis module 250 can also perform a first-level analysis on the local analysis region when the gaze duration reaches a first duration threshold but not a second duration threshold, to obtain object information of at least one image object in the local analysis region. When the gaze duration reaches the second duration threshold but not a third duration threshold, the first-level and second-level analyses are performed on the local analysis region. When the gaze duration reaches the third duration threshold, the first-level, second-level, and third-level analyses are performed on the local analysis region. The second-level analysis includes at least one of semantic segmentation and attribute acquisition, and the third-level analysis includes at least one of associative reasoning and scene graph generation. When the user's gaze focus moves out of the local analysis region and the gaze duration does not reach the duration threshold corresponding to the next level of analysis, the analysis operation of the next level of analysis is terminated, and the system computing resources allocated to the next level of analysis are released.

[0062] The interactive presentation module 260 obtains at least one eye movement observation index of the user and inputs the eye movement observation index into the hidden state inference model to determine the user's corresponding interactive intention state through the hidden state inference model, and adjusts the presentation interface of the local analysis area or triggers the interactive program according to the interactive intention state. The eye movement observation index includes at least one of the fixation duration, pupil change rate, saccade amplitude and regression number.

[0063] In summary, this invention provides at least one technical means for obtaining a stable focal position based on the user's gaze focus position and gaze duration relative to a target image by detecting the user's eye movement state; defining a local analysis region in the target image based on the stable focal position and gaze duration; and performing local image analysis on the local analysis region to generate corresponding image analysis results. This technical means solves the problem in existing technologies where image analysis requires analyzing a large image area, making it impossible to dynamically limit the image processing range based on the user's real-time visual focus position. This reduces the user's operational burden in specifying the analysis region and improves the correspondence between the image analysis region and the user's focus content.

[0064] Figure 3 This is a schematic diagram of the structure of a computer system used to implement the electronic device of the present invention. It should be noted that... Figure 3 The computer system 300 of the electronic device shown is merely an example and should not limit the functionality and scope of use of the embodiments of the present invention.

[0065] like Figure 3 As shown, the computer system 300 includes a Central Processing Unit (CPU) 301, which can perform various appropriate actions, operations, and processes based on programs stored in Read-Only Memory (ROM) 302 or programs loaded from storage into Random Access Memory (RAM) 303, such as performing the methods described in the above embodiments. The RAM 303 also stores various programs and data required for the operation of the computer system 300. The CPU 301, ROM 302, and RAM 303 are interconnected via a bus 304. An I / O interface 305 is also connected to the bus 304, where the I / O interface 305 refers to an input / output interface.

[0066] The following components are connected to I / O interface 305: input section 306 including keyboard, mouse, etc.; output section 307 including liquid crystal display (LCD) and speakers, etc.; storage section 308 including hard disk, etc.; and communication section 309 including network adapters such as local area network (LAN) cards and modems. Communication section 309 performs communication processing via a network such as the Internet. Drive 310 is also connected to I / O interface 305 as needed. Removable media 311, including magnetic storage media (such as disks), optical disks, magneto-optical discs (MO discs), semiconductor memories, etc., are installed on drive 310 as needed so that computer programs stored thereon can be read and installed to storage section 308.

[0067] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a non-transitory computer-readable storage medium. The computer program can be downloaded and installed from a network via communication section 309, and / or installed from removable medium 311. When the computer program is executed by central processing unit 301, it performs the various functions defined in the present invention.

[0068] It should be noted that the non-transitory computer-readable storage medium shown in the embodiments of the present invention can be a computer-readable storage medium such as a magnetic, optical, or semiconductor system, device, or electronic component, or any combination of the above computer-readable storage media, including but not limited to: portable disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, compact disc read-only memory (CD-ROM), optical / magnetic storage element, or any suitable combination thereof.

[0069] In the accompanying drawings of this invention, flowcharts and block diagrams illustrate the system architecture, functions, and operations that may be implemented in various embodiments of the invention. Each block in a flowchart or block diagram may represent a module, program segment, or portion of program code, which contains one or more executable instructions for implementing a predetermined logical function. In some embodiments, the functions indicated in the blocks may occur in a different order than shown in the drawings. For example, two interconnected blocks may actually be executed in parallel, or sometimes in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, can be implemented using a system of dedicated hardware that performs the predetermined function or operation, or using a combination of dedicated hardware and computer instructions.

[0070] In the accompanying drawings of this invention, connecting lines may represent the connection relationships between various elements. In addition, one or more ends of some connecting lines have arrows, which is not a limitation on the implementation itself, but rather that the use of these connecting lines makes it easier to understand the circuits or logic units in one or more embodiments. Any signal represented (determined by design requirements or preferences) may actually include one or more signals that can be transmitted in any direction and can be implemented in any suitable type.

[0071] The modules and units described in these embodiments of the invention can be implemented in software or hardware, and can also be implemented by a processor executing software. The names of these modules and units do not constitute a limitation on their function or configuration.

[0072] It should be noted that although multiple modules or units for performing related functions are described in the above embodiments, this distinction is not necessary. In fact, according to embodiments of the present invention, the features and functions of two or more modules or units described above can be implemented by one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and implemented by multiple modules or units.

[0073] The above embodiments are merely illustrative of the principles and effects of the present invention and are not intended to limit the present invention. The present invention is intended to cover any variations, uses, or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or conventional techniques in the technical field to which the present invention pertains. Although the embodiments disclosed in the present invention are as described above, the content described is not intended to directly limit the patent protection scope of the present invention. Any other embodiments of the present invention that will be readily conceived by those skilled in the art, without departing from the spirit and scope of the present invention, after considering the content and embodiments disclosed in the present invention, and / or modifications or changes to the form and details of the present invention without departing from the spirit and scope of the present invention, shall fall within the patent protection scope of the present invention. The patent protection scope of the present invention shall still be determined by the scope defined in the appended claims.

Claims

1. An image analysis method, applied to a system or device, characterized in that, The method includes at least the following steps: The user's eye movement status is obtained through at least one sensor; Based on the user's eye movement state, obtain the user's gaze focus data relative to the target image, wherein the gaze focus data includes at least the gaze focus position and gaze duration; The line-of-sight focus data is subjected to noise filtering to obtain a stable focus position; A local analysis region in the target image is defined based on the stable focal position and the fixation duration, wherein the local analysis region includes the image content corresponding to the stable focal position; and Local image analysis is performed on the local analysis region to generate image analysis results corresponding to the local analysis region.

2. The image analysis method as described in claim 1, characterized in that, The steps of defining the local analysis region in the target image based on the stable focal position and the fixation duration are as follows: extracting an initial region of interest in the target image based on the stable focal position; analyzing the image content in the initial region of interest through a classification model to obtain the image content type; adaptively selecting a target shape from multiple geometric shapes based on the image content type; and defining the local analysis region based on the target shape.

3. The image analysis method as described in claim 1, characterized in that, The image analysis method further includes establishing a state estimation model based on the user's historical gaze trajectory, using the state estimation model to predict the user's predicted gaze position at a subsequent time point based on the current gaze focus data, pre-defining a prediction analysis region based on the predicted gaze position, performing image analysis on the prediction analysis region to obtain a preload analysis result, obtaining the user's measured gaze focus position at the subsequent time point, calculating the positional deviation between the measured gaze focus position and the predicted gaze position, using the preload analysis result as the image analysis result when the positional deviation is less than or equal to a preset allowable threshold, and suspending the image analysis performed on the prediction analysis region that has not yet been completed or discarding the completed preload analysis result when the positional deviation is greater than the preset allowable threshold, and redefining the local analysis region based on the measured gaze focus position to re-execute the step of performing local image analysis on the local analysis region.

4. The image analysis method as described in claim 1, characterized in that, The step of performing local image analysis on the local analysis area is to obtain image data corresponding to the local analysis area from the target image, and use the image data as the processing range of the local image analysis, while skipping the image analysis of the same level corresponding to the image data located outside the local analysis area.

5. The image analysis method as described in claim 1, characterized in that, The step of performing local image parsing on the local analysis region further includes performing a first-level analysis on the local analysis region when the gaze duration reaches a first duration threshold but does not reach a second duration threshold, to obtain object information of at least one image object in the local analysis region; performing the first-level analysis and the second-level analysis on the local analysis region when the gaze duration reaches the second duration threshold but does not reach a third duration threshold; and performing the first-level analysis, the second-level analysis, and the third-level analysis on the local analysis region when the gaze duration reaches the third duration threshold. The second-level analysis includes at least one of semantic segmentation and attribute acquisition, and the third-level analysis includes at least one of associative reasoning and scene graph generation.

6. The image analysis method as described in claim 5, characterized in that, The method further includes the steps of suspending the next level of analysis and releasing the system computing resources allocated to the next level of analysis when the user's gaze focus moves out of the local analysis area and the gaze duration does not reach the duration threshold corresponding to the next level of analysis.

7. The image analysis method as described in claim 5, characterized in that, The step of performing local image analysis on the local analysis area further includes the step of the terminal device receiving the target image performing the first-level analysis locally, and transmitting the analysis result of the local analysis area or the first-level analysis to the cloud server through a communication connection, wherein the cloud server performs at least one of the second-level analysis and the third-level analysis to generate a corresponding analysis result and transmits the corresponding analysis result to the terminal device.

8. The image analysis method as described in claim 1, characterized in that, The image analysis method further includes obtaining at least one eye movement observation index of the user, inputting the eye movement observation index into a hidden state inference model, so that the hidden state inference model determines the user's corresponding interactive intention state based on the changes of the at least one eye movement observation index at multiple time points and the state transition relationship between multiple interactive intention states, and adjusts the presentation interface of the local analysis area or triggers an interactive program based on the user's corresponding interactive intention state, wherein the eye movement observation index includes at least one of the following steps: fixation duration, pupil change rate, saccade amplitude, and number of retrospectives.

9. An image analysis device, characterized in that, The image analysis device includes at least: Memory for storing at least one computer instruction; and A processor for executing the at least one computer instruction to achieve: The user's eye movement status is obtained through at least one sensor; Based on the user's eye movement state, obtain the user's gaze focus data relative to the target image, wherein the gaze focus data includes at least the gaze focus position and gaze duration; The line-of-sight focus data is subjected to noise filtering to obtain a stable focus position; A local analysis region in the target image is defined based on the stable focal position and the fixation duration, wherein the local analysis region includes the image content corresponding to the stable focal position; and Local image analysis is performed on the local analysis region to generate image analysis results corresponding to the local analysis region.

10. A non-transitory computer-readable storage medium, characterized in that, The non-transitory computer-readable storage medium stores a computer program that, when executed by the device, causes the device to perform the image analysis method as described in any one of claims 1 to 8.