Method, device, equipment, system and information processing method for determining focus points

By acquiring and analyzing two images, the problem of device limitations and application scenario limitations in the existing technology is solved, and the focus of the object can be determined without wearing a device. It is suitable for a variety of practical application scenarios and provides more natural interaction. Way.

CN110853073BActive Publication Date: 2024-10-01BEIJING SAMSUNG TELECOM R&D CENT +1
View PDF 24 Cites 0 Cited by

Patent Information

Application Number
CN201810829677.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-07-25
Publication Date
2024-10-01
Estimated Expiration
2038-07-25

AI Technical Summary

Technical Problem

Existing gaze point detection solutions require users to wear additional equipment, which limits application scenarios, and detection is usually limited to specific displays, which cannot meet actual needs.

Method used

By acquiring at least two images, the object in the image is determined based on its focus in the scene, without requiring the user to wear any wearable device, and is suitable for a wider range of application scenarios.

Benefits of technology

It realizes the determination of the focus of objects in real scenes without the need for additional equipment, provides a more natural interaction method, and is suitable for a variety of practical application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110853073B_ABST
    Figure CN110853073B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a method, device, equipment, system and information processing method for determining a focus point, which belongs to the field of information processing technology. The method for determining a focus point comprises: acquiring at least two images of a scene; based on the at least two images, determining a focus point of an object in the image in the scene. The solution of the embodiments of the present application can determine the focus point of an object in a real scene without the object wearing any equipment. The solution can be applied to actual application scenarios where the object does not need to wear additional equipment, and can provide a more natural interaction method for the object.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information processing technology. Specifically, the present invention relates to a method, device, equipment, system and information processing method for determining a focus point. Background Art

[0002] The user's gaze point reflects the object the user is looking at. By knowing the user's gaze point, the object of interest can be known. Most existing gaze point detection schemes require the user to wear a device equipped with an eye camera for observing the user's eyes and an external camera for observing the user's surrounding environment. The user's gaze point is extracted by associating the user's line of sight detected by the eye camera and the image of the environmental object captured by the external camera. Although this scheme can achieve higher accuracy, since the user needs to wear additional equipment, it will impose constraints and restrictions on the user, causing inconvenience to the user and greatly limiting the application scenarios of the scheme. For example, service industry occasions such as reception and shopping are not suitable for requiring customers to wear specified equipment. Although some detection schemes do not require users to wear additional equipment, the position of the detected gaze point is generally limited to a specific display. Summary of the invention

[0003] The purpose of this application is to solve at least one of the above technical defects. The technical solution adopted by this application is as follows:

[0004] In a first aspect, the present application provides a method for determining a focus point, the method comprising:

[0005] acquiring at least two images of the scene;

[0006] Based on at least two images, a focus point of an object in the image in a scene is determined.

[0007] In a second aspect, the present application provides a device for determining a focus point, the device comprising:

[0008] An image acquisition module, used to acquire at least two images of a scene;

[0009] The focus point confirmation module is used to determine the focus point of the object in the image in the scene based on at least two images.

[0010] In a third aspect, the present application provides an electronic device, the device comprising an image acquisition module, a memory and a processor;

[0011] An image acquisition module, used to acquire at least two images of a scene;

[0012] The memory is used to store machine-readable instructions. When the instructions are executed by the processor, the processor is configured to determine the focus point of the object in the image in the scene based on at least two images captured by the image acquisition module.

[0013] In a fourth aspect, the present application provides a system for determining a focus point, the system comprising an image acquisition device, and an electronic device connected to the image acquisition device;

[0014] An image acquisition device, used to acquire at least two images of a scene and send the at least two images to an electronic device;

[0015] The electronic device is used to receive at least two images sent by an image acquisition device, and determine a focus point of an object in the image in a scene based on the at least two received images.

[0016] In a fifth aspect, the present application provides a method for obtaining behavior information, the method comprising:

[0017] Get the object's focus;

[0018] Get the behavior information of the object based on the focus.

[0019] In a sixth aspect, the present application provides a behavior information acquisition device, the device comprising:

[0020] A focus acquisition module is used to acquire the focus of an object;

[0021] The behavior information acquisition module is used to obtain the behavior information of the object according to the focus point.

[0022] In a seventh aspect, the present application provides an electronic device, the device comprising a memory and a processor;

[0023] A memory for storing machine-readable instructions, which, when executed by a processor, causes the processor to execute the method for determining a focus point as shown in the first aspect of the present application, and / or the method for obtaining behavior information as shown in the fifth aspect of the present application.

[0024] In an eighth aspect, the present application provides a computer-readable storage medium for storing computer instructions. When the computer instructions are executed on a computer, the computer can execute the method for determining the focus point shown in the first aspect of the present application, and / or the method for obtaining behavior information shown in the fifth aspect of the present application.

[0025] The technical solution provided in the embodiment of the present application has the beneficial effect that: based on at least two images, the focus point of an object in a scene can be detected. The solution can determine the focus point of an object in a real scene without the need for the object to wear any wearable device, so it can be applied to actual application scenarios where the object does not need to wear or use additional equipment, and can provide a more natural interaction method for the object. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in describing the embodiments of the present application.

[0027] Figure 1 A schematic diagram of the principle of a method for determining a focus point in an embodiment of the present application;

[0028] Figure 2 A flowchart of a method for determining a focus point in one embodiment of the present application;

[0029] Figure 3 A schematic diagram of two panoramic cameras for acquiring panoramic images in an embodiment of the present application;

[0030] Figure 4 A schematic diagram of correcting a panoramic image in an embodiment of the present application;

[0031] Figure 5 Schematic diagram of the positional relationship between the projection points of an object point in space on two images in an embodiment of the present application;

[0032] Figure 6 A schematic diagram of obtaining a panoramic image through a panoramic camera in an embodiment of the present application;

[0033] Figure 7 A schematic diagram of a method for calibrating two panoramic images at different times in an embodiment of the present application;

[0034] Figure 8a A schematic diagram of obtaining a panoramic image through a monocular camera in an embodiment of the present application;

[0035] Figure 8b A schematic diagram of obtaining a panoramic image through a binocular camera in an embodiment of the present application;

[0036] Figure 8c A schematic diagram of obtaining a panoramic image by a wide-angle camera composed of multiple monocular cameras in an embodiment of the present application;

[0037] Fig. 9 A schematic diagram of a method for capturing panoramic information by controlling the movement of a camera in an embodiment of the present application;

[0038] Fig.10 A schematic diagram of a method for determining a part image based on the quality of an object image in an embodiment of the present application;

[0039] Fig.11 A schematic diagram of a method for obtaining three-dimensional sight line information in an example of the present application;

[0040] Fig.12 A schematic diagram of a method for obtaining three-dimensional sight line information in another example of the present application;

[0041] Fig.13 A schematic diagram of a method for obtaining three-dimensional sight line information in another example of the present application;

[0042] Fig.14 A schematic diagram of a method for obtaining a part image of an object in an embodiment of the present application;

[0043] Fig.15 A schematic diagram of another method for obtaining a part image of an object in an embodiment of the present application;

[0044] Fig.16 A schematic diagram of a method for determining a focus point in an example of the present application;

[0045] Fig.17 A schematic diagram of a method for determining a focus point in another example of the present application;

[0046] Fig.18 A schematic diagram of a method for determining a focus point in another example of the present application;

[0047] Fig.19 A schematic diagram of a method for obtaining depth information of a stationary object in an embodiment of the present application;

[0048] Fig. 20 A flowchart of a method for determining a focus point in another embodiment of the present application;

[0049] Fig.21 A schematic diagram of the principle of determining a user's visual field image in an example of the present application;

[0050] Fig. 22 A schematic diagram of a method for determining a user's visual field image in an example of the present application;

[0051] Fig.23 A schematic diagram of the structure of a device for determining a focus point in an embodiment of the present application;

[0052] Fig.24 This is a schematic diagram of the structure of an electronic device in an embodiment of the present application;

[0053] Fig.25 A schematic diagram of the structure of a system for determining a focus point in an embodiment of the present application;

[0054] Fig.26 This is a flow chart of an information acquisition method in one embodiment of the present application;

[0055] Fig. 27 This is a flow chart of an information acquisition method in another embodiment of the present application;

[0056] Fig.28This is a schematic diagram of the structure of an information acquisition device in an embodiment of the present application;

[0057] Fig.29a , Fig.29b , Fig.29c and Fig.29d Schematic diagram of four configuration methods of an electronic device for determining a focus point in a shopping scenario in an embodiment of the present application;

[0058] Fig.30 A schematic diagram of a method for providing customer-centric services in a shopping or reception scenario according to an embodiment of the present application;

[0059] Fig.31 This is a schematic diagram of a smart home scenario in an embodiment of the present application;

[0060] Fig.32 This is another schematic diagram of a smart home scenario in an embodiment of the present application;

[0061] Fig.33 A schematic diagram of a method of displaying an Internet of Things device control interface according to a user's line of sight in an embodiment of the present application;

[0062] Fig.34 This is a schematic diagram of a tourism application scenario in an embodiment of the present application;

[0063] Fig.35 A schematic diagram of an assisted driving scenario in an embodiment of the present application;

[0064] Fig.36 A schematic diagram of a method for automatically determining the traveling intention of surrounding pedestrians on a vehicle in an embodiment of the present application;

[0065] Fig.37 A schematic diagram of a teaching operation scenario in an embodiment of the present application;

[0066] Fig.38 A schematic diagram of a method for providing operation suggestions to a user in a teaching operation scenario in an embodiment of the present application;

[0067] Fig.39 A schematic diagram of a driver interaction scenario in an embodiment of the present application;

[0068] Fig.40 A schematic diagram of a method for providing input to a human-computer interaction system based on a user's visual field image in an embodiment of the present application;

[0069] Fig.41 This is a schematic diagram of another driver interaction scenario in an embodiment of the present application;

[0070] Fig.42A schematic diagram of a method for detecting and alerting a user to potentially threatening objects in a surrounding traffic environment is shown in FIG.

[0071] Fig.43 A schematic diagram of a multi-user scenario security monitoring scenario in an embodiment of the present application;

[0072] Fig.44 A schematic diagram of a method for visual field tracking and detection of multiple pedestrian behaviors in an embodiment of the present application;

[0073] Fig.45 A schematic diagram of a classroom scene in an embodiment of the present application;

[0074] Fig.46 A schematic diagram of a method for analyzing attention of multiple users in an embodiment of the present application;

[0075] Fig.47 A schematic diagram of the structure of an electronic device provided in this application;

[0076] Fig.48 A schematic diagram of a method for determining an object focus in an example of the present application;

[0077] Fig.49 A schematic diagram of a method for determining a focus point of an object in another example of the present application;

[0078] Fig.50 It is a schematic diagram of a method for determining a focus point of an object in yet another example of the present application. DETAILED DESCRIPTION

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

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

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

[0082] With the rapid development of science and technology and the improvement of life needs, high-tech technologies such as human-computer interaction and artificial intelligence have begun to appear more and more in people's daily lives. How to make the service more in line with the actual concerns of the object (such as the user) when providing services is one of the important issues that need to be improved. Existing solutions for detecting the user's gaze point usually require the detected object to wear corresponding equipment, which will cause inconvenience to the detected object and greatly limit the applicable scenarios. Or the detection of the gaze point can only be limited to a specific display, which cannot meet the actual application needs.

[0083] The method, device, equipment, system and information acquisition method for determining focus points provided in this application are intended to solve the above technical problems in the prior art.

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

[0085] In the embodiment of the present application, the focus point may include a gaze point and / or a pointing point of a part of an object, etc. That is to say, the specific content of the focus point can be determined according to the actual application scenario and requirements. For example, if it is necessary to detect the object that the object in the scene is looking at, the focus point may be the gaze point of the object. If it is necessary to detect the hand movement of the object, the focus point may be the pointing point of the hand, or the pointing point of the arm or other parts, etc.

[0086] In order to better understand the present application, the following first takes the object as a user and the focus point as the user's gaze point as an example to illustrate the principle of the method for determining the focus point provided by the present application.

[0087] Figure 1FIG. 1 is a schematic diagram showing a method for determining a user's gaze point in a scene. Figure 1 As shown, two panoramic images including the scene where the user is and the user can be captured simultaneously by a panoramic camera 1 and a panoramic camera 2 located at different positions. The two panoramic images have parallax to form a stereo image pair. Object A, object B and object C are objects in the scene. In order to determine the user's gaze point in the actual scene, it is first necessary to obtain the user's line of sight information in the actual scene, and analyze the intersection position of the line of sight information and the object in the actual scene to determine the user's gaze point in the actual scene. In addition, after determining the gaze point, it is also possible to further provide the user with relevant services or information based on the user's gaze point, for example: determine the user's field of view image based on the user's gaze point, obtain the user's intention based on the field of view image, and provide the user with relevant services or information based on the user's intention.

[0088] Among them, the user's line of sight information may include the starting point information and direction information of the line of sight. The starting point of the line of sight can be specifically the midpoint position of the line connecting the centers of the two eyeballs of the user, and the starting point information is the coordinates of the starting point in the reference coordinate system. The direction information of the line of sight includes the rotation angle of the user's line of sight along the coordinate axis of the reference coordinate system in the reference coordinate system, that is, the angle between the user's line of sight and the coordinate axis. The ray that uniquely determines the starting point of the line of sight and the direction of the line of sight in space can be called the user's line of sight (that is, the user's gaze route), and the point on the user's line of sight can be called a line of sight point.

[0089] The reference coordinate system may be selected as required, for example, it may be the camera coordinate system of any one of at least two panoramic cameras that capture panoramic images, or a specified coordinate system, or a world coordinate system defined on an object in a certain environment.

[0090] It should be noted that all information related to the coordinate system is ultimately based on the same coordinate system. When the reference coordinate system is not the camera coordinate system, it is necessary to convert the information related to the coordinate system involved in determining the focus point, such as position information and / or direction information, to the reference coordinate system. The conversion between different coordinate systems can be achieved based on the rotation parameters and translation parameters between the coordinate systems. In practical applications, in order to save calculations, the reference coordinate system can be selected as the camera coordinate system of any panoramic camera.

[0091] In an optional solution of the present application, the user's line of sight information may be three-dimensional line of sight information. When the user's line of sight information is three-dimensional line of sight information, the reference coordinate system may be a three-dimensional coordinate system, the starting point information of the three-dimensional line of sight information is the three-dimensional coordinate of the starting point in the three-dimensional coordinate system, and the direction information of the three-dimensional line of sight information is the angle between the user's line of sight and the three coordinate axes of the three-dimensional coordinate system. For the convenience of description, the three-dimensional line of sight information may be represented by (X, Y, Z, Ra, Rb, Rc), where (X, Y, Z) represents the starting point information of the three-dimensional line of sight, and (Ra, Rb, Rc) represents the direction information of the three-dimensional line of sight.

[0092] The user's sight information can be specifically determined based on the images of the user's body parts in the two images. Figure 1 As shown in the figure, for any sight point on the user's sight line, there are two situations:

[0093] (1) When the sight point does not intersect with any object point in the scene, the point is a blank point in the corresponding space without any object, such as sight point a. The point is projected onto the two panoramic images respectively. The projection points on the two panoramic images correspond to different objects in the space, and the image windows determined based on the projection points on the two panoramic images have different image contents.

[0094] (2) When the sight point intersects with an object in the scene, such as sight point b, which intersects with object B in the scene, the point is projected onto the two panoramic images respectively. The projection points on the two panoramic images should correspond to the same object seen by the spatial user, and the image windows determined based on the projection points on the two panoramic images should have the same image content.

[0095] Therefore, based on the above principle, by comparing whether the projection points of the user's sight point in the two panoramic images correspond to the same object and / or whether the image content of the image window determined based on the projection point is consistent, it is possible to detect whether the sight point intersects with the object in the space, thereby determining the gaze point.

[0096] It can be seen that the physical constraints that the objects in the scene observed by the user must meet are: the user's line of sight should intersect with the surface of the object. The user's gaze point can be obtained by detecting the intersection of the user's line of sight and the object in the scene in space, and then the user can be further provided with services based on understanding the user's intention based on the gaze point. For example, the user's field of view image can be further determined based on the gaze point and the panoramic image, or detailed information of the object corresponding to the gaze point can be presented to the user.

[0097] It should be noted that for different focus points, the focus route information of the object may also be different. For example, for Figure 1The gaze point in the example is the line of sight information. For another example, when the pointing point of the finger is used as the focus point, the focus route information can be the pointing route information of the finger. The starting point of the pointing route information can be the fingertip, or the specified position of the finger, or it can also be determined according to the key points of the image of the finger part. When the fingertip is used as the starting point of the pointing route information, the coordinates of the starting point in the reference coordinate system are the starting point information of the focus route. The angle between the pointing route and the coordinate axis of the reference coordinate system is the direction information of the focus route. Similarly, ideally, the intersection point of the focus route and the closest spatial object is the focus point, and the projection points on at least two images also correspond to the same object.

[0098] Based on the method for determining the focus point according to the embodiment of the present application, in actual application scenarios, the focus points of the object at different times can be determined based on the images of different frames in the video by continuously acquiring images, such as continuously collecting videos of the scene where the object is located, thereby tracking the focus points of the object.

[0099] Figure 2 A flow chart of a method for determining a focus point provided in an embodiment of the present application is shown, such as Figure 2 As shown, the method may include the following steps:

[0100] Step S110: acquiring at least two images of the scene;

[0101] Step S120: Based on at least two images, determine a focus point of an object in the image in the scene.

[0102] In the embodiment of the present application, the object may be a user and / or other object that needs to detect the focus point. It should be noted that, in the at least two images acquired, each image must at least include an image of the object and an image of an object that the object may focus on in the scene, or, each image must at least include an image of the object and an image of an object that the object is expected to focus on, etc. Among them, at least two of the at least two images acquired are different images, that is, at least two images should have stereoscopic parallax and are images of the scene acquired from different positions / angles.

[0103] In the embodiment of the present application, the at least two images may be selected as at least two panoramic images.

[0104] By acquiring panoramic images, it is possible to more comprehensively ensure that the acquired images can include all the contents of the scene. Among them, the panoramic images can be selected according to the possible changes in the object's attention trajectory in the actual scene, for example, at least two 360-degree panoramic images in the horizontal direction, and at least two 360-degree panoramic images in the vertical direction. In general, vertical panoramic images (such as two panoramic images in the vertical direction that can be obtained by two panoramic cameras placed up and down) have good depth estimation quality for objects located within the 360-degree range of the front, back, left, and right of the camera, but poor depth estimation quality for objects above and below the camera. If the object and the object of interest appear in the front, back, left, and right directions of the scene space, it is best to obtain at least two panoramic images in the vertical direction. If the object of interest appears near the top of the scene space, a horizontally configured panoramic camera can be used to obtain at least two panoramic images in the horizontal direction.

[0105] In an embodiment of the present application, when determining the focus point of an object based on at least two panoramic images, the panoramic images used as a basis are generally planar panoramic images. If the acquired panoramic image is a spherical panoramic image or a cylindrical spherical image, the image can be corrected and unfolded in longitude and latitude to obtain a planar panoramic image.

[0106] It should be noted that when the number of acquired images is greater than two, when determining the focus point based on at least two images, any two different images may be used, all images may be used, or at least two images may be selected based on the quality of the acquired images or other screening conditions. When two images are used, two images may be selected from multiple images based on the quality of the acquired images or other preset conditions.

[0107] The method for determining the focus point of the embodiment of the present application can determine the focus point of the object in the actual scene based on at least two different images. This solution does not require the object to wear any wearable device, and is therefore applicable to more practical application scenarios. The solution of the embodiment of the present application does not require the object to wear additional equipment, so it can be applied to practical application scenarios that do not require the object to cooperate in wearing and using additional equipment. The solution based on the embodiment of the present application can provide a more natural interaction method for the object, can provide technical support for timely obtaining the behavior information of the object, and provide relevant services or information for the object itself or other objects associated with the object based on the behavior information of the object, thereby better meeting the needs of practical applications.

[0108] In the embodiment of the present application, acquiring at least two images of a scene may include:

[0109] At least two images are acquired by at least two cameras at different positions, or at least two images are acquired by controlling the camera to translate and / or rotate.

[0110] In practical applications, the method of acquiring at least two images can be selected according to the actual application scenario and application requirements. It is understandable that when acquiring at least two images through cameras whose number corresponds to the required number of images, at least two images at the same time can be acquired by controlling multiple cameras. When the number of cameras is less than the required number of images, at least two images can be acquired by controlling the movement of the cameras.

[0111] The following describes different methods for obtaining panoramic images by taking obtaining two panoramic images as an example.

[0112] Method 1: Obtain two panoramic images through two panoramic cameras.

[0113] When acquiring images through a camera, in order to determine the relationship between the position of a point on the surface of a spatial object and its corresponding point in the image, the camera generally needs to be calibrated. The purpose of panoramic camera calibration is to determine the parameters in the panoramic camera imaging model, which include the intrinsic parameters of the camera, lens distortion parameters (generally including radial distortion parameters and tangential distortion parameters), rotation parameters and translation parameters between the two fisheye cameras of each panoramic camera, etc. When two panoramic cameras are used, the rotation parameters and translation parameters between the two panoramic cameras are also included. Among them, the rotation parameters can generally be expressed by Euler angles, and the translation parameters can be expressed by translation vectors. The rotation parameters between the two panoramic cameras describe the rotation angle between the camera coordinate systems of the two panoramic cameras, and the translation parameters describe the translation between the camera coordinate systems of the two panoramic cameras. When the optical center and camera coordinate system of any given panoramic camera are obtained, the optical center and camera coordinate system of another panoramic camera can be obtained based on the rotation parameters and translation parameters. These parameters that need to be calibrated can be calibrated in advance and stored on a storage device.

[0114] In practical applications, calibration can be performed after acquiring an image, and the image is corrected according to calibration parameters stored on a storage device, or the camera can be configured according to calibration parameters before acquiring the image, and the camera corrects the output image according to the configured calibration parameters when acquiring the image. The specific implementation method of camera calibration is prior art and will not be described in detail here.

[0115] In the embodiment of the present application, when two panoramic images are acquired by two panoramic cameras, the baseline direction of the two panoramic cameras can be selected to be perpendicular to the ground, and the baseline direction is the line connecting the optical centers of the two panoramic cameras. The baseline direction of the two panoramic cameras is perpendicular to the ground, that is, the two panoramic cameras can be placed up and down. In this way, when acquiring images, it is possible to effectively avoid the omission of horizontal information of the surrounding environment, and ensure the comprehensiveness of objects that the user may be interested in in the acquired panoramic images.

[0116] Figure 3FIG. 1 shows a schematic diagram of the positional relationship of two panoramic cameras in an example of the present application. Figure 3 As shown, the two panoramic cameras can be fixed by a connecting rod, and the line connecting the optical centers of the two panoramic cameras is perpendicular to the ground. Figure 3 The panoramic shooting device shown in can capture a 360-degree horizontal stereo video of the surroundings, and obtain two spherical panoramic images with parallax at each moment. Figure 3 The two sets of panoramic videos captured by the upper and lower panoramic cameras shown in the figure form a panoramic stereo video. By using calibration parameters, the captured panoramic video can be corrected.

[0117] In one example, the optical center of the panoramic camera located above is defined as O1, and the optical center of the panoramic camera located below is defined as O2. The line segment O1O2 is the baseline of the two panoramic cameras. The camera coordinate system of the panoramic camera located above is recorded as O1-X1Y1Z1, where X1, Y1, and Z1 are three mutually perpendicular coordinate axes. The camera coordinate system of the panoramic camera located below is recorded as O2-X2Y2Z2, where X2, Y2, and Z2 are three mutually perpendicular coordinate axes. Since the two panoramic cameras will inevitably have errors in posture and direction during the actual device generation and assembly process, in order to reduce the errors, the two panoramic images need to be corrected for longitude and latitude, such as Figure 4 As shown, after correction, in an ideal situation, the Z1 direction and the Z2 direction both coincide with the O1O2 direction, the X1 direction coincides with the X2 direction, and the Y1 direction coincides with the Y2 direction. The spherical panoramic image is unfolded to a cylindrical surface to obtain a cylindrical panoramic image. It can be seen from the figure that the spherical coordinate system O1-X1Y1Z1 and O2-X2Y2Z2 in the cylindrical coordinate system corresponding to the unfolded cylindrical panoramic image also satisfy the Z1 direction and the Z2 direction both coincide with the O1O2 direction, the X1 direction coincides with the X2 direction, and the Y1 direction coincides with the Y2 direction. After the cylindrical panoramic image is unfolded into a planar panoramic image, as shown Figure 5 As shown, ideally, the projection points of the same object point P in space on the two planar panoramic images, namely, image points p1 and p2, are located on the same image column. The expanded planar panoramic image includes a panoramic field of view of 360 degrees in the horizontal direction (X1-0 degrees to X1-360 degrees, X2-0 degrees to X2-360 degrees as shown in the figure) and a field of view of 180 degrees in the vertical direction (Z1-0 degrees to Z1-180 degrees, Z2-0 degrees to Z2-180 degrees as shown in the figure).

[0118] Method 2: Obtain two panoramic images through a panoramic camera

[0119] This method obtains two panoramic images by controlling the movement of a panoramic camera. First, the panoramic camera's own motion information needs to be obtained. Specifically, it can be obtained through the inertial sensor unit on the panoramic camera, or by using the visual simultaneous localization and mapping (SLAM) algorithm, or by combining the inertial sensor unit and the visual SLAM algorithm. In the video shot during the camera movement process, a panoramic image at time t1 is selected as the reference moment image, and another panoramic image at time t0 is selected as the current moment image. When the two panoramic images are shot, the position distance of the camera exceeds a certain threshold value to obtain two panoramic images with parallax, such as Figure 6 shown.

[0120] For the panoramic image at the reference moment and the panoramic image at the current moment, panoramic stereo image calibration is required. Two panoramic images taken by a panoramic camera at two different times and different positions are transformed to form a pair of panoramic stereo images, thereby capturing the panoramic stereo information of the scene.

[0121] Figure 7A schematic diagram of a method for calibrating two panoramic images taken at different times is shown in FIG. As shown in the figure, by estimating the camera motion parameters, the 6-DOF posture t1 of the panoramic camera at time t1 and the 6-DOF posture t0 at time t0 can be obtained. Specifically, the 6-DOF posture t1 of the panoramic camera at time t1 can be expressed by six parameters: including translation parameters Tt1 = [Xt1, Yt1, Zt1] and rotation parameters Rt1 = [Rat1, Rbt1, Rct1], and the 6-DOF posture at time t0 can be expressed by six parameters: including translation parameters Tt0 = [Xt0, Yt0, Zt0] and rotation parameters Rt0 = [Rat0, Rbt0, Rct0], wherein the three quantities in the translation parameters refer to the translation of the camera along the three coordinate axes of X, Y, and Z, respectively, and the three quantities in the rotation parameters refer to the rotation angle with X as the axis, the rotation angle with Y as the axis, and the rotation angle with Z as the axis. Based on the 6-DOF camera posture t1 and the 6-DOF camera posture t0, the rotation matrix R01 between the two panoramic images at the reference moment and the current moment can be calculated as: R01 = inv(Rt0)*Rt1, where inv(Rt0) represents the inverse matrix of Rt0. The panoramic image at time t0 is rotated according to the R01 rotation matrix to complete the correction of the panoramic image at time t0. After the corrected panoramic images at time t0 and the panoramic images at time t1 are unfolded by the longitude and latitude of the images, the projections of the same object points on the plane panoramic images corresponding to the two panoramic images are aligned to the same image column direction. The calibrated panoramic image at the reference moment and the panoramic image at the current moment can be used as the two panoramic images that need to be obtained, and these two panoramic images form a panoramic stereo image pair.

[0122] Method 3: Obtain two panoramic images through one or more ordinary cameras, i.e. non-panoramic cameras

[0123] Figure 8a , Figure 8b , Figure 8c The schematic diagrams show the principle of acquiring panoramic images by using a monocular camera, a binocular camera (stereo camera) and a wide-angle camera composed of multiple monocular cameras. In this method, the images of different positions of the scene at different times can be captured by controlling the movement of the camera. As shown in the figure, images of different positions of the camera at time t0 and time t1 can be acquired.

[0124] When using one or more ordinary cameras, it is no longer necessary to perform camera calibration, and the motion parameters between cameras can be obtained by controlling the camera's own motion parameter recording module (camera position acquisition module) during the camera movement. In this solution, panoramic video can be captured by controlling the camera rotation, and video with stereoscopic parallax can be captured by controlling the camera movement, and then two panoramic images with stereoscopic parallax at different times can be obtained based on the captured panoramic video and video with stereoscopic parallax.

[0125] When controlling the movement of the camera, the control system can plan the movement trajectory of the camera through the camera motion control and camera position acquisition modules to control the camera movement and obtain the position of the camera, and establish a depth map of stationary objects in the system's surrounding environment through the modeling module. Since the camera's field of view is limited in this solution, the camera cannot observe all objects and subjects in the scene at the same time, so it is necessary to scan the surrounding environment by controlling the camera movement. The static objects, dynamic objects, and objects in the scene can be observed at a certain time sampling rate. In actual applications, the camera can be rotated by a motion gimbal. In order to capture information about objects and panoramic scenes, the camera movement needs to be controlled.

[0126] Fig. 9 A flow chart of a method for capturing panoramic information of a user and a scene by controlling the movement of a camera is shown. As shown in FIG9 , during the image capture process, it is necessary to detect whether the currently captured image set completely captures the panoramic information of the scene. When it is detected that the depth completeness condition is not met, the camera is driven to perform translational movement and image capture. When it is detected that the field of view completeness condition is not met, the camera is driven to perform rotational movement and image capture. Through this control process, the panoramic information of the scene is captured, and each captured image has a 6-DOF parameter record of the translation position and rotational posture of the camera in space at the time of capture.

[0127] When the field of view of the images in the image set covers a 360-degree spherical field of view, it can be considered that the current image set captures the complete field of view of the scene; when there are at least two or more images with a certain shooting position distance for all areas in the 360-degree field of view, it is considered that the current image set captures the complete depth information of the scene. When the field of view and depth are complete, the spatial position and posture of these images are read from the camera's own motion parameter recording module and put into the image set with 6-DOF posture tags.

[0128] In addition, the control system can also track the position of the moving object in the scene through the object tracking module, and track the movement trajectory of the object through the object (such as the user) tracking module, so as to ensure the comprehensive capture of the object and all objects in the scene. Fig. 9 As shown in , specifically, during the control shooting process, the object can be tracked. When the object is in the field of view, the position of the object is estimated. The current position of the object can be used to control the camera to point to the position at the next moment, and update the image of the object captured at the next moment; when the object is out of the field of view, the camera is driven to rotate and shoot. During the control shooting process, the moving object, i.e., dynamic object, in the scene can be tracked. When the moving object is in the field of view, the position of the moving object is estimated. The estimated position of the object is used to control the camera to point to the position at the next moment, and update the image of the moving object captured at the next moment. When the moving object is out of the field of view, the camera is driven to rotate and shoot. Among them, the specific method of tracking the moving object can be implemented using existing technology.

[0129] For the obtained image set with 6-DOF posture markers, each image in the set has a record of 6-DOF motion posture parameters in the world coordinate system when the camera took the image. Using the image set, two required panoramic images can be synthesized by image stitching.

[0130] In addition, since all areas in the scene have at least two or more images with a certain shooting position distance, that is, each area corresponds to a stereo image pair, the depth map of each part of the image area can be obtained by calculating the three-dimensional reconstruction of the stereo image pair (at least two images with parallax) covering each part of the image area on the panoramic field of view, and then the depth map of all areas is spliced ​​to obtain a panoramic depth image. It can be seen that a panoramic image with depth information can also be obtained through this solution.

[0131] In practical applications, if two panoramic images are acquired through a panoramic camera or at least one ordinary camera, in order to improve the accuracy of the determined focus point, the camera can be controlled to acquire two relatively continuous panoramic images. Relatively continuous may mean that the two panoramic images are acquired continuously, or that the shooting time difference between the two panoramic images is less than a set value, or that when a panoramic image is generated based on the acquired two-dimensional image, the acquisition time between the multiple two-dimensional images used to generate the two panoramic images is less than the set time.

[0132] In the embodiment of the present application, determining the focus point of an object in an image in a scene based on at least two images may include:

[0133] Determining, based on at least two images, route information of interest corresponding to the object;

[0134] Determine the focus point based on the focus route information.

[0135] The attention route information is information used to identify the attention position and attention direction of the object in the scene, and may specifically include the starting point information and the direction information of the attention route. The starting point information may specifically be the coordinates of the attention point in the reference coordinate system, and the direction information may specifically be the angle between the attention route and the coordinate axis of the reference coordinate system. For example, when the attention point is the user's gaze point, the attention route information is the user's line of sight information, and when the attention point is the pointing point of the object's finger, the attention route information is the pointing route information.

[0136] In the embodiment of the present application, based on at least two images, determining the concerned route information corresponding to the object includes:

[0137] Determining a part image of the object based on at least two images;

[0138] Based on the part image of the object, the route of interest information is determined.

[0139] The part image of the object may include at least one of the following:

[0140] Body image group, head image group, face image group, face key point image group, eye image group, arm image group, hand image group.

[0141] In actual applications, one or more of the above-mentioned image groups can be selected according to different application requirements and application scenarios, as well as the specific content of the focus point to be determined. For example, when the focus point is the gaze point, the part image can include at least one of the body image group, the head image group, the face image group, the face key point image group, and the eye image group; when the focus point is the pointing point of the finger, the part image can be at least one of the body image group, the hand image group, and the arm image group.

[0142] In the embodiment of the present application, determining the part image of the object based on at least two images may include:

[0143] determining image quality of an image of an object in at least two images;

[0144] Based on the image quality of the object image, a corresponding part image is determined.

[0145] In actual applications, the quality of the acquired images may vary due to different application scenarios and / or image acquisition devices. In order to better adapt to different application scenarios and avoid excessive deviation of the final determined focus point due to image quality, after acquiring at least two images, the part image used to determine the focus route information can be determined based on the quality of the object image in the image.

[0146] The image quality of the object image can be identified by the image quality of at least two images, or the object image can be extracted from the at least two images and then the quality of the extracted object image can be determined. The image quality can be classified based on at least one of the information such as the resolution and clarity of the image.

[0147] Generally, the higher the image quality, the more accurate the extracted part image can be, and the more accurate the attention route information determined based on the part image can be. For example, when the object is a user and the attention point is a gaze point, when the quality of the user image is high enough, such as when the preset high quality condition is met, the part image can be accurate to the eye image group, and the sight line information can be determined based on the head image group, the face image group, and the eye image group; when the quality of the user image is not high enough, such as when the medium quality condition is met but the high quality condition is not met, the part image may only be accurate to the head image group, and the sight line information is determined based on the head image. At this time, it is assumed that the user's field of vision is consistent with the head orientation, and the user's head orientation information is used to identify the sight line information; if the user image quality is worse, such as when the medium quality condition is not met, the part image may only be accurate to the body image group, and the sight line information needs to be determined based on the body image group. At this time, it is assumed that the user's field of vision is consistent with the body orientation, and the sight line information is identified by the body orientation information. In actual applications, different image quality conditions can be configured according to actual needs. For another example, when the focus point is the pointing point of a finger, if the image quality is high enough, the part image can be accurate to the hand image group, and the pointing route information can be determined based on the hand image group, or the hand image group and the arm image group. If the image quality is not high enough, the part image may only be accurate to the arm image group, and the pointing route information needs to be determined based on the arm image group. In this case, the direction of the hand is identified by the direction of the arm.

[0148] like Fig.10 As shown in, when the object is a user, taking three-dimensional line of sight information as an example, first, user detection can be performed on the acquired image to obtain the user image, and the quality of the user image can be obtained by evaluating the quality of the user image (the quality evaluation can be performed based on resolution, clarity, etc.). When the quality is high, the three-dimensional line of sight can be estimated based on the face image and the eye image to obtain the three-dimensional line of sight information; when the quality is medium, the three-dimensional line of sight can be estimated based on the face image, and the face direction is used as the three-dimensional line of sight information of the gaze point; when the quality is low, the three-dimensional line of sight can be estimated based on the body direction, and the body direction is used as the three-dimensional line of sight information of the gaze point.

[0149] In the embodiment of the present application, determining the concerned route information based on the part image of the object may include:

[0150] Based on the part image of the object, at least two initial focus route information are obtained;

[0151] The focused route information is obtained by fusing at least two initial focused route information.

[0152] In order to improve the accuracy of the obtained focused route information, two different initial focused route information may be fused to obtain the final focused route information.

[0153] In the embodiment of the present application, the method for determining the focus point may further include:

[0154] Correction is performed on the route of interest information through part modeling.

[0155] After obtaining the route of interest information based on the part images, modeling can also be performed based on at least one of the part images, and then the route of interest information can be corrected based on the difference between the part model image and the corresponding part image to improve the accuracy of the route of interest information.

[0156] For example, when the route information of interest is line of sight information, face modeling can be performed based on the line of sight information that has been obtained, and the line of sight information can be corrected based on the difference between the face model and at least one face image in the face image group; when the route information of interest is pointing route information, hand modeling can be performed based on the pointing route information that has been obtained, and the pointing route information can be corrected based on the difference between the hand model image and at least one hand image in the hand image group.

[0157] In the embodiment of the present application, the method for determining the focus point may further include:

[0158] Based on the part image of the object, the category information of the object is obtained.

[0159] In practical applications, the method for determining the focus point in the embodiment of the present application can further obtain the classification information of the object. When obtaining the focus route information through the neural network, the neural network can be trained to simultaneously output the focus route information and the category information of the object. The focus route information output by the trained neural network is the focus route information of the object output based on the category of the known object. Compared with the training of the neural network that only outputs the focus route information, the accuracy of the output focus route information can be effectively improved.

[0160] In the embodiment of the present application, determining the concerned route information based on the part image of the object may include at least one of the following methods:

[0161] Method 1:

[0162] Based on the part image, obtaining attention route information through a first neural network;

[0163] Method 2:

[0164] Based on the part image, the starting point information of the concerned route is obtained;

[0165] Based on the part image, the direction information of the route of interest is determined by a second neural network.

[0166] It can be seen that the starting point information and direction information of the attention route information can be obtained simultaneously based on the part image, or can be obtained separately. The neural network (the first neural network or the second neural network) can be an attention route information estimation model obtained through deep learning training. Specifically, for the first neural network, the attention route information estimation model outputs the starting point information and direction information, and for the second neural network, the attention route information estimation module outputs the direction information. Among them, the neural network can be one or more of a convolutional neural network, a fully connected neural network, a twin neural network, or other types of neural networks.

[0167] In the embodiment of the present application, if the focus point is the pointing point of the finger, obtaining the focus route information based on the part image may specifically include:

[0168] Based on the hand image group, obtaining the attention route information; and / or,

[0169] Based on the hand image group and the arm image group, the attention route information is obtained.

[0170] Specifically, based on the hand image group, the hand action posture classification can be performed on the hand image to identify the pointing action of the object's hand, and then the pointing route information can be determined based on the image of the part corresponding to the pointing action in the hand image group.

[0171] In addition, the performance of pointing route estimation can be enhanced by analyzing the arm image group. Specifically, the arm posture can be identified based on the arm image group, and the anatomical constraints of finger pointing and arm posture can be used to constrain the pointing route information based on the identified arm posture to improve the accuracy of the pointing route information.

[0172] As described above, the specific implementation of obtaining the finger pointing route information based on the hand image group, or based on the hand image group and the arm image group, can be obtained through a neural network based on these image groups.

[0173] In the embodiment of the present application, when the focus point is a gaze point, obtaining the focus route information based on the part image may specifically include at least one of the following methods:

[0174] Method 1:

[0175] Based on the head image group, the face image group, the face key point image group and the eye image group, the attention route information is obtained.

[0176] Method 2:

[0177] Based on the head image group, the face image group, the face key point image group and the eye image group, initial attention route information is obtained;

[0178] Performing facial modeling according to the initial attention route information to obtain a facial model image;

[0179] The face model image and the image error of the face image are obtained, and the focus route information is obtained according to the initial focus route information and the image error.

[0180] Method 3:

[0181] Obtaining a head feature image group, a face feature image group and an eye feature image group according to the head image group;

[0182] Based on the head feature image group, the face feature image group and the eye feature image group, obtaining first initial focus route information;

[0183] Based on the eye feature image group, obtaining second initial attention route information;

[0184] The first initial focused route information and the second initial focused route information are integrated to obtain focused route information.

[0185] Comparing Method 1 and Method 2, it can be seen that the solution shown in Method 2 can be that after obtaining the attention route information in the solution of Method 1, the attention route information is corrected by face modeling, and the corrected attention route information is used as the final attention route information. In Method 3, the final attention route information is obtained by fusing two different attention route information.

[0186] In the embodiment of the present application, the concerned route information and the initial concerned route information in Method 1 and Method 2, and the first concerned route information and the second concerned route information in Method 3 can all be realized through a neural network.

[0187] It should be noted that, when determining the part images of the object based on at least two images, the same part images based on the methods 1, 2 and 3 may be the same or different, depending on whether the specific methods used are the same. For example, the part images in both methods 1 and 2 include a head image group, a face image group, a face key point image group and an eye image group. If the methods for determining the part images in the two methods are the same, then the same part images in the two methods are also the same. If the methods for determining the part images are different, then the same part features in the two methods may be the same or different.

[0188] In the embodiment of the present application, based on the head image group, obtaining the first initial attention route information and the second initial attention route information in the above-mentioned method 3 through a neural network may specifically include:

[0189] Extracting features from the head image group through a first convolutional neural network to obtain a head feature map group;

[0190] Performing facial position detection on the head feature image group through a first fully connected neural network to obtain facial position information of each head feature image;

[0191] The facial feature pooling layer obtains a facial feature image group according to the head feature image group and the facial position information of each head feature image;

[0192] Performing facial key point detection on the facial feature image group through a second fully connected neural network to obtain facial key point position information of each facial feature image;

[0193] The eye feature pooling layer obtains an eye feature image group according to the facial feature image group and the facial key point position information of each facial feature image;

[0194] The second convolutional neural network is used to extract features from the head feature image group, the face feature image group, and the eye feature image group, and the third fully connected neural network is used to obtain first initial attention route information based on the extracted feature images;

[0195] The third convolutional neural network is used to extract features from the eye feature image group, and the fourth fully connected neural network is used to obtain the second initial attention route information based on the extracted feature images.

[0196] The following takes the user as the object, the user's gaze point as the focus point, the three-dimensional line of sight information as the focus route information, and two panoramic images of the scene as examples to illustrate the three methods of obtaining the focus route information in the above-mentioned method 1, method 2 and method 3.

[0197] In method 1, the part images include a head image group, a face image group, an eye image group, and a face key point image group, and the neural network can obtain the user's three-dimensional line of sight information based on these part images. As a specific example of method 1, Fig.11 A schematic diagram of obtaining three-dimensional sight line information through a neural network is shown. The neural network may include a convolutional neural network and two fully connected neural networks respectively connected to the convolutional neural network, wherein one fully connected neural network is a regression network for regressing and outputting three-dimensional sight line information, and the other fully connected neural network is a classification network for feature classification of images.

[0198] like Fig.11As shown, two head images, two face images, two face key point images and two eye images obtained from two panoramic images are used as inputs of the deep convolutional neural network and input into the convolutional neural network. Before inputting the image into the convolutional neural network, a feature connection layer can be used to first unify all input images into the same size by zero-filling, and then stacked into multi-layer images of the same size to form an image stack, which is input into the convolutional neural network. The convolutional neural network extracts features from the input image, and the features of the graph generated from the output of the convolutional neural network are connected to two fully connected neural network branches. The regression network outputs three-dimensional line of sight information based on the image output by the convolutional neural network; the categories output by the classification network may include classification information such as the rough direction of the user's head, gender, whether wearing glasses, and age group. The above categories can be further refined. For example, the rough direction of the head can be divided into eight categories: front, left front, left side, left rear, rear, right rear, right side, and right front, and the age group can be divided into five categories: children, teenagers, young people, middle-aged, and elderly.

[0199] From the previous description, we can see that Fig.11 The classification network shown in is not necessary to determine the 3D line of sight information. In practical applications, Fig.11 The neural network shown in FIG. 1 may not include a classification network. The classification network can be used only when the neural network is trained to allow the regression network of the neural network to learn better features and improve the accuracy of the three-dimensional line of sight information output by the regression network. Fig.11 When the neural network shown in derives three-dimensional sight line information, the fully connected neural network of the classification network may not be used to save computational consumption.

[0200] In the second method, the part images include a head image group, a face image group, an eye image group and a face key point image group. As a specific example of the second method, Fig.12 A schematic diagram of obtaining three-dimensional sight line information through a convolutional neural network, a fully connected neural network, a three-dimensional face drawing model and a twin neural network is shown. Specifically, the neural network in this example includes a convolutional neural network and a fully connected neural network connected to the convolutional neural network, and the twin neural network includes an image comparison twin network, which is connected to a fully connected neural network. In this scheme, the determination of three-dimensional sight line information can be divided into two stages.

[0201] In the first stage, two head images, two face images, two facial key point images and two eye images are input into the convolutional neural network after feature connection. The image features generated from the output of the convolutional neural network are connected to the fully connected neural network used for regression. The fully connected neural network outputs an initial three-dimensional line of sight information, namely (X', Y', Z', Ra', Rb', Rc') as shown in the figure, where (X', Y', Z') is the three-dimensional line of sight starting point information of the initial line of sight information, and (Ra', Rb', Rc') is the three-dimensional line of sight direction information of the initial line of sight information.

[0202] In the second stage, the initial three-dimensional sight line information is used to draw a user's face three-dimensional model image. When drawing the face three-dimensional model image, the three-dimensional face drawing model can use a parameterized face image drawing method, and the drawn face image has the same face orientation and eye sight orientation as the initial three-dimensional sight line information. Specifically, the three-dimensional face drawing model can complete the drawing of the face three-dimensional model image according to the initial three-dimensional sight line information. In addition, when drawing the face three-dimensional model image, the three-dimensional face drawing model can also perform parameterized face drawing in combination with facial information (such as head key points, facial key points, etc.) in addition to the initial three-dimensional sight line information, so that the drawn face three-dimensional model image is closer to the face image input into the convolutional neural network. Among them, the parameterized face drawing method refers to the image rendering method used to draw the face three-dimensional model image, which can automatically adjust the shape and texture of the three-dimensional model of the eye and face according to the posture and three-dimensional sight line information of the head and / or face, and draw the three-dimensional face image.

[0203] After the drawing is completed, the image error between the generated facial 3D model image and at least one of the two facial images initially input into the convolutional neural network is extracted through an image comparison twin network, and the extracted error features and the initial 3D line of sight information are input into a fully connected neural network, which outputs the final 3D line of sight information based on the initial 3D line of sight information and the image error.

[0204] Will Fig.11 and Fig.12 As can be seen from the scheme shown in Fig.11 Compared with the scheme shown, Fig.12 The scheme shown can correct the initial three-dimensional line of sight information based on the image error to obtain more accurate three-dimensional line of sight information.

[0205] Understandably, Fig.12 The convolutional neural network in the scheme shown is similar to Fig.11 The convolutional neural network in the scheme shown can be the same neural network or different. Similarly, Fig.12 The fully connected neural network that outputs the initial 3D line of sight shown in Fig.11 The fully connected neural networks that output three-dimensional line of sight information can be the same or different.

[0206] For the above-mentioned method 3, the part image may only use the head image group, and the neural network obtains the first initial focus route information and the second initial focus route information based on the head image, and then obtains the final focus route information by fusing the two focus route information.

[0207] As a specific example of method 3, Fig.13 The figure shows a schematic diagram of obtaining the first initial attention route information and the second initial attention route information through a neural network, and then fusing the first initial attention route information and the second initial attention route information through a fusion network to obtain the attention route information. In this example, the user is still used as the object, the gaze point is used as the attention point, the three-dimensional line of sight information is used as the attention route information, and two panoramic images are used as examples for explanation.

[0208] like Fig.13As shown, the input of this scheme is two head images. The two head images first pass through the convolutional neural network CNN1 to obtain two head feature images. The two head feature images pass through a fully connected neural network FC1 for face detection, and output the face position information (face position) in each head feature image. The two head feature images and the detected face position information of the two head feature images are input into the face feature pooling layer (face feature pooling layer). The face feature pooling layer extracts the images corresponding to the face position from the two head feature images according to the face position information to form two face feature images. The two face feature images pass through a fully connected neural network FC2 for face key point detection to detect the position information of face key points such as eyes in each face feature image (face key points). The two facial feature images and the facial key point position information of the two facial feature images detected are input into an eye feature pooling layer (human eye feature pooling layer), and the eye feature pooling layer respectively intercepts the eye feature images corresponding to the eye images from the two facial feature images according to the eye position information in the facial key point position information detected. After the two eye feature images are subjected to feature re-extraction by the convolutional neural network CNN3, the extracted feature images are input into the fully connected neural network FC3 for regression, and the fully connected neural network FC3 performs local three-dimensional sight line regression to obtain three-dimensional local sight line information, i.e., local three-dimensional sight line information (second initial attention route information). After the two head feature images, the two facial feature images, and the two eye feature images are feature-connected and input into the convolutional neural network CNN2 for feature re-extraction, the extracted feature images are input into another fully connected neural network FC4 for regression, and the fully connected neural network FC4 performs three-dimensional global three-dimensional sight line regression based on these features to obtain global three-dimensional sight line information (first initial attention route information). Finally, the global 3D sight line information and the local 3D sight line information are fused through a fusion network to obtain the final 3D sight line estimation, that is, the user's 3D sight line information.

[0209] The specific scheme for fusing the global 3D sight line information and the local 3D sight line information to obtain the final 3D sight line information can be selected as needed. For example, the global 3D sight line information and the local 3D sight line information can be fused by weighted averaging.

[0210] In an embodiment of the present application, when the starting point information and direction information of the route information are respectively determined by the above-mentioned method 2, the part images may include a head image group, a face image group, an eye image group and a face key point image group.

[0211] Fig.14FIG. 2 is a schematic diagram of a method for determining a part image of an object based on two panoramic images in an example of the present application. In this example, the user's three-dimensional line of sight information is still used as the attention route information, and two panoramic images are used as an example for explanation. Fig.14 As shown in , the user's position can be first detected from two panoramic images, that is, body detection, to obtain two user images, and then the head detection can be performed on the two user images to obtain two head images, and face detection can be performed based on the two head images to obtain two face images, and the positions of facial key points can be detected from the two face images, and the eye image area can be detected to obtain two facial key point images and two eye images. Among them, the facial key point images can mainly include the corners of both eyes, the roots of the two wings of the nose, the corners of the mouth, etc. Among them, the user image, head image, face image, and facial key point image can all be obtained using the existing technology and will not be described in detail here.

[0212] It is understandable that the part image of the object based on the method 1, the method 2 and the method 3 can also be adopted. Fig.14 The solution shown in is obtained, of course, other solutions can also be used.

[0213] For method 2, the position of the extracted facial key points can be used to estimate the orientation of the face relative to the reference coordinate system. The position information of the corresponding facial key points detected from the two panoramic images can be used to calculate the position of the face in space relative to the reference coordinate system through triangulation. The position of the person's eyes in space relative to the reference coordinate system can also be obtained, thereby obtaining the coordinates of the midpoint of the line connecting the centers of the two eyes in the reference coordinate system, that is, obtaining the starting point information of the attention route information.

[0214] The principle of triangulation is to use the straight line (baseline) distance between the optical centers of two cameras (or the same camera at different positions) and the two angles between the lines connecting the two optical centers and two corresponding key points and the baseline to calculate the position of the key point in the camera coordinate system. The detailed implementation steps of calculating the position of the key point in space by triangulation are prior art and will not be described in detail here.

[0215] It should be noted that when the reference coordinate system is not the coordinate system of the camera that obtains the panoramic image, after the positions of key points (such as facial key points, eye centers) are calculated through triangulation, the calculated positions need to be converted to the reference coordinate system.

[0216] For the determination of the direction information in the second method, it can also be obtained by a neural network based on the part image. The neural network can be obtained by a direction information estimation model of the focus route obtained through deep learning training. The model only needs to output the direction information. For example, for three-dimensional line of sight information, only the direction information (Ra, Rb, Rc) can be output.

[0217] Taking three-dimensional line of sight information as an example, it can be understood that when determining (X, Y, Z) and (Ra, Rb, Rc) respectively, the following can be used: Figures 11 to 13 To determine (Ra, Rb, Rc) by any of the methods shown in , we only need to change Figures 11 to 13 The network training output (Ra, Rb, Rc) of the output (X, Y, Z, Ra, Rb, Rc) can be used. For example, in the network architecture shown in FIG8, the fully connected neural network as the regression network only needs to output (Ra, Rb, Rc), that is, the regression network obtained based on the training only needs to have the detection function of (Ra, Rb, Rc).

[0218] In the embodiment of the present application, the part image of the object can be obtained by performing motion prediction on the object based on the historical position information of the part image.

[0219] In practical applications, when an object image is detected on an image for the first time at a certain moment, the images acquired thereafter can predict the candidate area where the object may appear in the current image based on the motion of the object at the previous moment, and then the object image can be detected only in this candidate area. Therefore, the motion of the object can be predicted based on the historical position information of the part image, and the candidate area of ​​the predicted part image can be detected to obtain the part image of the object at the current moment. In this way, the computational overhead can be effectively reduced. Among them, the specific method of predicting the motion of the object can be implemented by existing technologies.

[0220] As an example, Fig.15 A schematic diagram of a method for obtaining a user's part image is shown in . After the system is initialized, i.e., the panoramic image of the scene where the user is located is obtained, the user image detection is performed on the panoramic image obtained at the current time T0 to obtain the user image features at the current time (the user's part image, such as the user's position, i.e., the user's body image, the face image, the face key point image, etc.), and for the image at time Ti after time T0, the user's motion can be predicted, i.e., the possible position of the user image in the image at time Ti is predicted based on the position of the user image in the image at time T0, and the predicted possible position of the user image at time Ti is used as a candidate area for detecting the user's part image at time Ti (user image candidate area UCR), and user detection is performed in the candidate area in the image obtained at time Ti to obtain the user's part image. In this way, the efficiency of part image detection is improved.

[0221] By adopting this solution, in actual applications, if it is necessary to track the user's focus points at different times based on at least two panoramic images of corresponding frames in at least two videos, after the system is initialized, the object part image detection can be continuously performed on each frame of the input video. When the user image is detected for the first time at a certain moment, on each frame of the input video thereafter, the candidate area where the user's position may appear in the current frame can be predicted based on the user's movement at the previous moment, and then user image detection is performed only in this candidate area, thereby avoiding user image detection on each panoramic image frame, which can effectively reduce the amount of calculation.

[0222] In the embodiment of the present application, based on at least two images, a method for determining a focus point of an object in at least two images in a scene may include at least one of the following methods ① and ②:

[0223] Method 1:

[0224] Determining, according to the concerned route information, a matching degree of image information corresponding to projection points of the concerned route on at least two images;

[0225] Based on the degree of match, the focus is determined.

[0226] Method 2:

[0227] Get a depth image of the scene;

[0228] Determine, according to the route information of interest, a degree of matching between a depth value corresponding to a projection point of a route point of the route of interest in the depth image and a depth value corresponding to a corresponding route point;

[0229] Based on the degree of match, the focus is determined.

[0230] The route point of the focused route refers to a point on the focused route, and for the user's line of sight information, the route point is the line of sight point.

[0231] In the embodiment of the present application, the depth image of the scene may be selected as a dense depth image of the scene.

[0232] Among them, a dense depth image refers to an image in which each pixel on the image has a depth value. Using a dense depth image ensures that each pixel on the dense depth image has depth information.

[0233] The depth value of the route point can be calculated based on the coordinates of the route point in the reference coordinate system. It should be noted that when the reference coordinate system and the camera coordinate system of the depth image are the same coordinate system, the distance between the coordinates of the route point in the reference coordinate system and the origin of the reference coordinate system can be calculated and used as the depth value of the route point; when the reference coordinate system and the camera coordinate system of the depth image are not the same coordinate system, the depth value corresponding to the projection point of the route point in the depth image and the depth value of the route point need to be unified to the same coordinate system, and the focus point is determined based on the degree of matching between the two depth values ​​unified to the same coordinate system. Specifically, the following two methods can be used for unification:

[0234] One way is to convert the coordinates of the route point in the reference coordinate system to the corresponding coordinates in the camera coordinate system of the depth image, calculate the distance between the converted route point coordinates and the origin of the camera coordinate system of the depth image, and use the distance as the depth value of the route point, that is, the depth value of the pixel corresponding to the projection point of the route point on at least one of the at least two images, and determine the point of interest based on the degree of matching between the depth value and the depth value corresponding to the projection point of the corresponding route point on the depth image. If the route point is a point of interest, the depth value of the projection point of the route point on the scene depth image should match the calculated depth value of the route point. Therefore, for any route point, by comparing the depth value of the route point on the scene depth image with the depth value of the route point, it can be determined whether the route point is a point of interest.

[0235] Another way is to convert the depth value of the pixel point in the depth image to the depth value in the reference coordinate system, that is, to convert the depth value of the projection point of the route point on the depth image to the depth value in the reference coordinate system. At this time, the depth value of the route point can be directly obtained by calculating the distance between the coordinates of the route point in the reference coordinate system and the origin of the reference coordinate system. The focus point is determined based on the degree of matching between the calculated depth value and the depth value of the converted projection point.

[0236] In an embodiment of the present application, the depth image of the scene can be a depth image obtained based on at least two images acquired, or it can be a depth image of the scene obtained by photographing with a depth camera, or it can be a depth image of the scene obtained by a stereo image pair of each area in the scene taken by a camera when acquiring at least two images in the above-mentioned method three.

[0237] From the previous description, we can see that if a route point intersects with an object in space, ideally, the route point (such as Figure 1The sight point b) shown in FIG. 1 is projected in each of the at least two images. Ideally, the image information corresponding to the image window based on each projection point in different images should be the same. Therefore, the focus point can be determined based on the matching degree of the image information corresponding to the projection point.

[0238] In the embodiment of the present application, after obtaining the matching degree, the method may further include: correcting the matching degree by at least one of the following methods:

[0239] Focus point motion prediction correction, image semantic segmentation correction.

[0240] By correcting the matching degree and using the corrected matching degree as the final matching degree, the accuracy of the determined focus point can be further improved.

[0241] In the embodiment of the present application, determining the matching degree of the image information corresponding to the projection point of the route of interest on at least two images may include at least one of the following methods:

[0242] Method a:

[0243] Determine the image similarity of image windows corresponding to projection points of route points of the route of interest on at least two images, where the image similarity is the matching degree;

[0244] Method b:

[0245] Determining image similarity of image windows corresponding to projection points of route points of the route of interest on at least two images;

[0246] According to the historical position of the route point, the predicted position of the route point is obtained, and based on the current position and the predicted position of the route point, the position similarity corresponding to the route point is obtained;

[0247] Determine the matching degree according to the image similarity and position similarity;

[0248] Method c:

[0249] Determining image similarity of image windows corresponding to projection points of route points of the route of interest on at least two images;

[0250] Performing image semantic segmentation on at least one panoramic image to obtain a semantic segmentation image, determining semantic image information corresponding to a projection point of the route point on the semantic segmentation image, and obtaining a semantic possibility degree corresponding to the route point based on the semantic image information and an image window corresponding to a projection point of the corresponding route point on at least one of the at least two images;

[0251] Determine the degree of matching based on the image similarity and semantic possibility;

[0252] Method d:

[0253] Determining image similarity of image windows corresponding to projection points of route points of the route of interest on at least two images;

[0254] According to the historical position of the route point, the predicted position of the route point is obtained, and based on the current position and the predicted position of the route point, the position similarity corresponding to the route point is obtained;

[0255] Performing image semantic segmentation on at least one panoramic image to obtain a semantic segmentation image, determining semantic image information corresponding to a projection point of the route point on the semantic segmentation image, and obtaining a semantic possibility degree corresponding to the route point based on the semantic image information and an image window corresponding to a projection point of the corresponding route point on at least one of the at least two images;

[0256] The degree of matching is determined based on the degree of image similarity, position similarity and semantic possibility.

[0257] The image window corresponding to the projection point of the route point on the image refers to the image window determined in the image according to the projection point on the image. The specific method of determining the image window according to the projection point can be selected according to actual needs. For example, the image window can be obtained on the panoramic image according to a preset window size with the projection point as the center. The image familiarity of the image windows corresponding to the projection point of the route point on at least two panoramic images refers to the similarity of the images in the image windows corresponding to at least two projection points of the route point on at least two images.

[0258] For method a, each route point of the route of interest can be projected onto at least two images respectively, and each route point corresponds to a projection point in each image. Therefore, all projection points of all route points on the route of interest on each image form a projection curve corresponding to the route of interest. For each projection point, an image window can be determined based on the projection point. Therefore, the image similarity of the image windows corresponding to the projection points of each route point on different images can be calculated, and the point of interest can be determined based on the similarity.

[0259] As an example, Fig.16 FIG. 1 shows a schematic diagram of a method for determining a focus point by using image similarity as a matching degree. In this example, two panoramic images are still used as an example for explanation. Fig.16As shown, for the two panoramic images shown in the figure (the upper panoramic image and the lower panoramic image), the route of interest is projected onto the two images respectively to obtain corresponding projection curves (the curves shown by the arc dashed lines in the two images). Since the projection points of the same object point in space on the two images are located on the same image column, the projection points corresponding to a certain route point on the route of interest on the two panoramic images are located on the same image column. Starting from the starting point of the route of interest, for each pixel point on the projection curve, the image similarity of the corresponding image windows on the two panoramic images can be calculated respectively. Specifically, a point can be selected from the projection curve in the upper panoramic image, and then a point with the same column coordinates can be selected from the projection curve of the lower panoramic image as the corresponding point. With these two points as the center, the corresponding windows of the upper and lower panoramic images are selected. The size of the window can be selected as needed. By calculating the image similarity of the two image windows corresponding to each route point respectively, a curve of the change of image similarity along the route direction can be obtained, such as Fig.16 The image window similarity curve shown in the figure, a1 and a2 shown in the figure are two projection points of the same route point on two panoramic images, the image windows corresponding to the two projection points are W1 and W2, and the image similarity between W1 and W2 corresponds to the similarity of the position of point S on the similarity curve. After determining the image similarity corresponding to each route point, the focus point can be determined based on the image similarity.

[0260] The specific method for calculating the image similarity can be selected according to the application needs, such as calculating the similarity based on the grayscale difference. It is also possible to extract the image features of each corresponding image window, calculate the similarity of the image features of each corresponding image window, and use the similarity of the image features as the image similarity. For example, a convolutional neural network can be used to extract the features of the image of the corresponding image window to obtain the feature image of each image, and then different feature images are input into the twin neural network. The twin neural network can obtain the similarity score between the feature images, and the similarity score is used as the image similarity.

[0261] In the embodiment of the present application, when the image similarity is used as the matching degree, the method of determining the focus point may include:

[0262] The route point whose image similarity degree among all route points is greater than a set value and is closest to the starting point of the route of interest may be determined as the point of interest, or the route point whose image similarity degree among all route points is the greatest may be determined as the point of interest.

[0263] It should be noted that in actual application scenarios, if the focus point intersects with an object in the scene, the object will block the further extension of the object's line of sight. Therefore, in actual applications, the route point whose image similarity is greater than the set value and is closest to the starting point of the focus route can be selected as the focus point. At this time, when determining the image similarity, it is not necessary to calculate the image similarity corresponding to all route points. The image similarity corresponding to different route points can be calculated from near to far according to the distance between the route point and the starting point of the focus route. The route point corresponding to the first image similarity calculated to be greater than the set value is the focus point.

[0264] By comparing method b, method c and method d with method a, it can be seen that method b, method c and method d can be based on the image similarity obtained by method a, and then correct the image similarity by position similarity and / or semantic possibility. The position similarity represents the motion prediction information of the route point, and the semantic possibility represents the possibility that the object where the route point is located is the object in the image window corresponding to the route point.

[0265] As an example of determining the matching degree according to the image similarity, position similarity and semantic possibility in method d, Fig.17 , a schematic diagram of a solution for determining a focus point based on method d is shown in FIG. 2 , in which two panoramic images are still used as an example to illustrate the solution, with the user's gaze point as the focus point.

[0266] like Fig.17 As shown in , the scheme may include three branches. The first branch inputs the images of the image windows corresponding to the same sight point (denoted as P0) in the two panoramic images (the upper image window and the lower image window shown in the figure). The two image windows are located on the same image column, and the image features of the two image windows can be extracted respectively through the convolutional neural network. The two feature images output by the convolutional neural network are passed through the twin neural network to obtain the similarity score of the two feature images, and the similarity score is used as the degree of image similarity.

[0267] For the second branch, the current moment is recorded as T(i). First, the position of P0 at the moment T(id) (d≥1) before the moment T(i) can be obtained, that is, the historical position of P0. A long short-term memory (LSTM) network predicts the position of P0 at the current moment (the predicted position of P0) based on the historical position of P0, and obtains the position similarity score of P0 based on the predicted position and the actual position at the current moment. In this way, the position similarity score corresponding to each sight point can be obtained, and the score is used as the similarity. Among them, the historical position of the sight point can be determined based on the panoramic image of the historical moment, such as it can be calculated based on the panoramic image of the moment before the current moment. The position similarity can be achieved using existing technologies. For example, the position similarity can be determined based on the distance between two positions. The smaller the distance, the greater the similarity.

[0268] For the third branch, any panoramic image can be passed through an object segmentation convolutional neural network to obtain a semantic segmentation image. Based on the semantic segmentation image, the semantic image information of the projection point corresponding to each gaze point on the semantic segmentation image can be obtained, thereby determining the semantic possibility degree (semantic score) of the gaze point, that is, the possibility degree that the projection point corresponding to the gaze point on the semantic segmentation image is located on the object in the image window determined in branch one based on the corresponding projection point.

[0269] The image similarity, position similarity and semantic possibility obtained from the three branches are passed through a fusion network to obtain a binary classification prediction result of whether the sight point corresponding to the image window in branch one is the fixation point. When the object contained in the image window in branch one is the object of interest to the subject (the object corresponding to the projection point of the sight point on the semantic segmentation image), the binary classification prediction result is "yes", and when the object contained in the image window in branch one is not the object of interest to the subject, the binary classification prediction result is "no". Through this scheme, the sight point corresponding to the prediction result of "yes" can be used as an alternative point of the fixation point, and the fixation point can be determined based on the alternative point. For example, the alternative point closest to the starting point of the sight line can be determined as the fixation point.

[0270] As an example of the above method ②, Fig.18 A schematic diagram of a solution for determining a focus point based on the matching degree of depth values ​​(eg, the difference in depth values) is shown. In this example, two panoramic images and three-dimensional sight line information are still used as examples for explanation. Fig.18As shown, in this scheme, on the one hand, a panoramic image can be semantically segmented through a semantic segmentation network (which may include a convolutional neural network and a deconvolutional neural network), and the panoramic image can be segmented into image regions corresponding to different types of objects in the scene to obtain a semantic segmentation image of the scene. Image key points are extracted from the two panoramic images respectively, the key points extracted from the two images are matched, and the depth of these matching points from the system in the scene is estimated according to the stereo triangulation depth estimation method to obtain a sparse depth map of the scene. The sparse depth map of the scene and the semantic segmentation image of the scene are superimposed, and a dense depth map of the scene is output after passing through a deep convolutional neural network. On the other hand, the sight point on the three-dimensional sight line is projected onto the dense depth map to obtain a projection curve. For each sight point, the candidate point of the gaze point can be determined according to the degree of matching between the depth value of the projection point on the projection curve and the depth value of the sight point on the dense depth map, and the gaze point is obtained based on the candidate point. For example, when the difference between the two depth values ​​is less than a set threshold, the corresponding sight point can be used as a candidate point. The depth value of the sight point can be obtained by calculating the distance between the coordinates of the sight point in the camera coordinate system of the depth image and the origin of the camera coordinate system of the depth image.

[0271] In the embodiment of the present application, the depth value of the static object in the depth image of the scene is obtained according to the historical depth value of the static object.

[0272] In the embodiment of the present application, obtaining a depth image of a scene based on at least two images may specifically include:

[0273] determining static objects and dynamic objects in at least two images;

[0274] Obtaining historical consistency depth information of the static object, and determining current consistency depth information of the static object according to the historical consistency depth information of the static object;

[0275] A dense depth image of the scene is obtained according to the current dense depth information of the static objects and the current dense depth information of the dynamic objects.

[0276] Generally, most of the image areas in the scene image correspond to stationary objects in the scene, that is, static objects. The depth images of these stationary objects only need to be estimated when the system is initialized, thereby avoiding repeated calculation of the depth images of stationary objects at each moment, thereby reducing the computational overhead. When the camera moves, the depth image of the stationary object that has been obtained can be projected in space according to the camera movement and the movement of the camera at the initial moment and the current moment, and the depth information at the initial moment can be aligned to the current moment to obtain the depth image at the current moment.

[0277] Fig.19A schematic diagram of a method for obtaining the current depth value of a stationary object based on the historical depth value of the stationary object is shown in FIG. Specifically, as shown in the figure, when the system is initialized, the stationary object in the scene can be detected first. When the camera is stationary relative to the scene, the pixel grayscale change threshold between video frames can be used to detect the image area of ​​the stationary object in the corresponding scene in the image, and the scene depth corresponding to the pixels in the image area of ​​these stationary objects is estimated using the stereo image pair obtained by the system. The camera's own motion estimation method (for example, a SLAM-based method and / or an inertial sensor-based method) can be used to estimate the camera's own motion. If the camera does not move, the scene depth map of the stationary object obtained when the initial system is used can be directly used as the depth map of the stationary object at the current moment. If the camera moves, the rotation and translation transformation parameters between the current position and the initial position of the camera can be obtained by camera motion estimation, and the image of the scene stationary object obtained at the initial moment is rotated and translated using this set of rotation and translation transformation parameters to obtain the scene depth map of the stationary object in the image at the current moment. Then, based on the current depth information of the static object and the current depth information of the dynamic object, the depth image of the scene is obtained, so that the object focus point can be determined based on the scene depth image, such as realizing three-dimensional user line of sight intersection detection to obtain the user's gaze point.

[0278] Fig. 20 A flow chart of a method for determining a focus point provided in another embodiment of the present application is shown. Fig. 20 As shown, in Figure 2 Based on the method shown, the method may also include:

[0279] Step S130: determining a focus image of the object according to the focus point and at least one image of the at least two images.

[0280] After obtaining the focus point of the object, an image of the area that the object focuses on in the scene, namely the focus image of the object, can be obtained based on the focus point, so that a service that better meets the needs of the object can be provided to the object based on the focus image of the object.

[0281] For example, when the focus point is the user's gaze point, the focus image is the user's field of view image; when the focus point is the finger's pointing point, the focus image can be an image of the range pointed by the object's finger. After obtaining the user's focus image, the acquired object's focus image can be presented to the user through an electronic device, or the information of the objects in the focus image can be presented through the electronic device, such as the objects themselves or other objects related to the objects, or the objects that may be of interest to the object can be analyzed based on the specific content in the focus image, and information about related objects can be recommended to the object, etc.

[0282] The focus image may be determined based on the focus point by controlling an image acquisition device to acquire the focus image based on the focus point, or the focus image may be determined based on the focus point and at least one of at least two images that have been acquired.

[0283] In the embodiment of the present application, determining the focus image of the object according to the focus point and at least one image of the at least two images may include:

[0284] determining an observation image window of the object based on a projection point of the focus point on at least one of the at least two images;

[0285] According to the corresponding relationship between the observation image window and the focus window, the focus image is determined.

[0286] For the image of the acquired scene, the focus range of the object may correspond to the image window corresponding to the projection point of the focus point on the image. Therefore, the observation image window of the object may be determined according to the projection point of the focus point on the image, and then the focus image may be determined based on the correspondence between the observation image window and the focus window. Determining the observation image window of the object may include:

[0287] Determine the focus window of the object;

[0288] An image window corresponding to the focus window determined according to a projection point of the focus point on at least one of the at least two images is determined as an observation image window.

[0289] Among them, the attention window can be determined according to the actual attention range of the object, and the size of the attention window can be configured according to experience. For example, when the attention point is the user's gaze point, the attention window can be the user's field of view window. The user's field of view range, that is, the size of the field of view window, can adopt the average field of view range value of humans. Generally, the single-eye comfortable field of view of a normal human eye is about 60 degrees, and the upper and lower angles and horizontal angles of the user's field of view can be taken as the average field of view of the human eye of 60 degrees. When the attention point is the pointing point of a finger, the size of the attention window can be configured as needed.

[0290] Specifically, a rectangular window in a space can be determined based on the starting point of the attention route, the attention route and the attention range, and the rectangular window is used as the attention window. In practical applications, optionally, the attention route starting from the starting point of the attention route can be perpendicular to the attention window, and the orthocenter is located at the center of the attention window. The width of the window and the starting point of the attention route determine the field of view of the object's attention range in the horizontal direction (such as for the visual field window, the field of view in the horizontal direction can be 60 degrees), the height of the screen and the starting point of the attention route determine the field of view of the object's attention range in the vertical direction. The size of the rectangle is related to the distance between the rectangle and the starting point. The larger the distance, the larger the area of ​​the rectangle. The distance between the rectangle and the starting point can be set arbitrarily, such as d meters (d≥0), and d can be set arbitrarily as needed. In practical applications, considering the matching of the resolution of the attention image and the camera image, the distance value of d can be set to the focal length of the camera. The point of interest is projected onto the image, and the image area size converted according to the size of the attention window is determined around the projection point (optionally centered on the projection point).

[0291] It is understandable that the rectangle is only one optional form of the object's attention window, but it is not the only one. A circular or other forms of attention window may also be selected as required.

[0292] In the embodiment of the present application, determining the focused image according to the correspondence between the observed image window and the focused window may include:

[0293] Determine a transformation matrix from the observation image window to the focus window according to the position information of the focus window in the reference coordinate system and the position information of the observation image window in the reference coordinate system;

[0294] The observation image window is transformed according to the transformation matrix, and a window image corresponding to the transformed image observation window in the corresponding image of at least two images is determined as a focus image.

[0295] Since the optical center of the device that acquires the image of the scene and the starting point of the focus route do not coincide with each other in most cases and there is a certain distance between them, in order to obtain an image that is closer to the object of interest, it is necessary to transform the image in the observation image window. Specifically, the relationship matrix from the observation image window to the focus window can be obtained through the internal parameters of the panoramic camera and the focus route information. The observation image window is transformed according to the relationship matrix, and the image corresponding to the transformed image observation window in the panoramic image is determined as the focus image.

[0296] Specifically, when the observation image window is transformed according to the relationship matrix, for each pixel point coordinate in the focus window, the corresponding pixel point coordinate in the observation image window can be obtained through the transformation matrix, and the color value of the pixel at the coordinate is assigned to the pixel at the corresponding coordinate in the focus window. Through this solution, it can be ensured to the greatest extent that the angle of the converted image observation window and the camera optical center (observation range) and the angle of the object focus range are consistent.

[0297] Taking the user's three-dimensional sight information as the attention route information and the reference three-dimensional coordinate system as the reference coordinate system as an example, Fig.21 , a schematic diagram showing the principle of determining the user's visual field image according to the gaze point is shown, in which point M is the starting point of the three-dimensional visual line, i.e., the center of the user's visual line, and point G is the gaze point. Fig. 22 A schematic diagram of a method for determining a visual field image based on a gaze point and a panoramic image is shown in FIG. Fig.21 and Fig. 22 As shown, first, a rectangle in three-dimensional space, namely, a visual field window (the user visual field screen shown in the figure) is determined based on point M, three-dimensional visual line information and visual field range. The three-dimensional visual line starting from point M is perpendicular to the visual field window, and its orthocenter is located at the center of the window. Projecting the gaze point G onto the panoramic image can obtain the projection point R on the panoramic image. In this example, in order to more intuitively reflect the process of determining the visual field image, Fig.21 The schematic diagram of projecting point G onto the spherical panoramic image is shown. The observation image window is converted according to the size of the field of view window around the projection point R, and the observation image window is transformed according to the homography transformation relationship matrix H between the observation image window and the field of view window. Specifically, the three-dimensional coordinates of the four vertices of the image observation window in the reference three-dimensional coordinate system can be obtained through the intrinsic parameters of the camera, and the three-dimensional coordinates of the four vertices of the field of view window in the reference three-dimensional coordinate system can be obtained through the three-dimensional line of sight information, thereby calculating the matrix H, transforming the observation image window according to H, and outputting the image corresponding to the transformed observation image window on the panoramic image as the user field of view image.

[0298] Based on Figure 2 Based on the same principle as the method for determining the focus point shown in , the present application embodiment also provides a device for determining the focus point, such as Fig.23 As shown, the device 100 for determining a focus point may include an image acquisition module 110 and a focus point confirmation module 120 .

[0299] An image acquisition module 110, configured to acquire at least two images of a scene;

[0300] The focus point confirmation module 120 is used to determine the focus point of the object in the image in the scene based on at least two images.

[0301] Compared with the prior art, the device for determining the focus point provided in the embodiment of the present application can detect the focus point of an object in an actual scene based on at least two images of the scene where the object is located. This solution can determine the focus point of an object in a real scene without the object wearing any equipment, so it can be applied to actual application scenarios where the object does not need to wear additional equipment, and can provide a more natural interaction method for the object.

[0302] The device for determining the focus point provided in the embodiment of the present invention can implement the embodiment of the method for determining the focus point provided in the embodiment of the present application. The specific functional implementation of the device for determining the focus point can be found in the description in the embodiment of the method for determining the focus point, which will not be repeated here.

[0303] Based on the same principle as the method for determining a focus point and the method for determining a focus point provided in the embodiments of the present application, the present application also provides an electronic device, such as Fig.24 As shown, the electronic device 200 may include an image acquisition module 210 , a memory 220 and a processor 230 .

[0304] An image acquisition module 210, for acquiring at least two images of a scene;

[0305] The memory 220 is used to store machine-readable instructions. When the instructions are executed by the processor, the processor 230 is configured to determine the focus point of the object in the image in the scene based on at least two images captured by the image acquisition module.

[0306] The electronic device 200 provided in the embodiment of the present application can implement the embodiment of the method for determining the focus point provided in the embodiment of the present application, and can execute the functions of the device for determining the focus point provided in the embodiment of the present application. The detailed description of the electronic device 200 can be found in the description in the above-mentioned embodiment of the method for determining the focus point, which will not be repeated here.

[0307] Based on the same principle as the method for determining a focus point and the method for determining a focus point provided in the embodiments of the present application, the present application also provides a system for determining a focus point, such as Fig.25 As shown, the system 300 for determining a point of interest may include an image acquisition device 310, and an electronic device 320 connected to the image acquisition device 310;

[0308] An image acquisition device 310, used to acquire at least two images of a scene and send the at least two images to an electronic device;

[0309] The electronic device 320 is used to receive at least two images sent by the image acquisition device, and determine the focus point of the object in the image in the scene based on the at least two received images.

[0310] The system for determining the point of interest provided in the embodiments of the present application can implement the embodiments of the method for determining the point of interest provided in the embodiments of the present application, and can execute the functions of the device for determining the point of interest provided in the embodiments of the present application. The detailed description of the system for determining the point of interest can be found in the description in the above-mentioned embodiment of the method for determining the point of interest, which will not be repeated here.

[0311] Depend on Fig.24 and Fig.25 It can be seen from the scheme shown that the step of acquiring at least two images and the step of determining the focus point in the method for determining the focus point provided in the embodiment of the present application can be performed by an electronic device including an image acquisition module, or can be performed by an image acquisition device and an electronic device that determines the focus point based on the images acquired by the image acquisition device. When the method is jointly executed by the image acquisition device and the electronic device, the electronic device can also be a server in the cloud, that is, the software that can determine the focus point of the object in the image in the scene based on at least two images can be run in the cloud, and the cloud determines the focus point by acquiring at least two images acquired by the image acquisition device.

[0312] The application also provides a method for obtaining behavior information. Fig.26 A flow chart of the information acquisition method provided by an embodiment of the present application is shown in FIG. Fig.26 As shown, the information acquisition method may include:

[0313] Step S210: obtaining the focus point of the object;

[0314] Step S220: Obtaining behavior information of the object according to the focus point.

[0315] The focus point of the object in step S210 may be a focus point obtained according to the method for determining the focus point shown in any of the above embodiments of the present application. That is, the information acquisition method of the embodiment of the present application may be implemented after obtaining the focus point based on the method for determining the focus point of the embodiment of the present application, and the behavior information of the object is obtained based on the focus point.

[0316] The information acquisition method of the embodiment of the present application can, after obtaining the focus point of the object, further obtain the behavior information of the object based on the information of the focus point, so as to provide the object with a service that better meets the actual needs of the object based on the behavior information of the object, or analyze the object's intention based on the behavior information of the object, or perform other processing based on the behavior information as needed.

[0317] In the embodiment of the present application, the above-mentioned behavior information may include at least one of the following A to G:

[0318] A. The object that the subject is paying attention to;

[0319] B. How long the subject focuses on the object;

[0320] C. Information about the changes of the objects that the subject is concerned about over time;

[0321] D. The object’s focus trajectory;

[0322] E. The object’s attention image;

[0323] F. Interaction information between objects and devices;

[0324] G. Voice information of the subject.

[0325] For information A, the object where the focus point is located in space can be determined based on the coordinate information of the focus point, or it can be determined based on the projection point of the focus point on the image determined by the user. The object where the projection point is located on the image is the object that the subject is paying attention to.

[0326] For information B, the focus points of the object at different times can be continuously detected to obtain the focus time of the object. The focus time can be the focus time of the object corresponding to each focus point, the focus time on the same object, or the focus time on objects of the same category.

[0327] For information C, the objects that the subject pays attention to at different times can be determined according to the focus points at different times, and then the change information of the objects that the subject pays attention to over time can be obtained.

[0328] For the information D, the focus point trajectory of the object can be obtained according to the focus points of the object at different times.

[0329] For information E, the object's focus image can be an image acquired by an image acquisition device based on the focus point, or an image obtained based on the focus point and the scene image based on which the focus point is determined. Fig. 22 The image of interest is obtained in the manner shown in .

[0330] For information F, the interaction information between the object and the device may include voice interaction information between the object and the device, and / or contact information between the object and the device, and / or user instructions received through the device, etc. For example, voice / touch interaction may be performed with the object through a voice interaction device or a touch device to obtain the object's voice information or touch action information on the device in a period corresponding to the moment of acquiring the focus point or determining the focus point.

[0331] For information G, the voice information of the object, may be the voice information of the object collected by a voice collection device / human-computer interaction device, etc., and the voice information of the object in the corresponding time period may be obtained based on the determined time of the focus point.

[0332] Fig. 27 A flow chart of a method for obtaining behavior information provided in another embodiment of the present application is shown. Fig. 27 It can be seen that in Fig.26 Based on the information acquisition method shown, the information acquisition method may further include:

[0333] Step S230: Processing is performed according to the behavior information of the object.

[0334] In the embodiment of the present application, the above processing may be at least one of the following a to f:

[0335] a. Save images or videos of objects that the subject is interested in;

[0336] b. Provide services or information related to the objects of interest to the subject;

[0337] c. providing information or services related to the image of interest of the object;

[0338] d. The state of the object that the control object is concerned about or its own state;

[0339] e. Provide prompt information;

[0340] f. Provide attention-related information.

[0341] For a, when the object of interest to the subject is obtained, the image or video including the object can be saved to provide it to the subject itself or related personnel. For example, in a tourist attraction, when a tourist rides or takes a car to play, a relevant electronic device can be configured on the car, and the electronic device can obtain the object in the scenic spot that the subject is interested in by determining the object's point of interest, and save the relevant image or video, thereby realizing the automatic saving of the image or video of the scenic spot that the tourist is interested in. Alternatively, the scenic spot management department can configure relevant electronic devices at popular scenic spots, and the device can obtain the object of interest to the tourist and save the relevant image or video to provide it to the user or management personnel, so that the management personnel can manage the scenic spot based on the saved image or video.

[0342] For b, providing services or information related to the object of interest to the subject may include:

[0343] Providing relevant information of the object of interest to the object obtained according to the object's instruction; and / or providing services or information determined by combining the object of interest to the object and the object's voice information. The object's instruction includes but is not limited to the object's voice search instruction and / or touch instruction, etc. For example, when the object's instruction is a voice search instruction, the relevant information of the object of interest to the object can be searched according to the object's voice search instruction, so as to respond to the object's search instruction based on the searched information.

[0344] In practical applications, the relevant information of the object of interest to the subject (such as relevant information of the object retrieved from the Internet, relevant information of the object found in a preconfigured database, an image of interest, or an image or video of the object of interest, etc.) can be displayed to the subject itself or relevant personnel through a designated device; the subject's intention can also be determined based on at least one of the information from A to F, and corresponding services or information can be provided to the subject based on the subject's intention. The designated device can be the device itself that executes the information acquisition method, or it can be another device that communicates with the device that executes the information acquisition method.

[0345] For c, when the object's focus image is obtained, relevant services or information can be provided to the object itself or related objects based on the image or the object in the image. For example, the focus image can be provided to the object, or all objects in the focus image can be obtained based on image analysis, and relevant information of each object can be provided to the object, or other related objects can analyze the object's intention based on the focus image, take corresponding actions according to the intention, and so on.

[0346] For d, when the object of the subject's attention is obtained, such as when the object is an electronic device, the relevant parameters or control information of the object can be sent to the object's associated device or directly displayed on the object, and the object can control the state, parameters, etc. of the object based on the relevant parameters or control information.

[0347] For e, the prompt information may include at least one of the following information:

[0348] Prompt information for abnormal behavior of the object;

[0349] Prompt information for potentially threatening objects;

[0350] Prompt information about the behavior of the object.

[0351] For example, when obtaining information about changes in an object that the subject is paying attention to over time, the information about changes in the object that the subject is paying attention to over time can be compared with standard change information, and correction information can be generated based on the comparison result to remind the subject's behavior based on the correction information or enable the subject to pay attention to objects in an order based on the correction information, so that the corrected information about changes in the object that the subject is paying attention to over time conforms to the standard change information.

[0352] For another example, based on the object's attention image and the image of the scene where the object is located, it is also possible to determine the potential dangerous objects that the object has not paid attention to, and to generate corresponding reminder information in a timely manner. It is also possible to predict the object's behavior pattern based on the object's attention image, and generate reminder information for abnormal behavior patterns when the behavior pattern is abnormal to remind the object or other related objects; it is also possible to obtain the object's predicted behavior based on the object's position and the trajectory of the attention point, and generate reminder information based on the object's predicted behavior to remind the object itself or other related objects in the scene based on the reminder information, or the reminder information of the predicted behavior can be sent to a designated device so that the designated device adjusts the device state according to the predicted behavior.

[0353] For f, for example, based on the focus points of the object at different times, the objects that the object focuses on at different times can be obtained, and based on the objects that the object focuses on at different times, the attention information of the object can be analyzed or statistically obtained. The object's attention-related information can be provided to the object itself or other related objects so that the object itself or other related objects can adjust their state or scene based on the information. The electronic device can also generate scene adjustment information based on the attention-related information according to certain strategies, etc.

[0354] Based on Fig.26 Based on the same principle as the information acquisition method shown in , the present application embodiment also provides a behavior information acquisition device. Fig.28 As shown, the information acquisition device 400 may include a focus point acquisition module 410 and a behavior information acquisition module 420 .

[0355] A focus acquisition module 410 is used to acquire the focus of an object;

[0356] The behavior information acquisition module 420 is used to acquire the behavior information of the object according to the focus point.

[0357] The information acquisition device of the embodiment of the present application can, after acquiring the focus point of the object, further acquire the behavior information of the object based on the focus point, so as to provide the object with a service that better meets the actual needs of the object based on the behavior information of the object, or analyze the object's intention based on the behavior information of the object, or perform other processing based on the behavior information as needed, etc., to better meet the actual application needs.

[0358] The information acquisition device provided in the embodiment of the present invention can implement the embodiment of the behavior information acquisition method provided in the embodiment of the present application. The specific functional implementation of the information acquisition device can refer to the description in the embodiment of the information acquisition method, which will not be repeated here.

[0359] In order to better understand the scheme for determining the focus point and the information acquisition scheme provided by the present application, the following takes the user as the object and the user's gaze point as the focus point, and combines specific practical application scenarios to describe in detail the information acquisition method provided in the embodiments of the present application.

[0360] Scene 1: Shopping Scene 1

[0361] In actual shopping scenarios, the electronic device for determining the focus point can be installed at different locations in the scenario according to actual needs. For example, it can be installed near the commodity shelves, such as Fig.29a As shown in , it can capture both the merchandise on the shelf and the shoppers near the shelf at the same time; it can also be installed on a mobile platform, such as Fig.29b As shown in FIG, the mobile platform is equivalent to an intelligent agent or robot, which can simultaneously capture the merchandise displayed in the shopping place and nearby shoppers; it can also be installed on a mobile shopping cart, such as Fig.29c As shown in the figure, it can capture the customers and the products placed nearby at the same time; it can also be installed on the front desk, such as Fig.29d As shown, you can see the guests and the items placed near the front desk at the same time.

[0362] After determining the user's gaze point, the electronic device that determines the focus point can know the product that the user is gazing at, that is, the object that the user is paying attention to, based on the gaze point, and further provide relevant services to the user based on the product. Specifically, the related information of the product can be displayed to the user through an electronic device (which can be a device that determines the focus point or other devices). The related information can be detailed information about the product, or it can be product or service information that the user may be interested in predicted based on the product.

[0363] Scenario 2: Shopping or reception scene

[0364] By determining the focus point, the electronic device can continuously detect the user's gaze point. According to the gaze point at different times, the products that the user is paying attention to at different times can be known. Therefore, the user's gaze duration on the same object or objects of the same category in the field of vision can be known. Based on the duration, the user's intention can be further determined, and more appropriate services or information can be provided to the user based on the user's intention.

[0365] Fig.30A schematic diagram of a method for providing customer-centric services in a shopping or reception scene. As shown in the figure, the user's gaze point at different times can be obtained by tracking the user's field of view, and the object being gazed at in the user's field of view can be continuously detected. As shown in the figure, the object being gazed at by the user at different times can be obtained based on the user's gaze point at different times such as T(i-2), T(i-1), and T(i), and the user's intention type can be analyzed by recording the user's gaze time on the same object or the same object category in the field of view. For example, when the user gazes at an object A for more than a certain time length threshold, the user's intention can be classified as the user "interested in object A". For another example, when the user's gaze time on the object in the field of view is less than a certain length threshold, and the user's gaze point moves in the scene, the user's intention can be classified as "searching".

[0366] After classifying the user's intention at the corresponding moment based on the user's gaze time on the product, services that better meet the user's needs can be provided based on the classified user intentions. For example, when the intention is "interested in item A", the related information of item A can be displayed to the user, and when the intention is "search", the information of other items other than the items that the user has already paid attention to can be displayed to the user.

[0367] In addition, in actual applications, a service database can also be configured, and the service database can record the most suitable service solutions corresponding to different user intentions. For example, corresponding to the user intention of "interested in item A", the corresponding service can be configured as "recommended information about item A", and the corresponding information can be played to the user through the on-site multimedia equipment, or the information can be sent to the user's personal multimedia equipment (such as mobile phones, smart glasses, etc.) through the communication equipment.

[0368] In addition, in shopping or reception scenes, an artificial voice interaction device can also be set up, through which voice interaction can be carried out with users in the scene. When the gaze point is determined, the conversation information between the user and the interaction device obtained by the artificial voice interaction device during the period corresponding to the determined time can be obtained based on the determined time of the gaze point. The user's gaze point and the conversation information can be combined to more accurately derive the user's intention and provide the user with relevant services or information, such as Fig.30 As shown in , the user's voice information can be obtained through the user dialogue engine.

[0369] Scene 3: Reception scene

[0370] In the reception scenario, we can obtain the user's gaze shift based on the user's gaze point at different times, that is, the change of the object the user pays attention to over time, judge the user's attention or needs, and provide the user with relevant services or information; we can also further predict user behavior based on the change, and provide the user with relevant services or information in a timely manner.

[0371] Scenario 4: IoT smart home scenario

[0372] In a smart home scenario, home appliances can communicate with each other and can be connected to smart agents. The electronic device for determining the focus point can be installed on a mobile platform, move in the home environment, capture the user's image, determine the user's gaze point based on the captured image, and analyze the smart home items observed by the user based on the gaze point, so as to provide corresponding services or information.

[0373] like Fig.31 In the smart home scenario shown, when it is detected that a user is looking at a household item (such as a smart refrigerator), an intelligent agent (which can be an intelligent robot or a smart device) that can determine the gaze point and obtain user behavior information can be connected to the refrigerator, retrieve information such as food stored in the refrigerator, and display the retrieved information to the user through a smart speaker or a display in the room. Of course, if the intelligent agent has a display function, the retrieved information can also be displayed directly to the user by the intelligent agent.

[0374] Fig.32 A schematic diagram of another smart home scenario is shown in FIG. Fig.33 A method for Fig.32 A schematic diagram of a method of displaying an IoT device control interface according to a user's line of sight in a scene shown in FIG. Fig.32 and Fig.33 As shown, the intelligent agent can track the user's line of sight. When the user's gaze point is determined, the user's field of view image can be obtained based on the gaze point. By detecting the user's field of view image, it can be determined whether the user's field of view contains one of a group of registered IoT devices. When it is detected that the object the user is looking at matches a registered IoT device, such as the IoT air conditioner or IoT TV shown in the figure, the intelligent agent can communicate with the device through the IoT, synchronously read its device status and control parameters and other information, and display this information on the user's mobile multimedia device, allowing the user to check or control the status of the device. For example, the user can control the air conditioner to turn on or adjust the control parameters of the air conditioner that has been turned on through the control interface of the IoT air conditioner displayed on his mobile device according to the status and control parameters of the air conditioner displayed on the interface.

[0375] Scene 5: Game scene

[0376] like Fig.34 In the play scene shown, the electronic device for determining the focus point and obtaining the behavior information can be installed on the riding vehicle. When the user is playing, the device can obtain the video of the user and the objects in the scene. Based on the image of each frame in the video, the user's gaze point at different times can be detected to track the user's field of view. The user's field of view image in each frame of the video can be saved based on the gaze point, that is, the field of view video, to realize the automatic acquisition and preservation of the objects of interest in the scenic spots that the user pays attention to during the travel, and to record the user's travel memories.

[0377] Scenario 6: Assisted Driving Scenario

[0378] In such Fig.35 In the assisted driving scenario shown, electronic equipment for determining focus points and obtaining behavioral information can be installed on the vehicle to observe pedestrians around the vehicle and objects in the environment, and determine whether surrounding pedestrians may enter the driving route, thereby providing early warnings to the driver or providing control basis for automated driving.

[0379] Fig.36 FIG. 2 shows a schematic diagram of a method for automatically determining the moving intention of surrounding pedestrians on a vehicle in an assisted driving scenario based on a solution of an embodiment of the present application. Fig.35 and 36 As shown, the electronic equipment installed on the vehicle can detect pedestrians in the image by acquiring scene images, continuously detect the gaze point of each pedestrian, and track the field of vision of each pedestrian, so as to identify the direction of travel of the pedestrian and provide assistance for the safe driving of the vehicle.

[0380] Specifically, based on the field of vision tracking of each pedestrian, the field of vision image and the trajectory of gaze point changes are obtained. According to the field of vision content and the trajectory of changes, the intention of the pedestrian is analyzed and the behavior of the pedestrian is predicted. For example, when a pedestrian approaches an intersection and the field of vision trajectory of the pedestrian shows that the pedestrian is scanning the road conditions at the intersection with his eyes, it can be judged that the pedestrian is about to cross the intersection. Then, based on the intention of the pedestrian and the pedestrian behavior model, the behavior of the pedestrian can be predicted, for example, the pedestrian may cross the road. These pedestrian behaviors can be transmitted to the autonomous driving decision unit to adjust the vehicle state in order to achieve the purpose of safe driving. When the predicted route of the pedestrian conflicts with the predicted route of the vehicle, it can be judged as a dangerous situation, and the driver can be warned to realize the automatic judgment of the travel intention of the surrounding pedestrians on the vehicle.

[0381] In addition, this solution can also be used for autonomous navigation of robots, helping to avoid collisions between robots and pedestrians during movement.

[0382] Scenario 7: Teaching operation scenario

[0383] In scenarios such as kitchens, factories, and laboratories, teachable intelligent agents can assist users in completing specific tasks consisting of a series of operations by observing users and providing suggestions.

[0384] like Fig.37 In the application scenario shown, a sequence standard (standard change information) for the operator's attention shift can be generated based on the standard operation sequence (standard operation sequence) of a specific task, that is, at what moment, the operator's focus should be on what object (such as objects A / B, C in the figure).

[0385] Fig.38 A method for Fig.37 Schematic diagram of a method for providing operation suggestions to a user in a teaching operation scenario shown in FIG. Fig.37 and 38 As shown, the intelligent agent can be installed in a fixed or mobile position in the operating environment, and can simultaneously observe the operator and the various items that the operator needs to use to complete the task. Specifically, the intelligent agent can continuously detect the user's gaze point and track the user's field of view by acquiring images in the scene. By continuously analyzing the images of the scene where the operator is located, it can track the changes in the category of objects that the operator is looking at over time, and obtain the change information of the category of objects that the operator is concerned about over time. By comparing the above-mentioned operation change information of the operator with the standard change information, it can be determined whether the operator's operation meets the standard. When it is found through comparison that the operator performs a certain operation, the operator's attention, that is, the point of gaze, is not placed on the object that should be focused on, correction information can be generated based on the comparison result. Based on the correction information, operation suggestions can be made to the operator in a multimedia manner, so that the operator can correct the operation behavior according to the operation suggestion.

[0386] Scenario 8: Driver interaction scenario

[0387] In such Fig.39 In the illustrated scenario, the user is driving a motor vehicle or a bicycle, and both of the user's hands are occupied by driving equipment (such as a steering wheel or handlebars). Based on the solution of the embodiment of the present application, the user's field of view can be extracted, and a natural user interaction method without user gestures can be provided.

[0388] Fig.40 A method for Fig.39 A schematic diagram of a method for providing input to a human-computer interaction system based on a user's field of view image in the scene shown, such as Fig.39 and Fig.40As shown, an electronic device for determining focus points and obtaining behavior information can be installed on a vehicle, and the device can simultaneously observe the user's image and the image of the scenery outside the vehicle. The user can interact with the human-computer question-and-answer interaction system on the vehicle through voice. For example, when the user observes an object outside the vehicle, he or she makes an information retrieval request (such as "what is that") to the interaction system through voice. The image acquisition module of the electronic device (such as a panoramic camera system) captures the user's field of view image when the user speaks the retrieval request. The object can be detected from the field of view image, and the object can be searched on the Internet, and appropriate matching information is given and presented to the user through images or voice.

[0389] It is understandable that, in practical applications, the above electronic device can be integrated with the vehicle's onboard computer, that is, the functional modules for determining the gaze point and obtaining the behavior information can be integrated into the onboard device, and the onboard device can complete the process. Fig.40 In the method shown in , for example, when the user's visual field image is captured when the user speaks the search request, the image can be automatically handed over to the on-board computer, which detects the object from the visual field image, searches for the object on the Internet, and gives appropriate matching information, which is presented to the user in the form of image or voice. In addition, the functions of image acquisition, determining the focus point based on the image, and obtaining the behavior information can be completed by one device or multiple devices.

[0390] In such Fig.41 In the scenario shown, prompt information about potentially threatening objects can be provided to the cyclist based on the solution of the embodiment of the present application. Fig.42 A method for Fig.41 Schematic diagram of a method for detecting and alerting a user to potentially threatening objects in the surrounding traffic environment in the scenario shown. Fig.41 and Fig.42 As shown, the electronic device installed in the vehicle can obtain a panoramic image in the traffic environment, determine the user's gaze point, obtain the user's field of view image, and track the user's field of view. By analyzing the user's field of view image, it can be known which objects in the scene the user has seen. By analyzing the panoramic image, it can be known which objects are in the scene and which of these objects are potentially threatening objects. By comparing the objects in the scene with the objects in the user's field of view image, if the user does not pay attention to potential objects that may appear in the surrounding traffic scene (such as vehicles approaching from behind), the user warning system (which can be the electronic device or other devices that are communicatively connected to the electronic device) can provide safety prompts to the user through multimedia.

[0391] Scenario 9: Security monitoring scenario

[0392] In security monitoring scenarios, such as Fig.43 In the security monitoring scenario of the public place shown, based on the solution of the embodiment of the present application, matching services can be provided for the users in the scenario.

[0393] Fig.44 A method for Fig.43 A schematic diagram of a method for simultaneously tracking and detecting the behavior of multiple pedestrians in the scene shown in FIG. Fig.43 and Fig.44 As shown, the electronic device for determining the focus point and obtaining the behavior information can be installed on a fixed or mobile platform in the scene, and simultaneously observe and track the gaze points of multiple people in the scene. Based on each person's gaze point, each person's field of view image can be obtained to achieve pedestrian field of view tracking. By analyzing each person's field of view image, the analyzed pedestrian intention can be matched with the configured pedestrian intention database, and the behavior pattern of the monitored pedestrian can be predicted. If an abnormal behavior pattern occurs, corresponding prompt information can be generated so that corresponding actions can be taken or matching services can be provided based on the prompt information. For example, a user's gaze point is constantly changing, and the user's intention is to search. Based on the database configuration, it is predicted that the user with the intention of searching may need help and needs special processing, so corresponding prompt information can be generated to provide timely help to users in need of help.

[0394] Scenario 10: Meeting or classroom scene

[0395] like Fig.45 In the multi-user application scenarios such as the conference venue or classroom shown, the electronic device for determining the focus point and obtaining the behavior information can be installed at a fixed or mobile position in the scene. The device can simultaneously observe the panoramic image of multiple users in the conference venue or classroom and provide attention (focus point) analysis. By performing statistical analysis on the attention of participants or students, the attention analysis results can be provided to the participants or teachers so that the participants or teachers can adjust the meeting or lecture process according to the analysis results, or the scene adjustment information can be generated based on the attention analysis results, and the adjustment information can be provided to the participants or teachers as a reference.

[0396] Fig.46 A method such as Fig.45 A schematic diagram of a method for analyzing user attention in the scenario shown in FIG. Fig.45 and Fig.46 As shown in , by tracking and detecting the gaze points of multiple users (such as students) in the scene, it is possible to know whether the user's attention is in the right place, so that the statistical results of attention deviation and the overall attention statistical analysis results can be obtained. Based on the statistical results of attention deviation, the meeting host or teacher can be reminded to make corresponding adjustments to the meeting or lecture process.

[0397] The present application also provides an electronic device, which includes a memory and a processor;

[0398] A memory for storing machine-readable instructions, which, when executed by a processor, causes the processor to execute the method for determining a focus point shown in any embodiment of the present application, and / or the method for obtaining information shown in any embodiment of the present application.

[0399] An embodiment of the present application also provides a computer-readable storage medium, which is used to store computer instructions. When the computer instructions are executed on a computer, the computer can execute the method for determining a focus point shown in any embodiment of the present application, and / or the method for obtaining information shown in any embodiment of the present application.

[0400] Fig.47 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown, and the electronic device 200 may include: a processor 2001 and a memory 2003. The processor 2001 and the memory 2003 are connected, such as through a bus 2002. Optionally, the electronic device 2000 may also include a transceiver 2004. It should be noted that in actual applications, the processor 2001, the transceiver 2004, the memory 2003, etc. are not limited to one, and the structure of the electronic device 2000 does not constitute a limitation on the embodiment of the present application.

[0401] The processor 2001 and the memory 2003 can be applied in the embodiment of the present application to realize the functions of the device for determining the focus point and / or the device for obtaining information in the embodiment of the present application. The transceiver 2004 may include a receiver and / or a transmitter for receiving and / or sending information to realize data interaction between the electronic device 2000 and other devices.

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

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

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

[0405] Optionally, the memory 2003 is used to store application code for executing the solution in the embodiment of the present application, and the execution is controlled by the processor 2001. When the processor 2001 executes the application code stored in the memory 2003, the method for determining the focus point and / or the method for obtaining behavior information provided in any embodiment of the present application can be implemented.

[0406] The method for determining the focus point and / or the information acquisition method of the present application is further explained below in conjunction with the following specific examples 1 to 3. In these three examples, the user's gaze point is used as the focus point and the three-dimensional line of sight information is used as the focus route information.

[0407] Example 1

[0408] In this example, Figure 3 As shown in the figure, two panoramic cameras connected up and down obtain two panoramic images, and the user's gaze point is obtained based on the two panoramic images. Fig.48 The flowchart of this example is shown in FIG. 8 . As shown in the figure, the method of this example may mainly include the following steps:

[0409] Step S1.1: Panoramic camera calibration and panoramic stereo video pair correction

[0410] As described above, when capturing images / videos through a panoramic camera, the panoramic camera needs to be calibrated, which includes the calibration of each panoramic camera itself and the calibration between two panoramic cameras. After completing the calibration of the panoramic camera, the upper and lower panoramic cameras can respectively shoot two sets of panoramic videos of the scene where the user is located, and the two sets of panoramic videos form a panoramic stereo video pair. Based on the corresponding images of each frame in the two sets of panoramic videos, two panoramic images of the scene at the time of shooting can be obtained, and then the user's focus points at different times can be continuously determined based on the two sets of panoramic videos, realizing the tracking of the user's line of sight.

[0411] The obtained panoramic stereo video pair (two sets of spherical panoramic videos) also needs to be corrected for longitude and latitude. The spherical panoramic images of the corresponding frames in the two sets of corrected panoramic videos are unfolded through longitude and latitude to obtain two planar panoramic images. The projection points of the same object point in the scene space on the two planar panoramic images are located on the same image column, as mentioned above. Figure 5 as shown in .

[0412] Step S1.2: User image feature extraction (human body / face / key points)

[0413] By performing user feature extraction on the two planar panoramic images obtained in step S1.1, a part image of the user can be obtained. In this example, the part image may include at least one of two body images, two head images, two face images, two face key point images and two eye image groups.

[0414] Step S1.3: 3D line of sight extraction algorithm and model

[0415] Based on the user's body part image obtained in step S1.2, the user's three-dimensional line of sight information can be determined, including the starting point information and direction information of the three-dimensional line of sight. The three-dimensional line of sight extraction algorithm model can be implemented using a three-dimensional line of sight information estimation model obtained through deep learning training. The model can specifically implement, but is not limited to, the above Fig.11 , Fig.12 and Fig.13 At least one of the options.

[0416] Step S1.4: Line of sight 3D intersection detection algorithm and model

[0417] This step is used to detect the intersection of the user's three-dimensional line of sight with the objects in the scene in three-dimensional space, and determine the user's gaze point. The three-dimensional line of sight intersection detection algorithm and model of this step can be implemented including but not limited to the above Fig.12 , Fig.13 and Fig.14 At least one of the options.

[0418] Step S1.5: User field of view extraction algorithm

[0419] This step can obtain the user's field of view image based on the user's gaze point and the panoramic image. The specific implementation of this step can adopt the solution of obtaining the object's focus image based on the focus point recorded in the above embodiment of the present application. The focus point in this example is the user's gaze point, and the focus image is the user's field of view image.

[0420] Step S1.6: Based on the service method for visual field analysis

[0421] In this step, based on the user's visual field image obtained in step S1.5, in combination with different application scenarios, corresponding services can be extracted based on the user's visual field. The application scenarios may include but are not limited to the above FIG. 29 ( Fig.29a , 29b , 29c, 29d,) to Fig.46 The application scenario shown in .

[0422] Example 2

[0423] In this example, Figure 6 As shown in the figure, a panoramic camera is used to obtain two panoramic images, and the user's gaze point is obtained based on the two panoramic images. Fig.49 The flowchart of this example is shown in FIG. 8 . As shown in the figure, the method of this example may mainly include the following steps:

[0424] Step S2.1: Camera self-motion acquisition, panoramic image capture at reference time, panoramic image capture at current time

[0425] In this step, two panoramic images are acquired by controlling the movement of a panoramic camera. For a detailed description of this step, please refer to the description of acquiring two panoramic images by a panoramic camera in the previous text. Among them, camera self-motion acquisition refers to acquiring the self-motion information of the panoramic camera, and by controlling the movement of the camera, two panoramic images are acquired at different times and the shooting positions are greater than the set distance threshold, namely, the panoramic image at the reference time and the panoramic image at the current time.

[0426] Step S2.2: Panoramic Stereo Image Calibration

[0427] For the panoramic image at the reference moment and the panoramic image at the current moment obtained in step S2.1, panoramic stereo image calibration is required to transform the two panoramic images to form a pair of panoramic stereo images. After the two calibrated panoramic images are expanded through the longitude and latitude images, the projection points of the same spatial points on the two plane panoramic images are aligned to the same image column direction.

[0428] Step S2.3: User image feature extraction

[0429] Step S2.4: 3D line of sight information estimation

[0430] Step S2.5: 3D line of sight intersection detection

[0431] Step S2.6: User field of view extraction

[0432] Steps S2.3 to S2.6 are respectively used to obtain the user's part images, determine the three-dimensional line of sight information, determine the gaze point and obtain the user's field of view image, which correspond to steps S1.2 to S1.5 in the above example 1, and can be specifically implemented using the solution described in the above example 1.

[0433] Example 3

[0434] In this example, Figure 8a or Figure 8b or Figure 8c The non-panoramic camera shown in FIG. 1 obtains two panoramic images, and the user's gaze point is obtained based on the two panoramic images as an example. Fig.50 The flowchart of this example is shown in FIG. 8 . As shown in the figure, the method of this example may mainly include the following steps:

[0435] Step S3.1: Camera motion control and camera 3D position acquisition

[0436] Since the field of view of a non-panoramic camera is limited, the camera cannot observe all objects and users in the scene at the same time. Therefore, it is necessary to control the camera movement to scan the surrounding environment and observe the objects and users in the scene. Camera motion control includes controlling the camera rotation to obtain images of different scene areas and controlling the camera translation to capture images with stereo parallax.

[0437] When controlling the camera movement, the camera movement trajectory can be planned through the camera motion control and camera three-dimensional position acquisition module to control the camera movement and obtain the camera's three-dimensional position.

[0438] Step S3.2: 3D modeling of the environment

[0439] Based on the 3D position information of the camera, a 3D depth map of stationary objects in the surrounding environment of the scene can be established through a 3D modeling module to obtain the depth information of the stationary objects in the scene.

[0440] Step S3.3: 3D object tracking

[0441] Step S3.4: User 3D tracking

[0442] During the image capture process, the 3D position of the moving object in the scene can be tracked by the object 3D tracking module to estimate the position of the moving object at the next moment, and the camera can be controlled to point to the position at the next moment according to the estimated position to capture the image of the moving object at the next moment. The 3D motion trajectory of the user in the scene is tracked by the user 3D tracking module to predict the position of the user at the next moment and capture the image of the user at the next moment. If the user or the moving object is outside the camera's field of view, the camera is controlled to rotate and shoot. If both the user and the moving object are outside the camera's field of view, the camera rotation can be controlled based on the user's position.

[0443] Based on the schemes in step S3.1 to step S3.4, an image of a 360-degree horizontal field of view of the scene can be obtained, and each area in each scene should have two or more images with a shooting distance greater than the set distance. Based on the acquired images, two panoramic images can be obtained by image stitching. For a detailed description of steps S3.1 to step S3.4, please refer to the description of the part of obtaining two panoramic images by one or more ordinary cameras, i.e., non-panoramic cameras, in the previous text.

[0444] Step S3.5: 3D line of sight information estimation

[0445] Step S3.6: 3D line of sight intersection detection

[0446] Step S3.7: User field of view extraction

[0447] Steps S3.5 to S3.7 are specifically used to implement a solution for obtaining the user's gaze point based on the two acquired panoramic images, which corresponds to steps S1.2 to S1.5 in the above example 1, and can be specifically implemented using the solution described in the above example 1.

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

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

Claims

1. A method for determining the focus, It is characterized in that include: acquiring at least two images of the scene; Determining a focus point of an object in the image in the scene based on the at least two images includes: Determining, based on the at least two images, route information of interest corresponding to the object; According to the concerned route information, the concerned point is determined by at least one of the following methods: Determine, according to the concerned route information, a degree of matching of image information corresponding to a projection point of the concerned route on the at least two images; and determine a concerned point based on the degree of matching; Acquire a depth image of the scene; determine, based on the route information of interest, a degree of match between a depth value corresponding to a projection point of a route point of the route of interest at the depth image and a depth value of a corresponding route point, wherein the route point is a point on the route of interest; and determine the point of interest based on the degree of match.

2. The method according to claim 1, It is characterized in that Also includes: An image of interest of the object is determined according to the interest point and at least one image of the at least two images.

3. The method according to claim 1, It is characterized in that The determining, based on the at least two images, the concerned route information corresponding to the object comprises: Determining a part image of the object based on the at least two images; The attention route information is determined based on the part image of the object.

4. The method according to claim 3, It is characterized in that The step of determining the part image of the object based on the at least two images comprises: determining image quality of an image of an object in at least two images; Based on the image quality of the object image, a corresponding part image is determined.

5. The method according to claim 3, It is characterized in that Also includes: Based on the part image of the object, category information of the object is obtained.

6. The method according to claim 3, It is characterized in that The object part image includes at least one of the following: Body image group, head image group, face image group, face key point image group, eye image group, arm image group, hand image group.

7. The method according to claim 3, It is characterized in that The concerned route information includes the starting point information and direction information of the concerned route.

8. A method according to any one of claims 3 to 7, It is characterized in that The determining the concerned route information based on the part image of the object includes: Based on the part image of the object, at least two pieces of initial focus route information are obtained, wherein the initial focus route information includes starting point information and direction information of the initial focus route; The concerned route information is obtained by fusing the at least two initial concerned route information, and the concerned route information includes the starting point information and direction information of the concerned route.

9. A method according to any one of claims 3 to 7, It is characterized in that Also includes: Modeling the corresponding part based on the concerned route information to obtain a part model image; The attention route information is corrected based on the difference between the part model image and the corresponding part image.

10. The method according to any one of claims 3 to 7, It is characterized in that Determining the concerned route information based on the part image of the object includes at least one of the following: Based on the part image, obtaining attention route information through a first neural network; Based on the part image, the starting point information of the concerned route is obtained; based on the part image, the direction information of the concerned route is determined through a second neural network.

11. The method according to any one of claims 3 to 7, It is characterized in that If the focus point is the pointing point of the finger, the focus route information is determined based on the part image, including: Based on the hand image group, obtaining the attention route information; and / or, Based on the hand image group and the arm image group, the attention route information is obtained.

12. The method according to any one of claims 3 to 7, It is characterized in that If the focus point is a gaze point, based on the part image, determining the focus route information includes at least one of the following: Obtaining attention route information based on the head image group, the face image group, the face key point image group and the eye image group; Based on the head image group, the face image group, the face key point image group and the eye image group, initial attention route information is obtained; Performing facial modeling according to the initial attention route information to obtain a facial model image, wherein the initial attention route information is initial sight line information, and the facial model image has the same facial orientation and eye sight line orientation as the initial attention route information; Obtaining an image error between a face model image and a face image, and obtaining attention route information according to the initial attention route information and the image error; Obtaining a head feature image group, a face feature image group and an eye feature image group according to the head image group; Based on the head feature image group, the face feature image group and the eye feature image group, obtaining first initial focus route information; Based on the eye feature image group, obtaining second initial attention route information; The first initial focused route information and the second initial focused route information are integrated to obtain focused route information.

13. The method according to claim 8, It is characterized in that The focus point is a gaze point, the part image of the object is a head image group, and at least two initial focus route information are obtained based on the part image of the object, including: Extracting features from the head image group using a first convolutional neural network to obtain a head feature image group; Performing facial position detection on the head feature image group through a first fully connected neural network to obtain facial position information in each head feature image; Obtaining a facial feature image group by a facial feature pooling layer according to the head feature image group and the facial position information in each head feature image; Performing facial key point detection on the facial feature image group through a second fully connected neural network to obtain facial key point position information in each facial feature image; The eye feature pooling layer obtains an eye feature image group according to the facial feature image group and the facial key point position information in each facial feature image; Performing feature extraction on the head feature image group, the face feature image group, and the eye feature image group through a second convolutional neural network, and obtaining first initial attention route information according to the extracted feature images through a third fully connected neural network; The third convolutional neural network is used to extract features from the eye feature image group, and the fourth fully connected neural network is used to obtain the second initial attention route information based on the extracted feature images.

14. The method according to any one of claims 3 to 7, It is characterized in that Determining a part image of the object based on the at least two images includes: Based on the historical position information of the part image of the object, obtaining a candidate region of the part image of the object in the at least two images by performing motion prediction on the object; The predicted candidate area is detected to obtain the object's part image.

15. The method according to any one of claims 1 to 7, It is characterized in that The depth image of the scene includes a dense depth image of the scene.

16. The method according to any one of claims 1 to 7, It is characterized in that The determining of the matching degree of the image information corresponding to the projection point of the route of interest on the at least two images includes at least one of the following: Determine the image similarity of image windows corresponding to projection points of route points of the route of interest on at least two images, where the image similarity is the matching degree; Determine the image similarity of image windows corresponding to projection points of route points of the route of interest on at least two images; obtain a predicted position of the route point based on a historical position of the route point, and obtain a position similarity corresponding to the route point based on a current position and the predicted position of the route point; Determine the matching degree according to the image similarity and position similarity; Determine the image similarity of the image windows corresponding to the projection points of the route points of the route of interest on at least two images; perform image semantic segmentation on at least one panoramic image to obtain a semantic segmentation image, determine the semantic image information corresponding to the projection points of the route points on the semantic segmentation image, and obtain the semantic possibility degree corresponding to the route points based on the semantic image information and the image window corresponding to the projection point of the corresponding route point on at least one of the at least two images; determine the matching degree according to the image similarity degree and the semantic possibility degree; Determine the image similarity of image windows corresponding to projection points of route points of the route of interest on at least two images; obtain a predicted position of the route point based on a historical position of the route point, and obtain a position similarity corresponding to the route point based on a current position and the predicted position of the route point; Perform image semantic segmentation on at least one panoramic image to obtain a semantic segmentation image, determine semantic image information corresponding to a projection point of a route point on the semantic segmentation image, and obtain a semantic possibility degree corresponding to the route point based on the semantic image information and an image window corresponding to a projection point of the corresponding route point on at least one of the at least two images; determine a matching degree based on an image similarity degree, a position similarity degree, and a semantic possibility degree.

17. The method according to claim 16, It is characterized in that When the image similarity is used as the matching degree, determining the focus point based on the matching degree includes at least one of the following: The route point whose image similarity degree corresponding to all route points is greater than a set value and which is closest to the starting point of the route of interest is determined as the point of interest; The route point corresponding to the maximum image similarity among the image similarities corresponding to all the route points is determined as the focus point.

18. The method according to any one of claims 1 to 7, It is characterized in that Also includes: Correct the match by at least one of the following methods: Route point motion prediction correction, image semantic segmentation correction.

19. The method according to any one of claims 1 to 7, It is characterized in that The depth value of the static object in the depth image of the scene is obtained according to the historical depth value of the static object.

20. The method according to claim 19, It is characterized in that The depth image of the scene is obtained based on the at least two images in the following manner: determining static objects and dynamic objects in the at least two images; Obtaining historical consistency depth information of the static object, and determining current consistency depth information of the static object according to the historical consistency depth information of the static object; A dense depth image of the scene is obtained according to the current dense depth information of the static objects and the current dense depth information of the dynamic objects.

21. A method according to any one of claims 2 to 7, It is characterized in that The step of determining the focus image of the object according to the focus point and at least one of the at least two images comprises: Based on the starting point of the attention route, the attention route and the attention range of the object, a rectangular window in space is determined as the attention window of the object; Determining an observation image window according to a projection point of the focus point on at least one of the at least two images, comprising: determining an image window corresponding to the focus window determined according to the projection point of the focus point on at least one of the at least two images as the observation image window; Determine a transformation matrix from the observation image window to the attention window according to the three-dimensional coordinates of the four vertices of the attention window in the reference three-dimensional coordinate system and the three-dimensional coordinates of the four vertices of the observation image window in the reference three-dimensional coordinate system; The observation image window is transformed according to the transformation matrix, and a window image corresponding to the transformed observation image window in corresponding images of at least two images is determined as the focus image.

22. A method according to any one of claims 1 to 7, It is characterized in that The at least two images are at least two panoramic images.

23. A method according to any one of claims 1 to 7, It is characterized in that The acquiring of at least two images of the scene comprises: The at least two images are acquired by at least two cameras at different positions; or, The at least two images are acquired by controlling the camera to translate and / or rotate.

24. A method according to any one of claims 1 to 7, It is characterized in that The focus point includes a gaze point and / or a pointing point of a part of the object.

25. A device for determining a point of interest, It is characterized in that include: An image acquisition module, used to acquire at least two images of a scene; A focus point confirmation module is used to determine a focus point of an object in the image in the scene based on the at least two images, wherein the focus point is determined by: Determining, based on the at least two images, route information of interest corresponding to the object; According to the concerned route information, the concerned point is determined by at least one of the following methods: Determine, according to the concerned route information, a degree of matching of image information corresponding to a projection point of the concerned route on the at least two images; and determine a concerned point based on the degree of matching; Acquire a depth image of the scene; determine, based on the route information of interest, a degree of match between a depth value corresponding to a projection point of a route point of the route of interest at the depth image and a depth value of a corresponding route point, wherein the route point is a point on the route of interest; and determine the point of interest based on the degree of match.

26. The device according to claim 25, It is characterized in that The focus point confirmation module is also used for: An image of interest of the object is determined according to the interest point and at least one image of the at least two images.

27. The device according to claim 25, It is characterized in that The point of interest confirmation module is used to determine the route of interest information corresponding to the object based on the at least two images: Determining a part image of the object based on the at least two images; The attention route information is determined based on the part image of the object.

28. The device according to claim 27, It is characterized in that The focus point confirmation module is used to determine the part image of the object based on the at least two images: determining image quality of an image of an object in at least two images; Based on the image quality of the object image, a corresponding part image is determined.

29. The device according to claim 27, It is characterized in that The focus point confirmation module is also used for: Based on the part image of the object, category information of the object is obtained.

30. The device according to claim 27, It is characterized in that The object part image includes at least one of the following: Body image group, head image group, face image group, face key point image group, eye image group, arm image group, hand image group.

31. The device according to claim 27, It is characterized in that The concerned route information includes the starting point information and direction information of the concerned route.

32. The device according to any one of claims 27 to 31, It is characterized in that The focus point confirmation module is used to determine the focus route information based on the part image of the object: Based on the part image of the object, at least two pieces of initial focus route information are obtained, wherein the initial focus route information includes starting point information and direction information of the initial focus route; The concerned route information is obtained by fusing the at least two initial concerned route information, and the concerned route information includes the starting point information and direction information of the concerned route.

33. The device according to any one of claims 27 to 31, It is characterized in that The focus point confirmation module is also used for: Modeling the corresponding part based on the concerned route information to obtain a part model image; The attention route information is corrected based on the difference between the part model image and the corresponding part image.

34. The device according to any one of claims 27 to 31, It is characterized in that The focus point confirmation module is used to determine the focus route information based on the part image of the object: Based on the part image, obtaining attention route information through a first neural network; Based on the part image, the starting point information of the concerned route is obtained; based on the part image, the direction information of the concerned route is determined through a second neural network.

35. The device according to any one of claims 27 to 31, It is characterized in that If the focus point is the pointing point of the finger, the focus point confirmation module is used to: Based on the hand image group, obtaining the attention route information; and / or, Based on the hand image group and the arm image group, the attention route information is obtained.

36. The device according to any one of claims 27 to 31, It is characterized in that If the point of interest is a fixation point, the point of interest confirmation module determines the route of interest information by performing at least one of the following: Obtaining attention route information based on the head image group, the face image group, the face key point image group and the eye image group; Based on the head image group, the face image group, the face key point image group and the eye image group, initial attention route information is obtained; Performing facial modeling according to the initial attention route information to obtain a facial model image, wherein the initial attention route information includes initial sight line information, and the facial model image has the same facial orientation and eye sight line orientation as the initial attention route information; Obtaining an image error between a face model image and a face image, and obtaining attention route information according to the initial attention route information and the image error; Obtaining a head feature image group, a face feature image group and an eye feature image group according to the head image group; Based on the head feature image group, the face feature image group and the eye feature image group, obtaining first initial focus route information; Based on the eye feature image group, obtaining second initial attention route information; The first initial focused route information and the second initial focused route information are integrated to obtain focused route information.

37. The device according to claim 32, It is characterized in that The focus point is a gaze point, the part image of the object is a head image group, and the focus point confirmation module is used to obtain at least two initial focus route information based on the part image of the object: Extracting features from the head image group using a first convolutional neural network to obtain a head feature image group; Performing facial position detection on the head feature image group through a first fully connected neural network to obtain facial position information in each head feature image; Obtaining a facial feature image group by a facial feature pooling layer according to the head feature image group and the facial position information in each head feature image; Performing facial key point detection on the facial feature image group through a second fully connected neural network to obtain facial key point position information in each facial feature image; The eye feature pooling layer obtains an eye feature image group according to the facial feature image group and the facial key point position information in each facial feature image; Performing feature extraction on the head feature image group, the face feature image group, and the eye feature image group through a second convolutional neural network, and obtaining first initial attention route information according to the extracted feature images through a third fully connected neural network; The third convolutional neural network is used to extract features from the eye feature image group, and the fourth fully connected neural network is used to obtain the second initial attention route information based on the extracted feature images.

38. The apparatus according to any one of claims 27 to 31, wherein the focus point confirmation module is used to: Based on the historical position information of the part image of the object, obtaining a candidate region of the part image of the object in the at least two images by performing motion prediction on the object; The predicted candidate area is detected to obtain the object's part image.

39. The device according to any one of claims 25 to 31, It is characterized in that The depth image of the scene includes a dense depth image of the scene.

40. The device according to any one of claims 25 to 31, It is characterized in that The point of interest confirmation module determines the matching degree of the image information corresponding to the projection point of the focus route on the at least two images by performing at least one of the following: Determine the image similarity of image windows corresponding to projection points of route points of the route of interest on at least two images, where the image similarity is the matching degree; Determine the image similarity of image windows corresponding to projection points of route points of the route of interest on at least two images; obtain a predicted position of the route point based on a historical position of the route point, and obtain a position similarity corresponding to the route point based on a current position and the predicted position of the route point; Determine the matching degree according to the image similarity and position similarity; Determine the image similarity of the image windows corresponding to the projection points of the route points of the route of interest on at least two images; perform image semantic segmentation on at least one panoramic image to obtain a semantic segmentation image, determine the semantic image information corresponding to the projection points of the route points on the semantic segmentation image, and obtain the semantic possibility degree corresponding to the route points based on the semantic image information and the image window corresponding to the projection point of the corresponding route point on at least one of the at least two images; determine the matching degree according to the image similarity degree and the semantic possibility degree; Determine the image similarity of image windows corresponding to projection points of route points of the route of interest on at least two images; obtain a predicted position of the route point based on a historical position of the route point, and obtain a position similarity corresponding to the route point based on a current position and the predicted position of the route point; Perform image semantic segmentation on at least one panoramic image to obtain a semantic segmentation image, determine semantic image information corresponding to a projection point of a route point on the semantic segmentation image, and obtain a semantic possibility degree corresponding to the route point based on the semantic image information and an image window corresponding to a projection point of the corresponding route point on at least one of the at least two images; determine a matching degree based on an image similarity degree, a position similarity degree, and a semantic possibility degree.

41. The device according to claim 40, It is characterized in that When the image similarity is used as the matching degree, the focus point confirmation module performs at least one of the following when determining the focus point based on the matching degree: The route point whose image similarity degree corresponding to all route points is greater than a set value and which is closest to the starting point of the route of interest is determined as the point of interest; The route point corresponding to the maximum image similarity among the image similarities corresponding to all the route points is determined as the focus point.

42. The device according to any one of claims 25 to 31, It is characterized in that Also includes: The focus point confirmation module is further used to correct the matching degree in at least one of the following ways: Route point motion prediction correction, image semantic segmentation correction.

43. The device according to any one of claims 25 to 31, It is characterized in that The depth value of the static object in the depth image of the scene is obtained according to the historical depth value of the static object.

44. The device according to claim 43, It is characterized in that The depth image of the scene is obtained based on the at least two images in the following manner: determining static objects and dynamic objects in the at least two images; Obtaining historical consistency depth information of the static object, and determining current consistency depth information of the static object according to the historical consistency depth information of the static object; A dense depth image of the scene is obtained according to the current dense depth information of the static objects and the current dense depth information of the dynamic objects.

45. The device according to any one of claims 26 to 31, It is characterized in that The focus point confirmation module is used to determine the focus image of the object according to the focus point and at least one image of the at least two images: Based on the starting point of the attention route, the attention route and the attention range of the object, a rectangular window in space is determined as the attention window of the object; Determining an observation image window according to a projection point of the focus point on at least one of the at least two images, comprising: determining an image window corresponding to the focus window determined according to the projection point of the focus point on at least one of the at least two images as the observation image window; Determine a transformation matrix from the observation image window to the focus window according to the position information of the focus window in the reference coordinate system and the position information of the observation image window in the reference coordinate system; The observation image window is transformed according to the transformation matrix, and a window image corresponding to the transformed observation image window in corresponding images of at least two images is determined as the focus image.

46. ​​The device according to any one of claims 25 to 31, It is characterized in that The at least two images are at least two panoramic images.

47. The device according to any one of claims 25 to 31, It is characterized in that The image acquisition module is used to acquire at least two images of a scene: The at least two images are acquired by at least two cameras at different positions; or, The at least two images are acquired by controlling the camera to translate and / or rotate.

48. Apparatus according to any one of claims 25 to 31, It is characterized in that The focus point includes a gaze point and / or a pointing point of a part of the object.

49. An electronic device, It is characterized in that It includes an image acquisition module, a memory and a processor; An image acquisition module, used to acquire at least two images of a scene; A memory for storing machine-readable instructions, which, when executed by a processor, configures the processor to: execute the method of any one of claims 1 to 24 based on the at least two images acquired by the image acquisition module.

50. A system for determining a point of interest, It is characterized in that The system includes an image acquisition device and an electronic device connected to the image acquisition device; An image acquisition device, used to acquire at least two images of a scene and send the at least two images to the electronic device; An electronic device, used for receiving the at least two images sent by the image acquisition device, and executing the method according to any one of claims 1 to 24 based on the at least two images received.

51. A method for obtaining behavior information, It is characterized in that include: Get the object's focus; According to the focus point, obtaining behavior information of the object; The behavior information of the object includes a focus image of the object, and the focus point of the object and the focus image are obtained according to a method for determining a focus point according to any one of claims 1 to 24.

52. The method according to claim 51, It is characterized in that The behavior information of the object also includes at least one of the following: the object that the subject is concerned with; the length of time the subject focuses on the object; Information about changes over time of an object that the subject is concerned about; A focus track of the object; Voice information of the subject; The interaction information between the object and the device.

53. A method according to any one of claims 51 to 52, It is characterized in that After obtaining the behavior information of the object, the method further includes: Processing is performed according to the behavior information of the object.

54. The method according to claim 53, It is characterized in that The processing includes at least one of the following: saving an image or video of an object of interest to the subject; Providing services or information related to objects of interest to the subject; providing services or information related to the image of interest of the subject; Control the state of an object of interest to the subject or the subject's own state; Provide prompt information; Provides attention-related information.

55. The method according to claim 54, It is characterized in that The providing of services or information related to the object concerned by the subject includes at least one of the following: Providing relevant information of an object of interest to the subject obtained according to the subject's instruction; A service or information determined by combining the object of interest to the subject and the voice information of the subject is provided.

56. A behavior information acquisition device, It is characterized in that include: A focus acquisition module is used to acquire the focus of an object; A behavior information acquisition module, used to acquire the behavior information of the object according to the focus point; The behavior information of the object includes a focus image of the object, and the focus point and focus image of the object are obtained according to a method for determining a focus point according to any one of claims 1 to 24.

57. The device according to claim 56, It is characterized in that The behavior information of the object also includes at least one of the following: the object that the subject is concerned with; the length of time the subject focuses on the object; Information about changes over time of an object that the subject is concerned about; A focus track of the object; Voice information of the subject; The interaction information between the object and the device.

58. The device according to any one of claims 56 to 57, It is characterized in that The behavior information acquisition module is also used for: After the behavior information of the object is acquired, processing is performed according to the behavior information of the object.

59. The device according to claim 58, It is characterized in that The processing includes at least one of the following: saving an image or video of an object of interest to the subject; Providing services or information related to objects of interest to the subject; providing services or information related to the image of interest of the subject; Control the state of an object of interest to the subject or the subject's own state; Provide prompt information; Provides attention-related information.

60. The device according to claim 59, It is characterized in that The providing of services or information related to the object concerned by the subject includes at least one of the following: Providing relevant information of an object of interest to the subject obtained according to the subject's instruction; A service or information determined by combining the object of interest to the subject and the voice information of the subject is provided.

61. An electronic device, It is characterized in that including memory and processor; A memory for storing machine-readable instructions, which, when executed by a processor, causes the processor to execute the method for determining a focus point of any one of claims 1 to 24, and / or the method for obtaining behavior information of any one of claims 51 to 55.

62. A computer readable storage medium, It is characterized in that The computer storage medium is used to store computer instructions. When the computer instructions are executed on a computer, the computer can execute the method for determining a focus point of any one of claims 1 to 24, and / or the method for obtaining behavior information of any one of claims 51 to 55.

Citation Information

Patent Citations

  • Method for reconstructing a three-dimensional image volume and x-ray devices

    CN101133962A

  • An identification method for movement by human bodies irrelevant with the viewpoint based on stencil matching

    CN101216896A

  • Human-machine interaction method and device based on sight tracing and gesture discriminating

    CN101344816A

  • Rapid and self-adaptive generation algorithm of intermediate viewpoint based on left and right viewpoint images

    CN101799939A

  • Self-adapting sightline tracking system and method based on face recognition technology

    CN102547123A