An image scene construction method and device, electronic equipment and storage medium
Patent Information
- Application Number
- CN202211493520.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-25
- Publication Date
- 2026-09-11
- Estimated Expiration
- 2042-11-25
AI Technical Summary
但是,这种方法仅适用于室内便于布置录制设备的地方,例如在室内玩AR游戏的情况
Smart Images

Figure CN115713614B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of image processing technology, and in particular to an image scene construction method, apparatus, electronic device and storage medium. Background Technology
[0002] With the development of technologies such as Virtual Reality (VR) and Augmented Reality (AR), more and more industries are adopting these multimedia technologies for 3D modeling and intelligent interaction. Especially in the construction of image scenes, these technologies are widely used in industries and fields such as transportation and gaming, bringing a good user experience to a wide range of users.
[0003] Currently, methods for constructing third-person 3D scene images generally involve recording or locating the user's spatial area using recording and positioning devices, followed by scene compositing using post-production software to provide the user with a third-person perspective. However, this method is only suitable for indoor locations where recording equipment can be easily deployed, such as when playing AR games indoors. Therefore, its application is relatively limited and its flexibility is poor. Summary of the Invention
[0004] This application provides an image scene construction method, apparatus, electronic device, and storage medium to improve the flexibility of image scene construction from a third-person perspective.
[0005] According to one aspect of this application, an image scene construction method is provided, the method comprising:
[0006] Obtain the target location information of the target device;
[0007] Based on the target location information, determine the scene shooting equipment within a preset radius centered on the target location information;
[0008] Determine the target image based on the location and viewing angle information of the scene shooting equipment;
[0009] Based on the target image, construct the image scene.
[0010] According to another aspect of this application, an image scene construction apparatus is provided, comprising:
[0011] The location information acquisition module is used to acquire the target location information of the target device;
[0012] The shooting device determination module is used to determine the scene shooting devices within a preset radius centered on the target positioning information, based on the target positioning information.
[0013] The target image determination module is used to determine the target image based on the position and viewing angle information of the scene shooting device;
[0014] The image scene construction module is used to construct an image scene based on the target image.
[0015] According to another aspect of this application, an electronic device is provided, the electronic device comprising:
[0016] At least one processor; and
[0017] A memory communicatively connected to the at least one processor; wherein,
[0018] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the image scene construction method according to any embodiment of this application.
[0019] According to another aspect of this application, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the image scene construction method according to any embodiment of this application.
[0020] In the technical solution of this application embodiment, scene shooting devices within a preset radius centered on the target device are determined based on the target device's target positioning information. This allows for the real-time and flexible determination of image acquisition devices suitable for constructing AR scenes, following the different positions of the target device, thus improving the flexibility and practicality of image scene construction. Simultaneously, the target image is determined based on the position and viewing angle information of the scene shooting devices to construct the image scene. This enables precise construction of the image scene according to different positions and viewing angles, resulting in a more realistic third-person AR scene that improves the accuracy of image scene construction.
[0021] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this application, nor is it intended to limit the scope of this application. Other features of this application will become readily apparent from the following description. Attached Figure Description
[0022] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1This is a flowchart of an image scene construction method provided according to Embodiment 1 of this application;
[0024] Figure 2 This is a schematic diagram of the shooting equipment applicable according to Embodiment 2 of this application;
[0025] Figure 3 This is a schematic diagram of an image scene construction device according to Embodiment 3 of this application;
[0026] Figure 4 This is a schematic diagram of the structure of an electronic device that implements the image scene construction method of the embodiments of this application. Detailed Implementation
[0027] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0028] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0029] Example 1
[0030] Figure 1 This application provides a flowchart of an image scene construction method according to Embodiment 1. This embodiment is applicable to constructing third-person augmented reality scenes in a real environment. The method can be executed by an image scene construction device, which can be implemented in hardware and / or software and can be configured in an electronic device. Figure 1 As shown, the method includes:
[0031] S110, Obtain the target positioning information of the target device.
[0032] The target device can be a device that urgently needs to display a third-person 3D scene, such as AR (Augmented Reality) glasses. The target positioning information can be the target device's location data in a given space, or it can be specific geographical location information based on navigation satellites. For example, outdoors, the target device can communicate with navigation satellites through its built-in navigation chip and obtain its coordinate data, i.e., target positioning information, through a backend server.
[0033] S120. Based on the target positioning information, determine the scene shooting equipment within a preset radius centered on the target positioning information.
[0034] The scene shooting device can be any hardware device capable of capturing images or recording videos, such as a shooting device in the same predetermined space or geographically close to the target device (it can be AR glasses, other devices with cameras, mobile or fixed; this application embodiment does not limit this). The scene shooting devices are determined within a radius of a preset length centered on the target device (target location information); that is, within a preset radius centered on the target location information, other shooting devices besides the target device are determined. Of course, the length of the preset radius can be set by relevant technical personnel based on specific circumstances or human experience, for example, it can be set to 10 meters or 20 meters. In fact, each scene shooting device also has a built-in navigation chip, and the backend server can obtain information (not just location information) of all shooting devices within the preset radius based on the target location information of the target device determined in the aforementioned steps.
[0035] S130. Determine the target image based on the location and viewing angle information of the scene shooting device.
[0036] After identifying the scene shooting devices in the aforementioned steps, their positioning information (i.e., location, or relative position to the target device) can be obtained. Viewpoint information can include the camera's viewpoint (e.g., between 25° and 124°, depending on the hardware of the scene shooting device); viewpoint information can also include the direction of the viewpoint, such as the positive direction at the center of the viewpoint. All image information within the viewpoint information can be acquired by the scene shooting devices, and the acquisition medium can be images or videos. The target image can be a frame from a scene image or video captured by the scene shooting device. It should be noted that the target image can include the target device, which helps in establishing a third-person perspective AR scene for the target device.
[0037] Optionally, the preset radius includes a first preset radius; correspondingly, determining the target image based on the position and viewing angle information of the scene shooting device may include: selecting target shooting devices from the first preset radius range based on the position and viewing angle information of the scene shooting device; when the number of target shooting devices meets a preset number threshold, using the image captured by the target shooting device as the target image.
[0038] The first preset radius can be the radius range of the main shooting device used to determine the third-person AR perspective. For example, the first preset radius can be set to 10 meters, which means that all scene shooting devices within a radius of 10 meters with the target device as the center can be used as shooting devices to construct the third-person AR scene for the target device.
[0039] However, images captured by a small number of scene-capturing devices may not be sufficient to construct an AR scene image through post-processing. Therefore, a threshold number needs to be pre-set. Only when the number of scene-capturing devices within a first preset radius exceeds this threshold will the target image be acquired, thus providing material for subsequent AR scene image construction. For example, this threshold could be set to 5. It's also important to explain that since the target device can be devices such as AR glasses worn by the user, it moves along with the user. Therefore, the backend server needs to determine the number of scene-capturing devices within the first preset radius around the target device based on its movement (real-time positioning).
[0040] It is understandable that only when the viewpoint contains the target device (and the user) can the corresponding image be easily used to construct a third-person AR image scene with the target device (and the user) as the main subject during later synthesis. Therefore, in one optional embodiment, the step of filtering the target shooting device from the first preset radius range based on the position and viewpoint information of the scene shooting device may include: if the scene shooting device is within the first preset radius of the target device, and the viewpoint information of the scene shooting device contains the target device, then the scene shooting device is determined as the target shooting device.
[0041] It is conceivable that, within the first preset radius, any scene shooting device capable of capturing the target device can serve as the target shooting device, acquiring target images to help construct a third-person AR scene image with the target device as the main subject in the later stages.
[0042] In another optional implementation, the step of selecting the target shooting device from the first preset radius range based on the position and viewing angle information of the scene shooting device may include: if the distance between the scene shooting device and the target device is the first preset radius, and the viewing angle information of the scene shooting device contains the target device, then the scene shooting device is determined as the target shooting device.
[0043] Understandably, in practice, because the perspectives of the shooting devices in different scenes are similar (almost all are wide-angle), and the distances of the shooting devices from the target device and the user wearing the target device are different, the image size of the user will be different on different devices (due to the physical principle of perspective). As a result, when performing image synthesis and scene construction in the later stages, the different image size of the target subject (i.e., the user wearing the target device) in different images will put a computational burden on the construction of the same AR scene. The amount of computation is large and it is prone to errors. More computing resources are consumed in restoring the image of the target subject.
[0044] Therefore, when the distance between the scene shooting device and the target device is the same, for example, the distance between them is a first preset radius, and the target device (and the user) are present in the viewpoint information of the scene shooting device, it is very beneficial for subsequent image synthesis and scene construction, which can further reduce the amount of computation and improve the efficiency and accuracy of AR scene construction.
[0045] Furthermore, the preset radius includes a second preset radius, and the second preset radius is greater than the first preset radius; correspondingly, after determining the target image based on the position and viewing angle information of the scene shooting device, it may also include: if the distance between the scene shooting device and the target device is between the first preset radius and the second preset radius, or if the target device is not present in the viewing angle information of the scene shooting device, then the scene shooting device is used as an auxiliary shooting device.
[0046] It should be noted that in a common scenario, using only a scene-capturing device that includes the target device in its viewpoint information to photograph the user and construct the AR scene may result in missing image information about the background or foreground objects and environment, making the final constructed third-person AR scene incomplete. Therefore, it is necessary to supplement this image information about the environment and objects.
[0047] There are two scenarios. First, the auxiliary shooting devices used to supplement image information such as the environment and objects are not within the first preset radius. Second, regardless of whether the auxiliary shooting devices are within the first preset radius, their viewpoint information does not include the target device (and the user). It is understood that satisfying at least one of these two scenarios allows a device to be used as an auxiliary shooting device to acquire scene images outside the target device (and the user). This better supplements the background and foreground image information in the third-person AR scene, making the construction of the AR scene more accurate and complete. Of course, since the image acquisition of each shooting device has certain distance or quantity limitations, setting a second preset radius larger than the first preset radius to determine the available auxiliary shooting devices within the second preset radius is a feasible implementation method. For example, the second preset radius can be set to 20 meters.
[0048] S140. Construct the image scene based on the target image.
[0049] Based on the target images obtained from the above steps and implementation methods, the planar images are combined into a third-person AR scene centered on the target device (and the user) using any of the existing post-image processing techniques.
[0050] Optionally, constructing the image scene based on the target image may include: constructing the image scene based on the target image and auxiliary images captured by the auxiliary shooting device.
[0051] In this context, the target image can include the target device, while the auxiliary image can be an image excluding the target device. Synthesizing an AR scene using only an image including the target device may result in incomplete image information, such as the loss of some foreground or background. Therefore, combining the target image and the auxiliary image to construct the scene will complete all the scene information, making the constructed AR scene more complete.
[0052] Furthermore, after constructing the image scene based on the target image, the method may further include: projecting the image scene onto the target device for display.
[0053] After constructing the image scene, the visual information of the image scene is sent to the target device for display. For example, the constructed third-person AR scene can be fed back to the AR glasses worn by the user, allowing the user to see their own third-person perspective through their AR glasses, thereby improving the user experience.
[0054] In the technical solution of this application embodiment, scene shooting devices within a preset radius centered on the target device are determined based on the target device's target positioning information. This allows for the real-time and flexible determination of image acquisition devices suitable for constructing AR scenes, following the different positions of the target device, thus improving the flexibility and practicality of image scene construction. Simultaneously, the target image is determined based on the position and viewing angle information of the scene shooting devices to construct the image scene. This enables precise construction of the image scene based on different positions and viewing angles, resulting in a more realistic third-person AR scene that improves the accuracy of image scene construction.
[0055] Example 2
[0056] Figure 2 This is a flowchart illustrating an image scene construction method provided in Embodiment 2 of this application. This embodiment is a preferred embodiment based on the foregoing implementation methods. Figure 2 As shown, the method includes:
[0057] The target device (such as AR glasses or other devices worn by the user) activates the third-person service through the human-computer interaction interface of the third-person application, and then the application uploads the target device's location information to the server via the network.
[0058] The server searches the database for other AR devices within a certain range (the general camera focal length range for AR devices, such as 10 meters) around the target device's location. If the number of devices found exceeds a valid threshold (e.g., 5), it sends a third-person service support request to the devices that meet the location criteria (i.e., within a 10-meter range) to request their field of view information.
[0059] After acquiring the field of view information, the distance to the target device is calculated to be the same, and the difference between the positive directions of the field of view is the largest (understandably, a small difference in the positive directions of the field of view will lead to more repetition of scene information included in the acquired viewpoint information), and the target device is included within the viewpoint (e.g., Figure 2 A group of AR devices (as shown) are designated as the target shooting devices. Other AR devices within the effective range (the maximum effective shooting range of a general AR camera, for example, 20 meters) are designated as auxiliary shooting devices. The third-person support service for the target and auxiliary shooting devices is activated accordingly. The difference between the target and auxiliary shooting devices can be that the scene images captured by the target shooting device only undergo rotation, cropping, and stitching processing, requiring high-resolution photos; the images captured by the auxiliary shooting device are used for reference and confirmation of scene objects and details, requiring cropping, scaling, and virtual processing, and do not need to be very high-resolution.
[0060] The target shooting device and the auxiliary shooting device activate their AR front-facing cameras to take continuous shots at 10Hz, sending images and field-of-view information to the server. The server checks every second or every frame to ensure the field of view still includes the target device's position. Then, it crops all images from the target shooting device, rendering any missing or unclear parts using images from the auxiliary shooting device to create a 3D scene image. Finally, combining the target device's location and the user's image, it models and renders a user-centric 3D scene image.
[0061] The server sends the constructed scene images to the service requesting device (i.e., the target device) in real time via the network. The target device projects these images onto the AR glasses to complete the third-person scene switching, allowing the user to see a three-dimensional third-person AR scene centered on themselves through their AR glasses.
[0062] Example 3
[0063] Figure 3 This is a schematic diagram of an image scene construction device provided in Embodiment 3 of this application.
[0064] like Figure 3 As shown, the device 300 includes:
[0065] The positioning information acquisition module 310 is used to acquire the target positioning information of the target device.
[0066] The shooting device determination module 320 is used to determine the scene shooting devices within a preset radius centered on the target positioning information based on the target positioning information;
[0067] The target image determination module 330 is used to determine the target image based on the position and viewing angle information of the scene shooting device;
[0068] The image scene construction module 340 is used to construct an image scene based on the target image.
[0069] In the technical solution of this application embodiment, scene shooting devices within a preset radius centered on the target device are determined based on the target device's target positioning information. This allows for the real-time and flexible determination of image acquisition devices suitable for constructing AR scenes, following the different positions of the target device, thus improving the flexibility and practicality of image scene construction. Simultaneously, the target image is determined based on the position and viewing angle information of the scene shooting devices to construct the image scene. This enables precise construction of the image scene according to different positions and viewing angles, resulting in a more realistic third-person AR scene that improves the accuracy of image scene construction.
[0070] In one optional implementation, the preset radius includes a first preset radius; correspondingly, the target image determination module 330 may include:
[0071] The target device filtering unit is used to filter out target shooting devices from a first preset radius range based on the position and viewing angle information of the scene shooting devices;
[0072] The target image determination unit is used to determine the image captured by the target shooting device as the target image when the number of target shooting devices meets a preset number threshold.
[0073] In one alternative implementation, the target device screening unit may be specifically used for:
[0074] If the scene shooting device is within a first preset radius from the target device, and the target device is present in the view information of the scene shooting device, then the scene shooting device is identified as the target shooting device.
[0075] In one alternative implementation, the target device screening unit may be specifically used for:
[0076] If the distance between the scene shooting device and the target device is within a first preset radius, and the target device is present in the view information of the scene shooting device, then the scene shooting device is identified as the target shooting device.
[0077] In one optional embodiment, the preset radius includes a second preset radius, and the second preset radius is greater than the first preset radius; correspondingly, the target image determination module 330 can also be used for:
[0078] If the distance between the scene shooting device and the target device is between the first preset radius and the second preset radius, or if the target device is not present in the viewpoint information of the scene shooting device, then the scene shooting device will be used as an auxiliary shooting device.
[0079] In one alternative embodiment, the image scene construction module 340 may be specifically used for:
[0080] The image scene is constructed based on the target image and auxiliary images captured by the auxiliary imaging equipment.
[0081] In one alternative embodiment, the device 300 may further include
[0082] The image scene display module is used to project image scenes onto the target device for display.
[0083] The image scene construction apparatus provided in this application can execute the image scene construction method provided in any embodiment of this application, and has the corresponding functional modules and beneficial effects for executing each image scene construction method.
[0084] Example 4
[0085] Figure 4 A schematic diagram of an electronic device 10, which can be used to implement embodiments of this application, is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the application described and / or claimed herein.
[0086] like Figure 4 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0087] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0088] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as image scene construction methods.
[0089] In some embodiments, the image scene construction method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or mounted on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the image scene construction method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to execute the image scene construction method by any other suitable means (e.g., by means of firmware).
[0090] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0091] Computer programs used to implement the methods of this application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0092] In the context of this application, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0093] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0094] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0095] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0096] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this application can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this application can be achieved, and this is not limited herein.
[0097] The specific embodiments described above do not constitute a limitation on the scope of protection of this application. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A method for constructing an image scene, characterized in that, The method includes: Obtain the target location information of the target device; Based on the target positioning information, determine the scene shooting devices within a preset radius centered on the target positioning information; The target image is determined based on the position and viewing angle information of the scene shooting device; Based on the target image, the image scene is constructed; The preset radius includes a first preset radius and a second preset radius, and the second preset radius is larger than the first preset radius; correspondingly, after determining the target image based on the position and viewing angle information of the scene shooting device, the method further includes: If the distance between the scene shooting device and the target device is between the first preset radius and the second preset radius, or if the target device is not present in the viewpoint information of the scene shooting device, then the scene shooting device is used as an auxiliary shooting device; wherein, the auxiliary shooting device acquires images of the background and foreground in the scene other than the target device.
2. The method according to claim 1, characterized in that, Determining the target image based on the position and viewing angle information of the scene shooting device includes: Based on the position and viewing angle information of the scene shooting device, the target shooting device is selected from the first preset radius range; When the number of target shooting devices meets a preset threshold, the image captured by the target shooting device is used as the target image.
3. The method according to claim 2, characterized in that, The step of selecting target shooting devices from the first preset radius range based on the position and viewing angle information of the scene shooting device includes: If the scene shooting device is within the first preset radius from the target device, and the target device is present in the viewpoint information of the scene shooting device, then the scene shooting device is identified as the target shooting device.
4. The method according to claim 2, characterized in that, The step of selecting target shooting devices from the first preset radius range based on the position and viewing angle information of the scene shooting device includes: If the distance between the scene shooting device and the target device is the first preset radius, and the target device is present in the viewpoint information of the scene shooting device, then the scene shooting device is identified as the target shooting device.
5. The method according to claim 1, characterized in that, The step of constructing the image scene based on the target image includes: The image scene is constructed based on the target image and the auxiliary image captured by the auxiliary shooting device.
6. The method according to any one of claims 1-4, characterized in that, After constructing the image scene based on the target image, the method further includes: The image scene is projected onto the target device for display.
7. An image scene construction device, characterized in that, include: The location information acquisition module is used to acquire the target location information of the target device; The shooting device determination module is used to determine the scene shooting devices within a preset radius range centered on the target positioning information, based on the target positioning information. The target image determination module is used to determine the target image based on the position and viewing angle information of the scene shooting device; An image scene construction module is used to construct an image scene based on the target image; The preset radius includes a first preset radius and a second preset radius, and the second preset radius is greater than the first preset radius; The target image determination module can also be used for: If the distance between the scene shooting device and the target device is between a first preset radius and a second preset radius, or if the target device is not present in the viewpoint information of the scene shooting device, then the scene shooting device is used as an auxiliary shooting device; wherein, the auxiliary shooting device acquires images of the background and foreground in the scene other than the target device.
8. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the image scene construction method according to any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the image scene construction method according to any one of claims 1-6.
Citation Information
Patent Citations
Intelligent alarm linkage monitoring system and method, electronic equipment and medium
CN114237094A
Graphic processing method and device, virtual reality system, computer storage medium
TW201835723A