Shooting calibration method, device, equipment and storage medium
By detecting the matching status of the target image and the virtual background in virtual reality shooting, the camera of the electronic device is calibrated, solving the problem of mismatch between the target image and the virtual background, and achieving a better user experience in virtual reality shooting.
Patent Information
- Application Number
- CN202210439300.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-25
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-04-25
AI Technical Summary
In virtual reality shooting, the target image captured by the electronic device may not match the virtual background in the head-mounted device, resulting in poor user experience.
By acquiring the virtual image observed by the wearable device and the target image captured by the electronic device, when a mismatch is detected, the camera of the electronic device is corrected, and the focus is adjusted until the images match, so that the corrected electronic device can interact with the virtual environment at any angle. The objects are of the same size.
The user experience effect is improved, the captured target image matches the virtual background, and the experience quality of virtual reality shooting is enhanced.
Smart Images

Figure CN114785909B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to a shooting calibration method, device, equipment and storage medium. Background Art
[0002] Virtual reality (VR) shooting is a shooting method that synthesizes a target object with a virtual scene. When performing VR shooting, an electronic device and a head-mounted device are required. After the electronic device shoots the target object image, it is necessary to remove the background of the target object image and synthesize it with the virtual background of the head-mounted device. However, the target object image captured by the electronic device may not match the virtual background in the head-mounted device. For example, the target object image is much larger or smaller than the virtual background, causing the background and the target to appear very inconsistent, which in turn leads to a poor user experience. Summary of the invention
[0003] The main purpose of this application is to provide a shooting calibration method, device, equipment and storage medium, aiming to solve the technical problem in the prior art that the image of the target object captured by the electronic device may not match the virtual background in the head-mounted device, resulting in a poor user experience.
[0004] To achieve the above object, the present application provides a shooting calibration method, which is applied to a shooting calibration device, wherein the shooting calibration device includes an electronic device and a wearable device, and the shooting calibration method includes:
[0005] Acquire a virtual image of a preset target object observed by the wearable device, and acquire a target object image of the preset target object photographed by the electronic device;
[0006] When it is detected that the target object image does not match the virtual image, the electronic device is calibrated and the execution step is returned to: obtaining a target object image of a preset target object photographed by the electronic device until the target object image successfully matches the virtual image to obtain a calibrated electronic device.
[0007] Optionally, the shooting angle of view and shooting line of sight corresponding to the camera of the electronic device and the wearable device are the same.
[0008] Optionally, when it is detected that the target object image does not match the virtual image, the camera of the electronic device is calibrated to obtain a calibrated electronic device, and the step of returning to the step of obtaining a target object image of a preset target object photographed by the electronic device until the target object image successfully matches the virtual image, and the step of obtaining the calibrated electronic device includes:
[0009] If the target image is smaller than the virtual image, the focal length of the camera of the electronic device is increased, and the execution step is returned to: obtaining a target image of a preset target object photographed by the electronic device until the target image coincides with the virtual image, thereby obtaining the calibrated electronic device.
[0010] Optionally, when it is detected that the target object image does not match the virtual image, the camera of the electronic device is calibrated to obtain a calibrated electronic device, and the step of returning to the step of obtaining a target object image of a preset target object photographed by the electronic device until the target object image successfully matches the virtual image, and the step of obtaining the calibrated electronic device includes:
[0011] If the target image is larger than the virtual image, the focal length of the camera of the electronic device is reduced, and the execution step is returned to: obtaining a target image of a preset target object photographed by the electronic device until the target image coincides with the virtual image, thereby obtaining the calibrated electronic device.
[0012] Optionally, after the step of acquiring the target object image captured by the electronic device, the method further includes:
[0013] removing the background of the target image;
[0014] The target object image after removing the background is projected into the lens of the wearable device to detect whether the target object image in the lens coincides with the virtual image.
[0015] Optionally, when it is detected that the target image does not match the virtual image, the electronic device is calibrated, and the step of returning to the step of obtaining a target image of a preset target object photographed by the electronic device until the target image successfully matches the virtual image to obtain a calibrated electronic device is obtained, further comprising:
[0016] Acquire a virtual image of the environment captured by the wearable device in the virtual space;
[0017] Acquire a target image captured by the calibrated electronic device;
[0018] The environment virtual image and the target image are superimposed to obtain a composite image.
[0019] Optionally, the step of superimposing the virtual image and the target image to obtain a composite image includes:
[0020] removing the background of the target image;
[0021] The target image after removing the background is used as the foreground, and the environment virtual image is used as the background, and the foreground and the background are superimposed to obtain the composite image.
[0022] The present application also provides a shooting calibration device, which is a virtual system and includes:
[0023] A first acquisition module, used to acquire a virtual image of a preset target object observed by the wearable device, and to acquire a target object image of the preset target object photographed by the electronic device;
[0024] The correction module is used to correct the electronic device when it is detected that the target object image does not match the virtual image, and return to the execution step: obtaining a target object image of a preset target object photographed by the electronic device until the target object image successfully matches the virtual image to obtain a corrected electronic device.
[0025] The present application also provides an electronic device, which is a physical device, and includes: a memory, a processor, and a shooting calibration program stored in the memory, and the shooting calibration program is executed by the processor to implement the steps of the above-mentioned shooting calibration method.
[0026] The present application also provides a storage medium, which is a computer-readable storage medium. The computer-readable storage medium stores a shooting calibration program, and the shooting calibration program is executed by a processor to implement the steps of the above-mentioned shooting calibration method.
[0027] The present application provides a shooting calibration method, apparatus, device and storage medium. The present application first obtains a virtual image of a preset target object observed through the wearable device, and obtains a target image of the preset target object taken by the electronic device. Then, when it is detected that the target image does not match the virtual image, the electronic device is calibrated and the execution step is returned: obtaining a target image of the preset target object taken by the electronic device until the target image successfully matches the virtual image to obtain a calibrated electronic device, thereby realizing comparison between the virtual environment observed by the human eye through the lens of the wearable device and the target image taken by the electronic device. When there is a mismatch, the camera of the electronic device is calibrated until the target image taken by the electronic device can coincide with the image of the target object observed by the wearable device to obtain a calibrated camera, so that the calibrated camera is consistent with the size of the object in the virtual environment no matter which angle it is turned to, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without any creative work.
[0030] Figure 1 This is a flow chart of the first embodiment of the photographing calibration method of the present application;
[0031] Figure 2 A schematic diagram of the overlap between the target image and the virtual image in an embodiment of the present application;
[0032] Figure 3 This is a schematic diagram of an embodiment of the present application in which the target image is smaller than the virtual image size;
[0033] Figure 4 This is a schematic diagram of a target image being larger than a virtual image in an embodiment of the present application;
[0034] Figure 5 This is a flow chart of a second embodiment of the photographing calibration method of the present application;
[0035] Figure 6 A schematic diagram of the structure of an electronic device of a hardware operating environment involved in an embodiment of the present application;
[0036] Figure 7 A schematic diagram of the functional modules of the calibration device shot for this application.
[0037] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0038] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0039] The main solution of the embodiment of the present application is: obtaining a virtual image of a preset target object observed through the wearable device, and obtaining a target image of the preset target object photographed by the electronic device, and then when it is detected that the target image does not match the virtual image, the electronic device is calibrated and the execution step is returned: obtaining a target image of the preset target object photographed by the electronic device until the target image successfully matches the virtual image to obtain a calibrated electronic device. Therefore, through the above scheme, the virtual environment observed by the human eye through the lens of the wearable device and the target image photographed by the electronic device are compared. When there is a mismatch, the camera of the electronic device is calibrated until the target image photographed by the electronic device can coincide with the image of the target object observed by the wearable device, and a calibrated camera is obtained, so that the calibrated camera is consistent with the size of the object in the virtual environment no matter which angle it is turned to, thereby improving the user experience.
[0040] Specifically, refer to Figure 1 The present application embodiment provides a shooting calibration method. In a first embodiment of the shooting calibration method of the present application, the shooting calibration method includes:
[0041] Step S10, obtaining a virtual image of a preset target object observed by the wearable device, and obtaining a target object image of the preset target object photographed by the electronic device;
[0042] In this embodiment, it should be noted that the shooting calibration method is applied to a shooting calibration device, which includes an electronic device and a wearable device. The wearable device includes VR, AR and other devices. Preferably, the wearable device is a head-mounted device, and the electronic device can be a mobile phone, a tablet computer, a camera, etc., and the electronic device is equipped with a camera.
[0043] It should be further explained that the line of sight and viewing angle corresponding to the camera of the electronic device and the wearable device are the same, the virtual image is an image of a preset target object observed by the user through the lens of the wearable device, and the target object image is an image including a preset target object, wherein the preset target object includes a person, an animal or a real scene, etc.
[0044] In one possible implementation, the time at which a preset target object is observed by a user through a lens of the wearable device and a target object is photographed by the electronic device is the same. Specifically, after the user puts on the wearable device, the line of sight and viewing angle of the wearable device and the electronic device toward the preset target object are adjusted to be consistent, and then a target image of the preset target object is obtained by photographing the electronic device, and a virtual image of the preset target object observed through the wearable device is obtained.
[0045] In another possible implementation, the time at which a preset target object is observed by a user through the lens of the wearable device and the time at which a target object is photographed by the electronic device are different. Specifically, when the electronic device obtains a shooting instruction, the target image of the preset target object is photographed by the electronic device, and the background of the target image is removed. When the user wears the wearable device, the electronic device sends the stored target image after removing the background to the wearable device, and then displays it on the lens of the wearable device, and then adjusts the viewing angle and line of sight of the wearable device to be the same as those of the electronic device when shooting, so as to obtain a virtual image of the preset target object observed by the human eye.
[0046] Wherein, after the step of acquiring the target object image photographed by the electronic device, the method further includes:
[0047] Step A10, removing the background of the target image;
[0048] Step A20: projecting the target image after removing the background into the lens of the wearable device to detect whether the target image in the lens overlaps and matches the virtual image.
[0049] In this embodiment, it should be noted that, further, the background of the target image is removed, for example, the foreground / background separation of the target image acquired by the camera is performed using an optical flow algorithm / low-rank decomposition / mixed Gaussian modeling algorithm, thereby removing the background of the target image, and uploading the target image after the background is removed to the wearable device, and displaying it on the lens of the wearable device, and then detecting whether the target image in the lens coincides with the virtual image. If so, it proves that the size of the target image captured by the camera of the current electronic device is the same as the size of the preset target image observed by the human eye through the lens of the wearable device, referring to Figure 2 , Figure 2 This is a schematic diagram of the overlap of the target object image and the virtual image in the embodiment of the present application, and there is no need to zoom the camera of the electronic device. If not, it proves that the size of the target object image taken by the camera of the current electronic device is inconsistent with the size of the preset target object observed by the human eye through the lens of the wearable device, and then the step of calibrating the electronic device is executed until the target object image successfully matches the virtual image.
[0050] Step S20, when it is detected that the target object image does not match the virtual image, the electronic device is calibrated and the execution step is returned: a target object image of a preset target object is obtained by photographing the electronic device until the target object image successfully matches the virtual image to obtain a calibrated electronic device.
[0051] In this embodiment, specifically, when it is detected that the target image does not match the virtual image, there are two situations: the size of the target image is larger than the size of the virtual image or the size of the target image is smaller than the size of the virtual image. When the target image is smaller than the size of the virtual image, it proves that the focal length of the camera of the electronic device needs to be increased, so as to capture an image with a larger image ratio. In addition, when the target image is larger than the size of the virtual image, it proves that the ratio of the image captured by the camera of the current electronic device is too large, and it is necessary to reduce the focal length of the camera of the electronic device, so as to capture an image with a smaller image ratio. Then, the calibrated electronic device continues to capture the target image of the preset target until the target image coincides with the virtual image, and a calibrated electronic device can be obtained. In another embodiment, if the distance between the size of the target image and the size of the virtual image is detected to be within a preset distance threshold, it proves that the target image matches the virtual image successfully, and a calibrated electronic device is obtained. The preset distance threshold can be set according to actual conditions. For example, the preset distance threshold is set to 2 mm, which is not specifically limited here.
[0052] Among them, when it is detected that the target object image does not match the virtual image, the camera of the electronic device is calibrated to obtain a calibrated electronic device, and the step of returning to execute: obtaining a target object image of a preset target object photographed by the electronic device until the target object image successfully matches the virtual image, and the step of obtaining the calibrated electronic device includes:
[0053] Step S21, if the target image is smaller than the virtual image, the focal length of the camera of the electronic device is increased, and the process returns to the step of obtaining a target image of a preset target object photographed by the electronic device until the target image coincides with the virtual image, thereby obtaining the calibrated electronic device;
[0054] In this embodiment, refer to Figure 3 , Figure 3This is a schematic diagram of an embodiment of the present application in which the target object image is smaller than the size of the virtual image, wherein the outer rectangle represents the lens of the wearable device, the image with thicker lines represents the virtual image, and the image with smaller lines represents the target object image. Specifically, if the size of the target object image is smaller than the size of the virtual image, it proves that the proportion of the image taken by the camera of the current electronic device is too small. Therefore, it is necessary to increase the focal length of the camera of the electronic device, so as to re-take the image of the preset target object through the calibrated electronic device to obtain a target object image with a larger image proportion, and then compare the new target object image with the virtual image again until the target object image coincides with the virtual image to obtain the calibrated electronic device.
[0055] Step S22, if the target image is larger than the virtual image, reduce the focal length of the camera of the electronic device and return to the execution step: obtain the target image of the preset target object photographed by the electronic device until the target image coincides with the virtual image to obtain the calibrated electronic device.
[0056] In this embodiment, refer to Figure 4 , Figure 4 This is a schematic diagram of an embodiment of the present application in which the target object image is larger than the size of the virtual image, wherein the outer rectangle represents the lens of the wearable device, the image with thicker lines represents the virtual image, and the image with smaller lines represents the target object image. Specifically, if the size of the target object image is larger than the size of the virtual image, it proves that the proportion of the image captured by the camera of the current electronic device is too large. Therefore, it is necessary to reduce the focal length of the camera of the electronic device, so as to re-capture the image of the preset target object through the calibrated electronic device to obtain a target object image with a smaller image proportion, and then compare the new target object image with the virtual image again until the target object image coincides with the virtual image to obtain the calibrated electronic device.
[0057] The embodiment of the present application uses the above scheme to compare the virtual environment observed by the human eye through the lens of the wearable device with the target object image taken by the electronic device. When there is a mismatch, the camera of the electronic device is calibrated until the target object image taken by the electronic device can coincide with the target object image observed by the wearable device, thereby obtaining a calibrated camera. The calibrated camera is thus consistent with the size of the object in the virtual environment no matter which angle it is turned to, thereby improving the user experience.
[0058] Further, refer to Figure 5Based on the first embodiment of the present application, in another embodiment of the present application, when it is detected that the target image does not match the virtual image, the electronic device is calibrated, and the step of returning to the execution step of obtaining a target image of a preset target object photographed by the electronic device until the target image successfully matches the virtual image, and after obtaining the step of obtaining a calibrated electronic device, it also includes:
[0059] Step B10, obtaining a virtual image of the environment captured by the wearable device in the virtual space;
[0060] Step B20, acquiring a target image captured by the calibrated electronic device;
[0061] Step B30, superimposing the environment virtual image and the target image to obtain a composite image.
[0062] In this embodiment, specifically, a virtual image of the environment captured by the wearable device in the virtual space is obtained, and a target image captured by the calibrated electronic device is obtained. The wearable device transmits the virtual image of the environment to the electronic device, removes the background of the target image, and uses the target image after the background is removed as the foreground, and uses the image captured by the wearable device as the background. The foreground and the background are superimposed to output the composite image. Since the capture is performed using the calibrated electronic device, the target object captured matches the virtual environment of the wearable device. Furthermore, when the user wears the wearable device, the electronic device sends the stored composite image to the wearable device, and the user can see the composite image on the screen through the wearable device, so that VR shooting can be completed with only the electronic device and the wearable device, which is convenient and fast, and improves the user experience.
[0063] Through the above-mentioned scheme, the embodiment of the present application realizes shooting using a calibrated electronic device, and the captured target image matches the virtual environment of the wearable device, so that the obtained composite image is more in line with the actual situation, thereby improving the user experience.
[0064] Reference Figure 6 , Figure 6 It is a schematic diagram of the electronic device structure of the hardware operating environment involved in the embodiment of the present application.
[0065] like Figure 6As shown, the electronic device may include: a processor 1001, such as a CPU, a memory 1005, and a communication bus 1002. The communication bus 1002 is used to realize the connection and communication between the processor 1001 and the memory 1005. The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0066] Optionally, the electronic device may further include a rectangular user interface, a network interface, a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, etc. The rectangular user interface may include a display screen (Display), an input submodule such as a keyboard (Keyboard), and the optional rectangular user interface may also include a standard wired interface and a wireless interface. The network interface may optionally include a standard wired interface and a wireless interface (such as a WIFI interface).
[0067] Those skilled in the art will understand that Figure 6 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0068] like Figure 6 As shown, the memory 1005 as a computer storage medium may include an operating device, a network communication module and a shooting calibration program. The operating system is a program that manages and controls the hardware and software resources of the electronic device, and supports the operation of the shooting calibration program and other software and / or programs. The network communication module is used to realize the communication between the components inside the memory 1005, and the communication with other hardware and software in the shooting calibration device.
[0069] exist Figure 6 In the electronic device shown, the processor 1001 is used to execute the shooting calibration program stored in the memory 1005 to implement the steps of any of the above-mentioned shooting calibration methods.
[0070] The specific implementation of the electronic device of the present application is basically the same as the embodiments of the above-mentioned shooting calibration method, and will not be repeated here.
[0071] In addition, please refer to Figure 7 , Figure 7 is a functional module diagram of the photographing calibration device of the present application. The present application also provides a photographing calibration device, the photographing calibration device comprising:
[0072] A first acquisition module, used to acquire a virtual image of a preset target object observed by the wearable device, and to acquire a target object image of the preset target object photographed by the electronic device;
[0073] The correction module is used to correct the electronic device when it is detected that the target object image does not match the virtual image, and return to the execution step: obtaining a target object image of a preset target object photographed by the electronic device until the target object image successfully matches the virtual image to obtain a corrected electronic device.
[0074] Optionally, the correction module is further used for:
[0075] If the target image is smaller than the virtual image, the focal length of the camera of the electronic device is increased, and the execution step is returned to: obtaining a target image of a preset target object photographed by the electronic device until the target image coincides with the virtual image, thereby obtaining the calibrated electronic device.
[0076] Optionally, the correction module is further used for:
[0077] If the target image is larger than the virtual image, the focal length of the camera of the electronic device is reduced, and the execution step is returned to: obtaining a target image of a preset target object photographed by the electronic device until the target image coincides with the virtual image, thereby obtaining the calibrated electronic device.
[0078] Optionally, the photographing calibration device is further used for:
[0079] removing the background of the target image;
[0080] The target object image after removing the background is projected into the lens of the wearable device to detect whether the target object image in the lens coincides with the virtual image.
[0081] Optionally, the photographing calibration device is further used for:
[0082] Acquire a virtual image of the environment captured by the wearable device in the virtual space;
[0083] Acquire a target image captured by the calibrated electronic device;
[0084] The environment virtual image and the target image are superimposed to obtain a composite image.
[0085] Optionally, the photographing calibration device is further used for:
[0086] removing the background of the target image;
[0087] The target image after removing the background is used as the foreground, and the environment virtual image is used as the background, and the foreground and the background are superimposed to obtain the composite image.
[0088] The specific implementation of the photographing and calibration device of the present application is basically the same as the embodiments of the photographing and calibration method described above, and will not be repeated here.
[0089] An embodiment of the present application provides a storage medium, which is a computer-readable storage medium, and the computer-readable storage medium stores one or more programs, and the one or more programs can also be executed by one or more processors to implement the steps of any of the above-mentioned shooting calibration methods.
[0090] The specific implementation of the computer-readable storage medium of the present application is basically the same as the embodiments of the above-mentioned shooting calibration method, and will not be repeated here.
[0091] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.
Claims
1. A shooting calibration method, characterized in that: The shooting calibration method is applied to a shooting calibration device, the shooting calibration device includes an electronic device and a wearable device, and the shooting calibration method includes: Acquire a virtual image of a preset target object observed through the wearable device, and acquire a target object image of the preset target object photographed by the electronic device, wherein the shooting angle of view and shooting sight line corresponding to the camera of the electronic device and the wearable device are the same; When it is detected that the target object image does not match the virtual image, the electronic device is calibrated, and the process returns to the step of obtaining a target object image of a preset target object photographed by the electronic device until the target object image successfully matches the virtual image, thereby obtaining a calibrated electronic device; After the step of acquiring the target object image photographed by the electronic device, the method further includes: removing the background of the target image; The target object image after removing the background is projected into the lens of the wearable device to detect whether the target object image in the lens coincides with the virtual image.
2. The shooting calibration method according to claim 1, characterized in that: When it is detected that the target image does not match the virtual image, the camera of the electronic device is calibrated to obtain a calibrated electronic device, and the step of returning to the execution step of obtaining a target image of a preset target object photographed by the electronic device until the target image successfully matches the virtual image, and the step of obtaining the calibrated electronic device includes: If the target image is smaller than the virtual image, the focal length of the camera of the electronic device is increased, and the execution step is returned to: obtaining a target image of a preset target object photographed by the electronic device until the target image coincides with the virtual image, thereby obtaining the calibrated electronic device.
3. The shooting calibration method according to claim 1, characterized in that: When it is detected that the target image does not match the virtual image, the camera of the electronic device is calibrated to obtain a calibrated electronic device, and the step of returning to the execution step of obtaining a target image of a preset target object photographed by the electronic device until the target image successfully matches the virtual image, and the step of obtaining the calibrated electronic device includes: If the target image is larger than the virtual image, the focal length of the camera of the electronic device is reduced, and the execution step is returned to: obtaining a target image of a preset target object photographed by the electronic device until the target image coincides with the virtual image, thereby obtaining the calibrated electronic device.
4. The shooting calibration method according to claim 1, characterized in that: After the step of correcting the electronic device when it is detected that the target image does not match the virtual image and returning to the step of obtaining a target image of a preset target object photographed by the electronic device until the target image successfully matches the virtual image to obtain a corrected electronic device, the method further includes: Acquire a virtual image of the environment captured by the wearable device in the virtual space; Acquire a target image captured by the calibrated electronic device; The environment virtual image and the target image are superimposed to obtain a composite image.
5. The shooting calibration method according to claim 4, characterized in that: The step of superimposing the virtual image and the target image to obtain a composite image comprises: removing the background of the target image; The target image after removing the background is used as the foreground, and the environment virtual image is used as the background, and the foreground and the background are superimposed to obtain the composite image.
6. A shooting calibration device, characterized in that: The shooting calibration device includes an electronic device and a wearable device, and the shooting calibration device includes: A first acquisition module is used to acquire a virtual image of a preset target object observed by the wearable device, and to acquire a target object image of the preset target object photographed by the electronic device, wherein the shooting angle of view and shooting sight line corresponding to the camera of the electronic device and the wearable device are the same; a correction module, configured to correct the electronic device when it is detected that the target image does not match the virtual image, and return to the step of obtaining a target image of a preset target object photographed by the electronic device, until the target image successfully matches the virtual image, thereby obtaining a corrected electronic device; The shooting calibration device is used to remove the background of the target image; project the target image after removing the background into the lens of the wearable device to detect whether the target image in the lens overlaps and matches the virtual image.
7. An electronic device, characterized in that: The electronic device comprises: a camera, a memory, a processor and a shooting calibration program stored in the memory. The photographing calibration program is executed by the processor to implement the steps of the photographing calibration method according to any one of claims 1 to 5.
8. A storage medium, the storage medium being a computer-readable storage medium, characterized in that: The computer-readable storage medium stores a photographing calibration program, and the photographing calibration program is executed by a processor to implement the steps of the photographing calibration method according to any one of claims 1 to 5.
