Panoramic camera image processing system and method
Through the panoramic camera image processing system, the scene recognition and action recognition modules are combined with the machine learning model to automatically adjust the display field of view angle of the panoramic video, solving the problem of cumbersome adjustment of the panoramic camera perspective in the existing technology, and realizing the natural following of the photographer's perspective. effect.
Patent Information
- Application Number
- CN202410931428.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-07-12
AI Technical Summary
During the recording process, existing panoramic cameras require the video creator to manually select the viewing angle or the audience to adjust the viewing angle, which makes the operation cumbersome and difficult to achieve natural viewing angle following.
It adopts a panoramic camera image processing system, including a panoramic camera module, a panoramic video angle division module, a scene recognition module, an action recognition module and a field of view angle adjustment module. It uses a machine learning model to identify the photographer's position and angle of view, and automatically adjusts the display field of view angle. Realize natural following of panoramic videos.
It simplifies the operation process of panoramic video, realizes that the panoramic video naturally follows the photographer's perspective, and improves the user experience.
Smart Images

Figure CN118488314B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of camera processing technology, and in particular to a panoramic camera image processing system and method. Background Art
[0002] 360-degree panoramic cameras can monitor and cover the scene without blind spots. They are equipped with a fisheye lens, a reflective mirror (such as a parabola, hyperbola, etc.), or multiple ordinary lenses facing different directions, with a 360-degree panoramic field of view. A panoramic camera can replace multiple ordinary surveillance cameras, achieving seamless monitoring and realizing new monitoring applications in various fields.
[0003] The prior art with announcement number CN111917983B discloses a method and system for processing interior decoration of a home based on panoramic images, which includes a client, a processing server and a panoramic camera. The processing server processes the interior decoration data information and generates a VR roaming map package, and the interior decoration data information is dynamically displayed to the user through the VR roaming map package on the client. The personnel at the home decoration site collect new interior decoration data information according to the construction nodes and revise the VR roaming map package and the interior decoration data, so that the user can dynamically view the process of the interior decoration on the client to control the quality of the project, add building components according to the visual designer, perform custom design and build a digital model of the house type, and associate the VR roaming map with the house type. The prior art associates the VR roaming map with the house type, dynamically displays the data and image information of different construction nodes to the user on the VR roaming map, forms a home decoration interior processing based on the household, and improves the collection and processing efficiency.
[0004] The above-mentioned existing technology realizes the application of panoramic cameras in house display. With the development of the economy, the application field of panoramic cameras has gradually expanded to the personal level. For example, more and more outdoor sports and travel enthusiasts or practitioners in the live video industry have also begun to use panoramic cameras to record their lives. However, when panoramic cameras record, they are usually 360-degree scenes, which require video creators to choose the perspective for editing, or viewers to adjust the perspective during the viewing process, which is a cumbersome process. Summary of the invention
[0005] The object of the present invention is to provide a panoramic camera image processing system and method to solve the above-mentioned deficiencies in the prior art.
[0006] In order to achieve the above-mentioned object, the present invention provides the following technical solutions: a full-scene camera processing system, including a panoramic camera module, a panoramic video angle division module, a scene recognition module, an action recognition module, and a field of view angle adjustment module;
[0007] The panoramic camera module is used to shoot panoramic videos, wherein the panoramic camera module can be a panoramic camera, which can be worn on the body, such as on the top of the head, the side of the ear, the chin, etc. through a helmet. For the photographer who is riding, the panoramic camera can also be installed in a fixed position of the riding vehicle for shooting;
[0008] The panoramic video angle division module is used to divide the panoramic video shot by the panoramic camera module according to different relative angles with the panoramic camera module to obtain the field of view angle corresponding to each position of the panoramic video, the field of view angle is 0 degrees to 360 degrees (not included), and is used to mark the angle between each position of the panoramic video and the panoramic camera module. The angle between each position of the panoramic video and the panoramic camera module can be expressed by setting the positive shooting direction of the panoramic camera module and calculating the angle between each position of the panoramic video and the positive shooting direction. The angle includes the angle in the horizontal direction and the angle in the vertical direction.
[0009] The scene recognition module is used to recognize scenes, objects and people in the panoramic video based on the target recognition algorithm, and determine the shooting position of the panoramic camera module and the relative position of the panoramic camera module and the photographer based on the relative positions of the recognized scenes, objects and people;
[0010] The scene recognition module selects different angle switching rules based on the different shooting positions of the panoramic camera module to switch the display field angle of the panoramic video. The display field angle is the range of the field angle of the portion of the panoramic video displayed on the display screen, because the human eye can usually only observe objects within an angle range of 124 degrees in front, and the scene displayed by the panoramic video is a 360-degree scene around the panoramic camera module. In order to meet the viewing characteristics of the human eye, a panoramic video generally only clips out a part of it, such as a scene within an angle range of 124 degrees in a certain direction, and hides the video scenes at other angles to avoid causing discomfort to people. A direction setting can be set on the panoramic camera module as a positive direction (i.e., 0 degrees), and the positive direction is rotated 62 degrees to both sides around the focus of the panoramic camera module to obtain a display field angle with a viewing angle of 124 degrees.
[0011] The action recognition module is used to mark the range of the field of view angle observed by the photographer and its corresponding video image from the panoramic video, respectively obtain the field of view angle label and the feature image, and train the machine learning model based on the panoramic video, the feature image and the field of view angle label to obtain the photographer's perspective recognition model, which is used to identify the output feature image and the field of view angle label based on the input panoramic video to reflect the field of view angle observed by the photographer, wherein the present invention does not limit the specific machine learning model, and the model can be selected according to the actual training situation to ensure that the accuracy of the trained model meets the preset requirements;
[0012] The viewing angle adjustment module is used to control and adjust the display viewing angle of the panoramic video.
[0013] Furthermore, the scene recognition module is also used to pre-train the target recognition algorithm using images of the panoramic camera module placed in various positions, thereby facilitating the target recognition algorithm to identify objects through the portion of the object on which the panoramic camera module is installed captured by the panoramic camera module, and facilitating the determination of the installation location of the panoramic camera module, for example, whether it is installed on a bicycle, motorcycle, or worn on a person's head or body.
[0014] Furthermore, the scene recognition module is also used to mark the photographer's image and photographer's position in the panoramic video when the panoramic camera module is placed at various positions, and based on the panoramic video, the photographer's image and photographer's position, train a first target recognition algorithm for identifying and indicating the photographer and the photographer's position from the panoramic video, which can be used to identify the photographer when there are multiple people in the panoramic video; in one embodiment, the photographer may not be a person.
[0015] Furthermore, when the scene recognition module marks the photographer's image and photographer's position in the panoramic video, if the photographer is not captured in the panoramic video, the photographer's position and the wearing position of the panoramic camera module are marked. Based on the panoramic video, the photographer's position and the wearing position, a second target recognition algorithm is trained to indicate the photographer's position and the wearing position when there is no photographer in the panoramic video.
[0016] Furthermore, the scene recognition module selects different angle switching rules based on the different shooting positions of the panoramic camera module to switch the display field angle of the panoramic video, which specifically includes the following steps:
[0017] Determine whether the photographer is recognized in the panoramic video based on the target recognition algorithm;
[0018] If not, the position of the photographer and the wearing position are indicated through the trained second target recognition algorithm;
[0019] Determine whether the panoramic camera module is worn on the photographer's head;
[0020] If so, a field of view angle is selected as a positive direction through the panoramic video angle division module, and the display field of view angle is adjusted through the field of view angle adjustment module so that the center line of the display field of view angle coincides with the positive direction.
[0021] Furthermore, the method of determining whether the photographer is recognized in the panoramic video based on the target recognition algorithm further includes the following steps:
[0022] If yes, the panoramic video is recognized through the action recognition module to obtain the feature image and field of view angle label;
[0023] The display field of view angle is adjusted to the range of the field of view angle corresponding to the field of view angle label through the field of view angle adjustment module, so that the display screen of the panoramic video moves along with the perspective of the photographer.
[0024] A full-scene camera processing method comprises the following steps:
[0025] Wear the panoramic camera module at various positions to shoot panoramic videos to obtain sample panoramic videos;
[0026] Dividing the sample panoramic video according to different relative angles with the panoramic camera module to obtain a field of view angle corresponding to each position of the sample panoramic video;
[0027] After labeling the sample panoramic video, a training sample is obtained;
[0028] Based on the training samples, a machine learning model is selected for training to identify the relative position between the panoramic camera module and the photographer;
[0029] Setting multiple field of view angle adjustment rules to correspond to different relative positions of the panoramic camera module and the photographer;
[0030] Wear the panoramic camera module and shoot to obtain a panoramic video;
[0031] Based on the trained machine learning model, the panoramic video is processed to obtain the relative position of the panoramic camera module and the photographer, and the angle adjustment rule corresponding to the obtained relative position of the panoramic camera module and the photographer is selected to adjust the display field of view angle.
[0032] 1. Compared with the prior art, a panoramic camera image processing system and method provided by the present invention, by setting a panoramic camera module, a panoramic video angle division module, a scene recognition module, an action recognition module, and a field of view angle adjustment module, divides the panoramic video based on the different relative angles between each position in the panoramic video and the panoramic camera module to obtain the field of view angle of each position, and then identifies and determines the placement position of the panoramic camera module through a training algorithm model.
[0033] 2. Compared with the prior art, the panoramic camera image processing system and method provided by the present invention, through the scene recognition module, the action recognition module, and the field of view angle adjustment module, when it is determined that the placement position is located at the photographer's head, will set a field of view angle as the positive direction, and adjust the display field of view angle through the field of view angle adjustment module so that the center line of the display field of view angle coincides with the positive direction, so that the display screen of the panoramic video moves with the movement of the photographer's head.
[0034] 3. Compared with the prior art, the panoramic camera image processing system and method provided by the present invention, through the scene recognition module, the action recognition module, and the field of view angle adjustment module, can identify the range of the field of view angle observed by the photographer when the photographer is identified, so as to control the displayed field of view angle to be the range of the field of view angle corresponding to the field of view angle label, thereby realizing that the display screen of the panoramic video follows the perspective of the photographer. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0036] Figure 1 A system structure block diagram provided for an embodiment of the present invention;
[0037] Figure 2 A diagram of the method steps provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0038] In order to enable those skilled in the art to better understand the technical solution of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings.
[0039] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.
[0040] In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, "multiple" means two or more, unless otherwise clearly and specifically defined. In addition, the terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal connection of two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0041] Example embodiments will be described more fully below with reference to the accompanying drawings, but the example embodiments may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. On the contrary, the purpose of providing these embodiments is to make the present disclosure thorough and complete and to enable those skilled in the art to fully understand the scope of the present disclosure.
[0042] In the absence of conflict, the various embodiments of the present disclosure and the various features therein may be combined with each other.
[0043] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.
[0044] The terms used herein are only used to describe specific embodiments and are not intended to limit the present disclosure. As used herein, the singular forms "a", "an" and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise. It will also be understood that when the terms "comprising" and / or "made of" are used in this specification, the presence of the features, wholes, steps, operations, elements and / or components is specified, but the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof is not excluded.
[0045] The embodiments described herein may be described with reference to plan views and / or cross-sectional views by means of idealized schematic diagrams of the present disclosure. Therefore, the example illustrations may be modified according to manufacturing techniques and / or tolerances. Therefore, the embodiments are not limited to the embodiments shown in the accompanying drawings, but include modifications of the configurations formed based on the manufacturing process. Therefore, the regions illustrated in the accompanying drawings have schematic properties, and the shapes of the regions shown in the figures illustrate the specific shapes of the regions of the elements, but are not intended to be limiting.
[0046] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and the present disclosure, and will not be interpreted as having an idealized or overly formal meaning unless explicitly defined as such herein.
[0047] See also Figure 1-Figure 2 , a full-scene camera processing system, including a panoramic camera module, a panoramic video angle division module, a scene recognition module, an action recognition module, and a field of view angle adjustment module;
[0048] The panoramic camera module is used to shoot panoramic videos, wherein the panoramic camera module can be a panoramic camera, which can be worn on the body, such as on the top of the head, the side of the ear, the chin, etc. through a helmet. For the photographer who is riding, the panoramic camera can also be installed in a fixed position on the riding vehicle for shooting;
[0049] The panoramic video angle division module is used to divide the panoramic video shot by the panoramic camera module according to the different relative angles with the panoramic camera module, and obtain the field of view angle corresponding to each position of the panoramic video. The field of view angle is 0 degrees to 360 degrees (not included). It is used to mark the angle between each position of the panoramic video and the panoramic camera module. The angle between each position of the panoramic video and the panoramic camera module can be expressed by setting the positive shooting direction of the panoramic camera module and calculating the angle between each position of the panoramic video and the positive shooting direction. The angle includes the angle in the horizontal direction and the angle in the vertical direction.
[0050] The scene recognition module is used to identify scenes, objects and people in the panoramic video based on the target recognition algorithm, and determine the shooting position of the panoramic camera module and the relative position of the panoramic camera module and the photographer based on the relative positions of the identified scenes, objects and people;
[0051] The scene recognition module selects different angle switching rules based on the different shooting positions of the panoramic camera module to switch the display field angle of the panoramic video. The display field angle is the range of the field angle of the panoramic video displayed on the display screen, because the human eye can usually only observe objects within the 124-degree angle range in front, and the scene displayed by the panoramic video is a 360-degree scene around the panoramic camera module. In order to meet the viewing characteristics of the human eye, the panoramic video generally only edits a part of it, such as the scene within the 124-degree angle range in a certain direction, and the video scenes at other angles are hidden to avoid causing discomfort to people. A direction setting can be set on the panoramic camera module as the positive direction (i.e., 0 degrees), and the focus of the panoramic camera module can be rotated 62 degrees to both sides in the positive direction to obtain a display field angle with a viewing angle of 124 degrees.
[0052] The scene recognition module is also used to pre-train the target recognition algorithm using images of the panoramic camera module placed in various positions, thereby facilitating the target recognition algorithm to identify objects through the portion of the object on which the panoramic camera module is installed captured by the panoramic camera module, and facilitating the determination of the installation location of the panoramic camera module, such as whether it is installed on a bicycle, motorcycle, or worn on a person's head or body.
[0053] The scene recognition module is also used to mark the photographer's image and photographer's position in the panoramic video when the panoramic camera module is placed in various positions, and train a first target recognition algorithm based on the panoramic video, the photographer's image and the photographer's position to identify the photographer and the photographer's position from the panoramic video. When there are multiple people in the panoramic video, it can be used to identify the photographer among them; in one embodiment, the photographer may not be a person.
[0054] When the scene recognition module marks the photographer's image and photographer's position in the panoramic video, if the photographer is not captured in the panoramic video, the photographer's position and the wearing position of the panoramic camera module are marked. Based on the panoramic video, the photographer's position and the wearing position, a second target recognition algorithm is trained to indicate the photographer's position and the wearing position when there is no photographer in the panoramic video.
[0055] The action recognition module is used to mark the range of the field of view angle observed by the photographer and its corresponding video image from the panoramic video, obtain the field of view angle label and feature image respectively, and train the machine learning model based on the panoramic video, feature image and field of view angle label to obtain the photographer perspective recognition model, which is used to identify the output feature image and field of view angle label based on the input panoramic video to reflect the field of view angle observed by the photographer. The present invention does not limit the specific machine learning model, and the model can be selected according to the actual training situation to ensure that the accuracy of the trained model meets the preset requirements; the range of the field of view angle observed by the photographer can be determined by identifying the direction facing the photographer's head.
[0056] The viewing angle adjustment module is used to control and adjust the display viewing angle of the panoramic video.
[0057] The scene recognition module selects different angle switching rules based on the different shooting positions of the panoramic camera module to switch the display field angle of the panoramic video, which specifically includes the following steps:
[0058] Based on the target recognition algorithm, it is determined whether the photographer is recognized in the panoramic video.
[0059] If not, the position and wearing position of the photographer are indicated through the trained second target recognition algorithm; it is determined whether the panoramic camera module is worn on the photographer's head; if so, a field of view angle mark is selected as the positive direction through the panoramic video angle division module, among which the photographer's visual direction can be selected as the positive direction, and the display field of view angle is adjusted through the field of view angle adjustment module so that the center line of the display field of view angle coincides with the positive direction, so that the display screen of the panoramic video moves with the movement of the photographer's head.
[0060] If so, the panoramic video is identified through the action recognition module to obtain the feature image and the field of view angle label; the field of view angle adjustment module is used to adjust the display field of view angle to the range of the field of view angle corresponding to the field of view angle label, so that the display screen of the panoramic video moves with the perspective of the photographer.
[0061] A full-scene camera processing method, applicable to a full-scene camera processing system provided by the present invention, comprises the following steps:
[0062] Wear the panoramic camera module at various positions to shoot panoramic videos to obtain sample panoramic videos;
[0063] Dividing the sample panoramic video according to different relative angles with the panoramic camera module to obtain the field of view angle corresponding to each position of the sample panoramic video;
[0064] After labeling the sample panoramic video, a training sample is obtained;
[0065] Based on the training samples, a machine learning model is selected for training to identify the relative position between the panoramic camera module and the photographer;
[0066] Setting multiple field of view angle adjustment rules to correspond to different relative positions of the panoramic camera module and the photographer;
[0067] Wear the panoramic camera module and shoot to obtain a panoramic video;
[0068] Based on the trained machine learning model, the panoramic video is processed to obtain the relative position of the panoramic camera module and the photographer, and the angle adjustment rule corresponding to the obtained relative position of the panoramic camera module and the photographer is selected to adjust the display field of view angle.
[0069] The above description is only by way of illustration of certain exemplary embodiments of the present invention. It is undoubted that those skilled in the art can modify the described embodiments in various ways without departing from the spirit and scope of the present invention. Therefore, the above drawings and descriptions are illustrative in nature and should not be construed as limiting the scope of protection of the claims of the present invention.
Claims
1. A panoramic camera processing system, characterized in that: It includes a panoramic camera module, a panoramic video angle division module, a scene recognition module, an action recognition module, and a field of view angle adjustment module; The panoramic camera module is used to shoot panoramic video; The panoramic video angle division module is used to divide the panoramic video shot by the panoramic camera module according to different relative angles with the panoramic camera module to obtain the field of view angle corresponding to each position of the panoramic video; The scene recognition module is used to recognize scenes, objects and people in the panoramic video based on the target recognition algorithm, and determine the shooting position of the panoramic camera module and the relative position of the panoramic camera module and the photographer based on the relative positions of the recognized scenes, objects and people; The scene recognition module selects different angle switching rules based on different shooting positions of the panoramic camera module to switch the display field angle of the panoramic video, where the display field angle is the range of the field angle of the display portion of the panoramic video on the display screen; The action recognition module is used to mark the range of the field of view angle observed by the photographer and its corresponding video image from the panoramic video, respectively obtain the field of view angle label and the feature image, and train the machine learning model based on the panoramic video, the feature image and the field of view angle label to obtain the photographer's perspective recognition model, which is used to identify the output feature image and the field of view angle label based on the input panoramic video; The viewing angle adjustment module is used to control and adjust the display viewing angle of the panoramic video; When marking the photographer's image and the photographer's position in the panoramic video, the scene recognition module marks and indicates the photographer's position and the wearing position of the panoramic camera module if the photographer is not captured in the panoramic video, and trains a second target recognition algorithm based on the panoramic video, the photographer's position and the wearing position to indicate the photographer's position and the wearing position when there is no photographer in the panoramic video; The scene recognition module selects different angle switching rules based on the different shooting positions of the panoramic camera module to switch the display field angle of the panoramic video, which specifically includes the following steps: Determine whether the photographer is recognized in the panoramic video based on the target recognition algorithm; If not, the position of the photographer and the wearing position are indicated through the trained second target recognition algorithm; Determine whether the panoramic camera module is worn on the photographer's head; If yes, select a field of view angle as the positive direction through the panoramic video angle division module, and adjust the display field of view angle through the field of view angle adjustment module so that the midline of the display field of view angle coincides with the positive direction; The method of determining whether the photographer is recognized in the panoramic video based on the target recognition algorithm also includes the following steps: If yes, the panoramic video is recognized through the action recognition module to obtain the feature image and field of view angle label; The field of view angle adjustment module is used to adjust the displayed field of view angle to the range of the field of view angle corresponding to the field of view angle label.
2. A panoramic camera processing system according to claim 1, characterized in that: The scene recognition module is also used to pre-train the target recognition algorithm using images taken by the panoramic camera module at various locations.
3. A panoramic camera processing system according to claim 2, characterized in that: The scene recognition module is also used to mark the photographer's image and photographer's position in the panoramic video when the panoramic camera module is placed in various positions, and based on the panoramic video, the photographer's image and photographer's position, train a first target recognition algorithm for identifying and indicating the photographer and photographer's position from the panoramic video.
4. A panoramic camera processing method, applicable to a panoramic camera processing system according to any one of claims 1 to 3, characterized in that: The following steps are involved: Wear the panoramic camera module at various positions to shoot panoramic videos to obtain sample panoramic videos; Dividing the sample panoramic video according to different relative angles with the panoramic camera module to obtain a field of view angle corresponding to each position of the sample panoramic video; After labeling the sample panoramic video, a training sample is obtained; Based on the training samples, a machine learning model is selected for training to identify the relative position between the panoramic camera module and the photographer; Setting multiple field of view angle switching rules to correspond to different relative positions of the panoramic camera module and the photographer; Wear the panoramic camera module and shoot to obtain a panoramic video; Based on the trained machine learning model, the panoramic video is processed to obtain the relative position of the panoramic camera module and the photographer, and the angle switching rule corresponding to the obtained relative position of the panoramic camera module and the photographer is selected to adjust the display field of view angle.
Citation Information
Patent Citations
A Home Decoration Interior Management Method and System Based on Panoramic Images
CN111917983B
Panoramic-picture shooting method and mobile terminal
CN106791437A
A virtual reality display system and method for displaying a scene around a vehicle
CN109204144A
Home decoration interior management method and system based on panoramic image
CN111917983A
Multi-view automatic switching system based on panoramic live broadcast
CN117156258A
