Interaction method and device and electronic equipment
By receiving user input on the shooting preview interface of the electronic device and using the images captured by the additional lens for optical magnification and image processing, the problem of field of view loss is solved, and the clear effect of the optical zoom capability is achieved on the preview interface, which improves the success rate and experience of shooting.
Patent Information
- Application Number
- CN202511004107.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-21
- Publication Date
- 2025-09-12
AI Technical Summary
Existing technologies are unable to ensure the details of the subject while taking into account the complete shooting scene. Especially when using additional lenses, the loss of field of view leads to incomplete composition of the shot scene, which cannot meet the user's demand for high-quality images.
By receiving user input on the shooting preview interface of the electronic device, optically magnifying the image captured by the additional lens, displaying a high-definition image of part of the shooting object, and combining the image processing algorithm to achieve efficient fusion of local images, it ensures that the clear effect of the optical zoom capability can be seen on the preview interface.
The clear effect of optical magnification can be seen in the preview stage, which improves the accuracy of composition and shooting success rate, enhances the user's operational controllability and shooting experience, and provides high-quality shooting results.
Smart Images

Figure CN120640124A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of camera technology, and specifically relates to an interaction method, device and electronic equipment. Background Art
[0002] With the continuous advancement of imaging technology, users are using telephoto lenses more frequently in photography, and their requirements for high-magnification preview images and final film clarity are becoming increasingly stringent. Add-on lenses, with their unique external optical path structure, can effectively improve high-magnification preview clarity and final film quality, enhancing the depiction of subject details. This demonstrates significant advantages in enhancing the user shooting experience and strengthening product market competitiveness.
[0003] However, while add-on lenses optimize high-magnification preview clarity and subject detail, they inevitably introduce a loss of field of view. When users desire to preserve the entire scene composition while also highlighting the subject's details, the limitations of add-on lenses become apparent, restricting their application scenarios and failing to effectively meet users' demands for high-quality images.
[0004] Therefore, it is currently impossible to ensure the details of the subject while taking into account the complete shooting scene. Summary of the Invention
[0005] The purpose of the embodiments of the present application is to provide an interactive method, device and electronic device that can solve the current problem of being unable to ensure the details of the subject while taking into account the complete shooting scene.
[0006] In a first aspect, an embodiment of the present application provides an interaction method, performed by an electronic device connected to an additional lens, the method comprising:
[0007] Displaying a shooting preview interface corresponding to the camera of the electronic device;
[0008] receiving a first input to the shooting preview interface;
[0009] In response to the first input, a portion of the photographic object in the shooting preview interface is magnified and displayed; wherein the image corresponding to the magnified portion of the photographic object is obtained based on the image captured by the additional lens.
[0010] In a second aspect, an embodiment of the present application provides an interactive device, the device being connected to an additional lens, the device comprising:
[0011] A display module, configured to display a shooting preview interface corresponding to the camera of the device;
[0012] A receiving module, configured to receive a first input to the shooting preview interface;
[0013] The display module is further configured to, in response to the first input, enlarge and display a portion of the photographed object in the shooting preview interface; wherein the image corresponding to the enlarged and displayed portion of the photographed object is obtained based on the image captured by the additional lens.
[0014] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0015] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0016] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method described in the first aspect.
[0017] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the method described in the first aspect.
[0018] In an embodiment of the present application, a shooting preview interface corresponding to a camera of an electronic device is displayed. In response to a first input to the shooting preview interface, a portion of the shooting subject in the shooting preview interface is magnified and displayed. The image corresponding to the magnified portion of the shooting subject is obtained based on an image captured by an additional lens. The clarity of the portion of the shooting subject after optical magnification by the additional lens can be directly seen on the preview interface. The optical zoom capability of the additional lens is applied to the preview interaction, providing clarity and detail that is superior to simply relying on digital magnification of the main camera image. In this way, the main details of the portion of the shooting subject are preserved while taking into account the complete shooting scene. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 This is a flow chart of an interaction method provided by an embodiment of the present application;
[0020] Figure 2 is a schematic diagram of a main body area in a first screen provided by an embodiment of the present application;
[0021] Figure 3 is a schematic diagram of a functional icon of an additional lens provided in an embodiment of the present application;
[0022] Figure 4 This is a flow chart of an interaction method provided by an embodiment of the present application;
[0023] Figure 5 is a schematic diagram of a partial screen in a second screen provided by an embodiment of the present application;
[0024] Figure 6 is a schematic diagram of a first screen provided in an embodiment of the present application;
[0025] Figure 7 is a schematic diagram of another first screen provided in an embodiment of the present application;
[0026] Figure 8 This is a schematic diagram of an input for adjusting the magnification provided in an embodiment of the present application;
[0027] Figure 9 This is another schematic diagram of input for adjusting the magnification provided in an embodiment of the present application;
[0028] Figure 10 This is another schematic diagram of input for adjusting the magnification provided in an embodiment of the present application;
[0029] Figure 11 This is a schematic diagram of an interface of a filter library provided in an embodiment of the present application;
[0030] Figure 12 This is a schematic diagram of an interface of a shape library provided in an embodiment of the present application;
[0031] Figure 13 This is a schematic diagram of an interface of a special effects library provided in an embodiment of the present application;
[0032] Figure 14 is a schematic diagram of a dynamic image provided by an embodiment of the present application;
[0033] Figure 15 is a schematic diagram of another dynamic image provided by an embodiment of the present application;
[0034] Figure 16 is a schematic diagram of another dynamic image provided by an embodiment of the present application;
[0035] Figure 17 is a schematic diagram of a video processing interface provided in an embodiment of the present application;
[0036] Figure 18 is a structural diagram of an interactive device provided in an embodiment of the present application;
[0037] Figure 19 This is one of the structural diagrams of the electronic device according to the embodiment of the present application;
[0038] Figure 20 This is the second hardware structure diagram of the electronic device according to the embodiment of the present application. DETAILED DESCRIPTION
[0039] The following will be combined with the accompanying drawings of the embodiments of the present application to clearly describe the technical solutions of the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0040] The terms "first," "second," and the like in the specification of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in this specification refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.
[0041] The interaction method provided in the embodiment of the present application can be applied to at least the following application scenarios, which are described below.
[0042] Currently, in concert scenes, users often face the dilemma of having a camera that cannot capture both the full view of the stage and clear images of the singers. Additional lenses can significantly improve the ability to capture subject details by extending the optical path structure and increasing the optical zoom ratio, presenting clear images of the singer's facial expressions, clothing textures, etc. during high-magnification previews and filming. However, due to the limitations of its optical characteristics, additional lenses significantly compress the field of view (FOV) while increasing the magnification. When users use additional lenses to shoot concerts, even if they point the lens at the stage, they can only capture a partial area of the stage, making it difficult to capture the entire stage setting, lighting effects, and dancers. This results in incomplete picture composition and an inability to show the grand scene of the concert.
[0043] Conventional cameras built into electronic devices, while capable of capturing a wide field of view and fully capturing the entire stage, have limited optical zoom capabilities. When shooting distant singers, forcibly enlarging the image through digital zoom results in pixel interpolation, resulting in reduced resolution and increased noise. Details like the singer's face and body movements appear blurred or pixelated, failing to meet users' demands for high-quality images. These limitations of add-on lenses and electronic device cameras in concert photography make it difficult for users to choose between capturing a panoramic view and capturing a clear shot of the main subject, severely impacting the shooting experience and video quality.
[0044] In response to the problems arising from the related technologies, the embodiments of the present application provide an interactive method, device and electronic device that can solve the problem in the related technologies that it is currently impossible to ensure the details of the subject while taking into account the complete shooting scene.
[0045] The following describes the interaction method provided in the embodiment of the present application in detail through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0046] Figure 1 A flowchart of an interaction method provided in an embodiment of the present application.
[0047] like Figure 1 As shown, the interaction method may include steps 110 to 130, which are performed by an electronic device connected to an additional lens. The method is applied to an interaction device, as shown below:
[0048] Step 110, displaying a shooting preview interface corresponding to the camera of the electronic device;
[0049] Shooting preview interface: refers to the graphical user interface on the screen of an electronic device that displays the image captured by the camera in real time, allowing users to compose and adjust parameters before taking photos or videos.
[0050] Step 120: receiving a first input to the shooting preview interface;
[0051] First input: refers to the interactive action performed by the user on the shooting preview interface of the electronic device, such as single-touch click, long press, or two-finger pinch gesture in a specific area of the preview screen, the purpose of which is to indicate that the user wants to enlarge the part of the shooting subject in the shooting preview interface.
[0052] like Figure 2 As shown, a first input to the shooting preview interface is received.
[0053] The electronic device renders the shooting preview interface in real time. After viewing the preview screen, if the user wishes to view a specific detail in the screen more clearly, the user may perform a first input.
[0054] Step 130 : In response to the first input, a portion of the photographic object in the shooting preview interface is magnified and displayed; wherein the image corresponding to the magnified portion of the photographic object is obtained based on the image captured by the additional lens.
[0055] Partial subject: This refers to the area of the image that the user specifies through the first input in the capture preview interface and that they wish to focus on or zoom in on. Partial subjects typically include subjects or details of interest, such as faces, distant objects, or subtle textures.
[0056] Add-on lenses: These are external optical lens accessories that physically attach to the main camera of an electronic device. These lenses typically have different optical properties than the device's built-in main camera and are often used to extend the device's existing camera capabilities by providing features such as optical zoom, wide-angle, macro, or special effects. They do not affect the hardware operation of the electronic device's camera; they only alter the imaging effect through optical overlay.
[0057] After installing the additional lens, the camera of the electronic device will still capture images normally. The function of the additional lens is to process the light through optical refraction first, and then guide the light into the camera of the electronic device. The additional lens serves as the front optical component of the native lens to capture the image. The ambient light is first refracted by the additional lens, changing the light path, and then enters the camera of the electronic device. Finally, the image sensor completes the photoelectric conversion and image capture.
[0058] The optical center of the additional lens coincides with the lens center of the camera of the electronic device, that is, the optical axis is coaxial. This ensures that after the light is refracted by the additional lens, it accurately passes through the lens group of the camera of the electronic device and focuses on the sensor.
[0059] Zooming in on a portion of the subject in the shooting preview interface refers to presenting the image content corresponding to the portion of the subject on the screen of the electronic device at a larger size and higher visual resolution than the original preview image. The zoomed-in image corresponding to the portion of the subject is obtained based on the image captured by the additional lens. That is, the clear image data of the portion of the subject ultimately zoomed in on the screen relies on the optical capture and sensor imaging of the additional lens. Therefore, zooming in on a portion of the subject in the shooting preview interface does not simply stretch pixels, but rather provides clearer details.
[0060] In response to the first input, the coordinates of the location where the first input occurred are accurately parsed to determine the display area of the portion of the photographed object that the user wishes to zoom in on. Using an image processing algorithm, a high-quality image block corresponding to the portion of the photographed object is extracted from image information captured by the additional lens specifically for the display area of the portion of the photographed object.
[0061] The electronic device dynamically magnifies this extracted, high-quality image area on the shooting preview interface, replacing or overlaying the original preview content of the captured subject. This magnified view is derived directly from the optical imaging of the attached lens, providing superior clarity and detail than simply relying on digital magnification of the image captured by the electronic device's camera.
[0062] Before actually shooting, users can now directly see the sharp effect of a portion of the subject after optical magnification with the attached lens on the preview interface. This incorporates the optical zoom capability of the attached lens into the preview interaction, eliminating the inconvenience of only seeing a blurry digital magnification effect during preview and only being able to see the optical effect after shooting is complete. Being able to clearly magnify and observe the target details during the preview phase allows users to more precisely compose the shot, confirm whether the subject is in the ideal position, and more accurately select the focus point or check the autofocus effect, significantly improving the success rate of shooting, especially in scenes that require delicate operation such as telephoto and macro photography.
[0063] This effectively leverages the optical magnification capabilities of the add-on lens, ensuring that the magnified image previewed before the user decides to press the shutter button is the true optical quality that the add-on lens will ultimately capture, eliminating the gap between the preview and the final image. For photography enthusiasts and professionals, this provides an experience similar to viewing the magnified focus in the optical or electronic viewfinder of a professional camera, enabling a more professional preview operation even on mobile devices, enhancing confidence and control when shooting with add-on lenses.
[0064] In a possible embodiment, when the additional lens is effectively connected to the electronic device, a function icon of the additional lens is displayed on the shooting preview interface;
[0065] receiving a second input for a function icon of the additional lens;
[0066] In response to the second input, the additional lens is controlled to capture an image.
[0067] Valid connection: The add-on lens successfully establishes a connection with the electronic device, and the electronic device can recognize and use the functions of the add-on lens normally.
[0068] Function icon: An icon representing the additional lens function displayed on the shooting interface of an electronic device. Users click on the icon to enable the additional lens for image capture.
[0069] The device detects the physical connection status of the additional lens with the electronic device in real time. When the additional lens is detected to be in a valid physical connection state, a function icon of the additional lens is displayed on the shooting interface of the electronic device, prompting the user that the additional lens is available. When the user clicks and selects the function icon, the additional lens is controlled to capture an image.
[0070] like Figure 3As shown in the figure, in photo preview mode, when the user selects 0.6x magnification, the electronic device uses the wide-angle camera to capture images in real time. At this time, the electronic device's wide-angle camera is in the working state with the largest field of view and the shortest focal length. Although it can fully preserve the panoramic scene and atmosphere of the concert, due to the optical characteristics of the electronic device's camera, the ability to render details of subjects such as stars on the stage is insufficient, and only the outline of the subject can be displayed.
[0071] When the additional lens is physically connected to the electronic device and is recognized as being in a valid connection state, a magnifying function icon 212 is displayed above the photo mode interface. If the electronic device is currently shooting with a medium or short focal length module such as the main camera or wide-angle lens, the user will be prompted in the interface: "Open the additional lens ultra-clear magnified display function by clicking the icon above."
[0072] like Figure 4 As shown, when a user clicks function icon 212, it becomes highlighted. In response to this action, the accessory lens is activated, begins capturing image data in real time, and temporarily stores the captured image in a cache frame. However, the preview interface still displays the image content captured by the medium and short focal length modules. If the accessory lens is not effectively connected to the electronic device, the corresponding enlarged function icon will be automatically hidden to prevent user error.
[0073] A user brings an electronic device equipped with an add-on lens to a concert. After properly attaching the lens to the device, the device detects that the lens is physically connected and displays a function icon for the lens on the capture interface. To capture high-definition details of the singer on stage, the user taps the icon, and the device controls the lens to capture the image, ultimately achieving the desired concert capture result.
[0074] Therefore, by displaying function icons on the shooting interface, users are clearly informed of the available status of add-on lenses, simplifying the user's operation process of using add-on lenses. Users can quickly and intuitively control the add-on lens for image capture and easily switch between different image display modes, improving the efficiency and smoothness of shooting operations, enhancing the user experience of shooting with add-on lenses, fully utilizing the functional advantages of add-on lenses, and improving the quality of shooting results.
[0075] In a possible embodiment, step 130 may specifically include the following steps:
[0076] Step 410: If the image captured by the additional lens includes a subject image corresponding to the subject area, cropping the image corresponding to the portion of the photographed subject corresponding to the subject area in the image captured by the additional lens; the subject area is determined based on the first input;
[0077] Step 420: Adjust the size of the image corresponding to the portion of the subject captured by the additional lens to obtain an adjusted partial image; and display the adjusted partial image on the subject area of the shooting preview interface based on the position information of the subject area in the shooting preview interface.
[0078] Partial image: The portion of the image corresponding to the subject area that is cropped from the image captured by the attached lens and contains high-definition details of the subject.
[0079] If the image captured by the additional lens already contains the subject image corresponding to the subject area, the system first accurately crops the image captured by the additional lens based on the subject area's position and size information in the shooting preview interface, obtaining a partial image that contains high-definition subject details. Then, based on the subject area's position information in the shooting preview interface, the cropped partial image is accurately overlaid and displayed on the corresponding subject area in the shooting preview interface. Image fusion technology eliminates stitching artifacts, thus capturing both the panoramic scene and the subject's high-definition details.
[0080] For example, at a concert, a user uses an electronic device equipped with an add-on lens to take photos. The electronic device simultaneously displays a shooting preview interface, which fully presents a gorgeous panorama of the stage. The image captured by the add-on lens clearly captures the singer performing passionately in the center of the stage. The user selects the singer as the main subject area in the shooting preview interface. The user detects that the image captured by the add-on lens already contains the singer's main image. The user then crops a partial high-definition image of the singer from the image captured by the add-on lens and accurately overlays it on the singer's position in the shooting preview interface, preserving the grand concert stage scene while allowing the singer's details to be clearly visible.
[0081] Based on the subject area's position in the upcoming capture preview, calculate the ratio between the size of the additional lens' captured partial image and the size of the area to be filled in the capture preview. Based on the ratio, enlarge or reduce the partial image so that the adjusted partial image's size matches the size of the space after removing the original corresponding area in the capture preview.
[0082] Such as Figure 5 As shown, the adjusted partial image 214 is accurately covered and displayed on the main area of the shooting preview interface, thereby filling the area in the shooting preview interface that was removed due to image fusion requirements, and realizing the accurate fusion of the main details captured by the additional lens and the wide-angle panoramic image, which not only retains the panoramic atmosphere but also enhances the presentation of the main details.
[0083] Therefore, according to the position information of the subject area in the shooting preview interface, the partial image is overlaid and displayed on the subject area of the shooting preview interface, thereby achieving efficient fusion of the shooting preview interface and the image captured by the additional lens. Without losing the panoramic scene, the subject details that the user is concerned about are highlighted, the visual expressiveness and information communication effect of the image are improved, and the user's demand for high-quality captured images is met, allowing the user to easily obtain ideal shooting results during the shooting process.
[0084] In addition, in the dual-lens collaborative workflow, when the user touches to select a new subject area, two situations are handled based on the positional relationship between the new subject area and the image currently captured by the additional lens:
[0085] If the new subject area and the current star subject area are both within the image range captured by the additional lens at this moment, the system directly calls the registered image in the additional lens cache frame and extracts the algorithm to locate the new subject area. Without the need for motor movement, the subject area switching and ultra-clear magnification display can be completed. Figure 6 As shown, in response to a first input to a partial photographic object 215a, an enlarged display of the partial photographic object 215b is obtained. When the user selects another partial photographic object, in response to a first input to another partial photographic object 216a, an enlarged display of the partial photographic object 216b is obtained. If the partial photographic object 215a and the other partial photographic object 216a are both located in the picture currently captured by the external lens, the motor does not need to move to perform ultra-clear enlarged display of the next celebrity subject.
[0086] like Figure 7 As shown, in response to a first input on a partial photographic object 215a, an enlarged display of partial photographic object 215b is obtained. When the user selects another partial photographic object, in response to a first input on another partial photographic object 217a, an enlarged display of partial photographic object 217b is obtained. If partial photographic object 215a is far away from another partial photographic object 217a and exceeds the current image capture range of the additional lens, a displacement is first calculated based on the current center position of partial photographic object 217a and the additional lens, and the motor is driven to move the additional lens to the target position. After the motor stabilizes, the additional lens is refocused to obtain a clear new subject area image. Then, an image registration algorithm is used to establish a mapping between the new image and the wide-angle image, and the new subject area is cropped and enlarged according to the magnification ratio. Finally, the processed high-definition subject area image is overlaid on the corresponding position of the wide-angle image, thereby achieving switching and enhanced display of cross-range subject areas.
[0087] In a possible embodiment, before step 130, the following steps may be further included:
[0088] When the image captured by the additional lens does not include a subject image corresponding to the subject area, determining a deviation between the center coordinates of the subject area and the center coordinates of the image captured by the additional lens;
[0089] According to the deviation, the prism in the additional lens is controlled to move so that the image captured by the additional lens includes the main body image corresponding to the main body area.
[0090] Subject image: The image content corresponding to the subject area, that is, the presentation of the object that the user wants to capture clearly in the image.
[0091] Deviation: The difference between the center coordinates of the subject area and the center coordinates of the image captured by the additional lens, which is used to measure the degree of deviation between the center of the subject area and the image captured by the additional lens.
[0092] If the image captured by the additional lens does not include the subject image corresponding to the subject area, an image recognition algorithm is first used to determine the center coordinates of the subject area and the center coordinates of the image captured by the additional lens, and the deviation between the two is calculated. Next, based on the direction and magnitude of the deviation, a control instruction is generated to drive the movement of the prism in the additional lens. Because the direction of prism movement is opposite to the direction of the deviation, adjusting the prism position alters the optical path of the additional lens so that the image captured by the additional lens includes the subject image corresponding to the subject area.
[0093] For example, at a concert, a user uses an electronic device equipped with an add-on lens to capture a scene. In the first image, the user selects the singer in the center of the stage as the subject area. However, the image captured by the add-on lens only captures the dancers on one side of the stage, excluding the singer. After calculating the deviation between the center coordinates of the subject area and the center coordinates of the image captured by the add-on lens, the prism is controlled to move, and the image captured by the add-on lens successfully includes the singer in the capture range. When subsequently fused with the first image, a high-quality image is obtained that combines the overall view with the subject's details, improving the shooting quality and user experience.
[0094] Therefore, according to the deviation amount, the movement of the prism in the additional lens is controlled so that the image captured by the additional lens includes the main image corresponding to the main area. When it is subsequently fused with the first image, a high-quality image with both panoramic view and main details can be obtained, thereby improving the shooting effect and user experience.
[0095] In a possible embodiment, when the image captured by the additional lens does not include the subject image corresponding to the subject area, the step of determining the deviation between the center coordinates of the subject area and the center coordinates of the image captured by the additional lens may specifically include the following steps:
[0096] Determining a lateral deviation and a longitudinal deviation between the center coordinates of the main body area and the center coordinates of the image captured by the additional lens;
[0097] The step of controlling the movement of the prism in the additional lens according to the deviation comprises:
[0098] generating a first motor control instruction according to the lateral deviation to drive the prism in the additional lens to move laterally;
[0099] generating a second motor control instruction according to the longitudinal deviation to drive the prism in the additional lens to move longitudinally;
[0100] Wherein, the moving direction of the prism in the additional lens is opposite to the direction of the deviation.
[0101] Lateral deviation: The horizontal difference between the center coordinates of the subject area and the center coordinates of the image captured by the attached lens.
[0102] Longitudinal deviation: the difference in the vertical direction between the center coordinates of the subject area and the center coordinates of the image captured by the attached lens.
[0103] The first motor control command is generated according to the lateral deviation and is used to drive the prism in the additional lens to move laterally.
[0104] The second motor control command is generated according to the longitudinal deviation and is used to drive the prism in the additional lens to move longitudinally.
[0105] After determining the lateral and longitudinal deviations between the center coordinates of the main area and the center coordinates of the image captured by the additional lens, a first motor control instruction and a second motor control instruction are generated based on these two deviations. The first motor control instruction drives the prism to move laterally based on the lateral deviation, and the second motor control instruction drives the prism to move longitudinally based on the longitudinal deviation, with the prism moving in the opposite direction of the deviation. When the lateral deviation exceeds a first preset threshold, the motor is controlled to drive horizontal movement at a first speed coefficient; when the longitudinal deviation exceeds a second preset threshold, the motor is controlled to drive vertical movement at a second speed coefficient, ensuring that the prism is efficiently and safely adjusted into position.
[0106] In the photo preview and additional lens collaborative workflow, the stage light in the image captured by the additional lens has the corresponding coordinates A(x1,y1) in the wide-angle image after registration, and the corresponding coordinates of the main area are B(x2,y2); the initial position of the motor is set to M(0,0), and the position after the Nth movement is P(hx,hy). Among them, the motor x-axis motion coefficient is The effective stroke is L x μm; the motor y-axis motion coefficient is The effective stroke is L y μm, and Kx and Ky are positive integers greater than 0.
[0107] When x2 > x1, at this time, the motor drives the x-axis to move forward, and the image captured by the additional lens moves up;
[0108] When x2 < x1, at this time, the motor drives the x-axis to move backward, and the image captured by the additional lens moves down.
[0109] When y2 > y1, at this time, the motor drives the y-axis to move forward, and the image of the additional lens moves to the right;
[0110] When y2 < y1, at this time, the motor drives the y-axis to move backward, and the image of the additional lens moves to the left. By means of the motor to realize the movement of the x-axis and y-axis at the same time, the image captured by the additional lens can be adjusted horizontally and vertically to cover the main body area.
[0111] Among them, in the case where the horizontal deviation amount exceeds the first preset threshold, the motor is controlled to drive the horizontal movement at the first speed coefficient; in the case where the vertical deviation amount exceeds the second preset threshold, the motor is controlled to drive the vertical movement at the second speed coefficient; the first speed coefficient and the second speed coefficient are pre-calibrated according to the physical stroke range of the prism in the additional lens.
[0112] The first preset threshold: the critical value of the preset horizontal deviation amount, used to judge whether it is necessary to drive the prism to move horizontally at a specific speed. The second preset threshold: the critical value of the preset vertical deviation amount, used to judge whether it is necessary to drive the prism to move vertically at a specific speed. The first speed coefficient and the second speed coefficient: the speed adjustment coefficients pre-calibrated according to the physical stroke range of the prism in the additional lens, used to control the speed of the motor driving the prism to move.
[0113] Exemplarily, the user selects the lead singer in the upper left corner of the stage as the main body area. It is detected that the center coordinates of the main body area are horizontally deviated 60 pixels to the left relative to the center coordinates of the image captured by the additional lens, exceeding the first preset threshold of 50 pixels, and vertically deviated 20 pixels, not exceeding the second preset threshold of 25 pixels. A first motor control instruction is generated according to the horizontal deviation amount, and the prism is driven to move quickly to the right at the first speed coefficient; since the vertical deviation amount does not exceed the threshold, the prism remains stationary vertically.
[0114] In a possible embodiment, the first input includes a first sub-input and a second sub-input. In response to the first input, a part of the shooting objects in the shooting preview interface is enlarged and displayed, including:
[0115] In response to the first sub-input, determining a portion of the shooting objects in the shooting preview interface;
[0116] receiving a second child input;
[0117] In response to the second sub-input, the portion of the photographed object is magnified and displayed according to the magnification indicated by the second sub-input.
[0118] First sub-input: refers to the initial interaction performed by the user on the shooting preview interface to specify a portion of the shooting object in the shooting preview interface. The first sub-input is used to clearly indicate to the electronic device the specific location or range of the portion of the shooting object that the user wishes to subsequently magnify. The input forms of the first sub-input include but are not limited to:
[0119] Single-touch click: Click directly on the center of the part of the subject that interests you in the preview screen.
[0120] Long press: Press and hold the screen for a while on some subjects.
[0121] Frame selection gesture: Drag your finger on the screen to form a rectangular frame to enclose the part of the subject you want to zoom in on.
[0122] Specific Gestures: Draw a closed outline around part of the subject.
[0123] Partial subject: refers to a specific element or area of the image that the user explicitly specifies through the first sub-input in the shooting preview interface and wishes to zoom in on or capture, for example, a distant building or a person's face.
[0124] Second sub-input: refers to the subsequent interactive action performed by the user after completing the first sub-input to set the magnification ratio. The second sub-input is used to inform the electronic device to what extent the user wishes to magnify the selected portion of the photographed object. The input forms of the second sub-input include:
[0125] Magnification: This is the ratio of the size of the object displayed on the screen when it is magnified, relative to the size of the object in the original capture preview. For example, a 2x magnification means the object appears twice as large on the screen as in the original preview. The magnification is specified by the user using the second sub-input.
[0126] When a user wishes to zoom in on a portion of a subject while viewing the shooting preview interface, they first perform a first sub-input. The electronic device interprets the spatial coordinates or area information of this input in real time, accurately targeting the portion of the subject the user intends to zoom in on. Preparatory actions may be performed at this point, such as slightly adjusting the focus of an attached lens or initially accessing its image data.
[0127] The electronic device responds to the second sub-input and interprets the magnification command it represents. It then accurately crops and scales the high-quality image data based on the portion of the subject and magnification selected by the user. The electronic device dynamically renders and displays the processed image on the shooting preview interface, ensuring that the core information of the magnified image is directly derived from the optical imaging of the attached lens.
[0128] Through intuitive, continuous user operation, the attached lens captures high-quality images of the selected area and displays them at a specified magnification. Separating the primary and secondary sub-inputs allows users to clearly and step-by-step express their complex intentions, significantly reducing the likelihood of misoperation and enhancing control and precision. Users no longer rely on preset, fixed magnification levels; they can dynamically adjust to the most appropriate magnification for their observation needs, providing a smoother and more natural experience.
[0129] Since the magnified display is completely based on the image captured by the add-on lens and the magnification is set directly by the user, the magnified effect the user sees in the preview stage is highly consistent with the actual photo or video effect finally taken using the add-on lens, eliminating the deviation between the preview and the result.
[0130] Therefore, through clear target area selection and flexible magnification control, combined with the high-quality image source provided by the additional lens, users can achieve a highly controllable, what-you-see-is-what-you-get local optical magnification experience in the shooting preview interface, greatly enhancing the convenience and accuracy of using external lenses and the predictability of the final imaging effect.
[0131] Wherein, when the second sub-input is a pressing operation, the magnification is determined according to the pressing intensity of the pressing operation;
[0132] When the second sub-input is a sliding operation, the magnification is determined according to a sliding trajectory of the sliding operation;
[0133] In a case where the second sub-input is a zoom operation, the magnification is determined according to a zoom distance of the zoom operation.
[0134] Second sub-input: user operation input on a partial screen, including different types of operations such as pressing, sliding, and zooming.
[0135] Press operation: An operation performed by the user by applying different intensities of pressure on the screen of an electronic device. The amount of pressure reflects the user's need for the degree of adjustment of the local image.
[0136] Sliding operation: An operation performed by a user by sliding his finger on the screen of an electronic device. The length and direction of the sliding track are used to determine the magnification of the local image.
[0137] Zoom operation: The operation performed by the user on the screen of an electronic device by pinching and closing the fingers. The pinching distance is used to determine the zooming in or out ratio of the local image.
[0138] Magnification: A parameter determined based on different types of second sub-input operations performed by the user, used to adjust the display effect of a partial screen.
[0139] When the user performs the second sub-input operation, the type of the second sub-input is first identified. If it is a pressing operation, the pressure sensor of the electronic device is used to detect the intensity of the user pressing the screen, and the corresponding relationship between the pressing intensity and the magnification is pre-set. The corresponding magnification is determined according to the detected intensity. The greater the pressing intensity, the higher the magnification, and the greater the degree of magnification of the local image. If it is a sliding operation, the length and direction of the finger sliding trajectory are recorded, and the sliding trajectory information is converted into a magnification according to a preset algorithm. For example, the longer the sliding trajectory, the greater the magnification. If it is a zoom operation, the touch sensor of the electronic device is used to obtain the finger opening and closing distance, and according to the set rules, the finger opening and closing distance is mapped to the magnification. The greater the finger opening and closing distance, the higher the magnification of the local image.
[0140] During video capture or processing, multiple interactive methods are provided to adjust the magnification of the ultra-clear portion of the captured object, and ultimately complete image cropping and fusion, as follows:
[0141] When the user touches the ultra-clear subject area on the screen, the pressure sensor of the electronic device senses the pressure strength in real time. By default, the partial subject captured by the attached lens is displayed at a 2x magnification. If the user reduces the touch strength, the magnification of the partial subject will also decrease as the pressure strength decreases; when the pressure strength drops to 0, the magnification reaches the minimum value of 1x. At this time, although the partial subject is reduced, its clarity is still significantly better than the original partial subject captured by the electronic device camera thanks to the high-definition acquisition capability of the attached lens. If the user increases the touch strength, the magnification of the partial subject will gradually increase as the pressure strength increases; when the pressure strength reaches the set maximum value, the magnification reaches 4x. After the magnification adjustment is completed, the picture is cropped, and the processed ultra-clear partial subject is merged with the wide-angle picture.
[0142] like Figure 8 As shown, the user selects a portion of the photographed object 218a through the first sub-input. When the second sub-input is a pressing operation, the magnification ratio is determined according to the pressing strength of the pressing operation, and the portion of the photographed object is magnified and displayed based on the magnification ratio to obtain the magnified portion of the photographed object 218b.
[0143] When the user makes a circular gesture in the ultra-high-definition subject area, a yellow magnification adjustment frame will instantly appear around the subject. By sliding around the adjustment frame, the magnification can be precisely set: when the user's hand rotates clockwise along the frame, the magnification gradually decreases from 4x to 1x; when the user's hand rotates counterclockwise along the frame, the magnification gradually increases from 1x to 4x. During the user's operation, the system responds to the gesture changes and updates the magnification in real time. After the magnification is adjusted, the image captured by the additional lens is cropped, and the processed part of the subject is merged with the wide-angle image to ensure that the final image presents both a panoramic view and high-definition details of the subject.
[0144] like Figure 9 As shown, the user selects a portion of the photographed object 219a through the first sub-input. When the second sub-input is a sliding operation, the magnification is determined according to the sliding trajectory of the sliding operation, and the portion of the photographed object is magnified and displayed based on the magnification, thereby obtaining the enlarged portion of the photographed object 219b.
[0145] When a user performs a two-finger operation in the ultra-high-definition subject area, the system adjusts the magnification ratio based on the two-finger movement: if the user pinches inward, the magnification ratio gradually decreases from 4x to 1x, and the ultra-high-definition portion of the subject shrinks accordingly; if the user spreads two fingers outward, the magnification ratio gradually increases from 1x to 4x, and the ultra-high-definition portion of the subject is simultaneously enlarged. During the two-finger operation, the system captures the changes in the distance between the fingers in real time and dynamically adjusts the magnification ratio. After the adjustment is completed, the image is cropped and the optimized ultra-high-definition portion of the subject is merged with the wide-angle image to output a high-quality composite image.
[0146] like Figure 10 As shown, the user selects a portion of the photographed object 2110a through the first sub-input. When the second sub-input is a zoom operation, the magnification is determined according to the zoom distance of the zoom operation, and the portion of the photographed object is magnified and displayed based on the magnification, thereby obtaining the enlarged portion of the photographed object 2110b.
[0147] Therefore, a variety of methods for determining the magnification based on different user operation methods are provided, which enriches the interaction methods between users and the shooting screen, enables users to fine-tune the display effect of local screens with more natural and convenient operations, meets the diverse needs of different users in different shooting scenarios, improves the flexibility and fun of shooting operations, and enhances user experience.
[0148] In a possible embodiment, when the additional lens is an optical zoom lens, the optical zoom focal length is determined according to the magnification ratio; and the image corresponding to the portion of the photographed object that is magnified and displayed is obtained based on the image captured by the additional lens at the optical zoom focal length.
[0149] An add-on lens specifically refers to an external lens with optical zoom capability. Its core function is to change the optical zoom focal length by physically moving the internal lens group, thereby achieving lossless changes in viewing angle and image size. Based on the user-set magnification, the system combines the position of a portion of the subject within the frame, sensor characteristics, and the physical performance parameters of the optical zoom lens. Using an internal pre-set mapping model or algorithm, the system calculates the optical zoom focal length required to precisely match the desired magnification.
[0150] After the calculation is complete, the electronic device sends a command to the optical zoom attachment lens through the connection interface, driving its internal motor or mechanical structure to move the lens group to the corresponding physical position, actually adjusting the optical focal length of the lens to the target optical zoom focal length. Subsequently, the system mainly or completely utilizes the high-resolution original image data captured by the optical zoom lens at this specific optical zoom focal length. For the partial area of the subject selected by the user, the system performs cropping and necessary adaptation processing based on this high-quality optical zoom image data, and finally realizes the magnified display of this part of the subject on the shooting preview interface. The core of the entire process is that the magnified image displayed directly comes from the optical information captured by the attachment lens at the physical focal length corresponding to the magnification required by the user.
[0151] If the additional lens supports optical zoom, the digital magnification ratio can be dynamically mapped to the optical zoom ratio. It is known that the 35mm equivalent focal length of the wide-angle camera of an electronic device is a fixed value, and the 35mm equivalent focal length of the additional lens ranges from 56mm to 200mm. When the user selects the default magnification of 2x, the system will drive the zoom motor of the additional lens to move the lens focal length from the initial 56mm to 112mm. 56mm corresponds to 2x optical zoom of the wide-angle focal length, and 112mm corresponds to 4x optical zoom, so as to achieve coordinated optimization of physical focal length adjustment and digital magnification, while enhancing the details of the subject while maintaining picture clarity.
[0152] The magnified portion of the subject that the user sees on screen boasts clarity, detail, and image quality identical to that of a final photo captured with the same optical zoom lens at the same physical focal length, because the preview view and the final image share the same high-quality optical imaging source. This fundamentally resolves the blur, increased noise, and loss of detail typically associated with relying on digital magnification during preview, enabling users to achieve exceptional accuracy and confidence when composing, confirming focus, and examining subject details. Lossless optical magnification is achieved during the preview phase.
[0153] At the same time, the user's intuitive magnification requirements are automatically and precisely converted into physical focal length adjustments for the optical lens, greatly simplifying the operational complexity of professional-grade optical zoom and improving ease of use. Ultimately, this high-quality, what-you-see-is-what-you-get optical zoom preview experience significantly enhances the user's predictability and overall satisfaction with the shooting results, fully unleashing the hardware potential of optical zoom add-on lenses.
[0154] In a possible embodiment, after step 130, the following steps may be further included:
[0155] In response to the shooting operation, a target file is shot and obtained, where the target file includes at least one of the following: an image, a video;
[0156] When the editing interface of the target file is displayed, receiving a fourth input;
[0157] In response to the fourth input, display parameters of the portion of the photographed objects in the target file are updated; wherein the display parameters include at least one of the following: display outline, filter parameters, and display special effects.
[0158] The target file refers to an image or video file generated by the user through a shooting operation, and its content includes a portion of the shooting object previously magnified and displayed in step 130 .
[0159] The editing interface is a graphical operating environment that displays the target file and provides editing functions. The fourth input is the user's touch, gesture, or parameter adjustment operations on the target file within this interface. Display parameters refer to adjustable properties that control the visual presentation of certain subjects within the target file. Display outlines refer to the edge enhancement effect of the subject area; filter parameters refer to the color / stylization processing coefficients applied to the subject; and display effects refer to dynamic visual effects superimposed on the subject.
[0160] When the user opens the target file in the editing interface, the system automatically identifies some of the predefined subjects in the file. After receiving the fourth input, the system parses the input type: if it is an outline drawing gesture, a vector path that fits the edge of the subject is generated and rendered as a display outline; if it is a filter parameter adjustment, the color mapping matrix of the subject area is adjusted in real time; if it is a special effect selection, particle animation is superimposed on the subject. All parameter updates only affect the layers where some of the subjects are located, and independent processing of the subject and background is achieved through image segmentation and layered rendering technology. For example, in video editing, the system applies the same filter parameters to the subject area frame by frame to ensure the consistency of the dynamic effect.
[0161] The filter library interface, shape library interface and special effects library interface are displayed on the shooting interface of the electronic device for users to select editing materials.
[0162] like Figure 11As shown, after clicking the filter option, the preset filter group will be displayed below the photo, including but not limited to the following effects: Happy filter: enhances the brightness of the picture by increasing the saturation and contrast, suitable for high-light scenes such as concerts and celebrations; Natural filter: uses low saturation and softening processing to restore the true color of the scene, suitable for natural scenery or portrait close-ups; Sad filter: reduces brightness and adds cool colors to create a low atmosphere, used for narrative photography.
[0163] like Figure 12 As shown, after clicking the magnifying frame shape option, a variety of geometric outline templates are provided: Circular frame: generates smooth circular edges, preferably used to highlight the character's face or subject close-up; Jagged frame: enhances the mechanical feel through irregular edges, suitable for industrial themes such as auto shows and technological products; Love frame: generates a heart-shaped outline, used for emotional expression scenes.
[0164] like Figure 13 As shown, after clicking the zoom effect option, a dynamic background synthesis function is provided: Fireworks effect: superimpose particle fireworks animation on the edge of the main zoom area to simulate special moments such as New Year's Eve and celebrations; Lightning effect: create thunderstorm weather or tense atmosphere through irregular light effects and contrast changes; Daylight effect: add halo and scattering effects to the background to enhance the brightness of sunny days or cheerful scenes.
[0165] By providing a variety of filters, shapes, and special effects, users are given rich image editing capabilities, enabling them to personalize their images based on the shooting scene and their own creativity. This meets their diverse creative needs, enhances the artistry and aesthetic quality of their work, and strengthens their creative expression and participation in the shooting process. Without manually selecting the subject, users can directly control the visual effects of the core object through the fourth input. For example, they can add a glowing outline to a person to make them stand out against a complex background, or enhance the color saturation of a macro shot of an insect without affecting the surrounding hue. Users can quickly create short videos with the subject flashing in focus, or create presentation images with a blurred background and a highlighted product outline, significantly lowering the technical barriers to professional-level zone editing.
[0166] In a possible embodiment, after step 130, the following steps may be further included:
[0167] In response to the shooting operation, a dynamic image is captured; the dynamic image includes a main image area and a background image area, the image of the background image area is obtained based on a first video captured by the camera of the electronic device, and the image of the main image area is obtained based on a second video captured by the additional lens;
[0168] receiving a third input of the dynamic image;
[0169] In response to the third input, a dynamic image corresponding to a target image area is displayed according to input parameters of the third input; wherein the target image area includes at least one of the following: the background image area, the main image area.
[0170] A dynamic image refers to a video file or image sequence generated by a shooting operation, composed of a subject image area and a background image area. The subject image area refers to the area of the video stream corresponding to the core object captured by the user using the attached lens, and its image data is derived from the second video. The background image area refers to the scene portion of the dynamic image excluding the subject, and its image data is derived from the first video.
[0171] After the user zooms in on a portion of the subject in the preview interface, the capture operation is triggered. The camera continuously records the first video to capture the panoramic background, while the attached lens simultaneously records the second video to focus on the user's previously specified subject. The first and second videos are synthesized into a dynamic image in real time using timestamp alignment and image fusion algorithms. The subject occupies the main image area, while the surrounding environment forms the background image area. When the user replays this dynamic image, they can perform a third input to focus on a specific area.
[0172] By integrating video and image information collected by different devices, dynamic images with unique presentation effects are generated. This not only preserves the dynamic background of the complete scene, but also highlights the high-definition dynamic details of the subject. Compared with traditional single-angle video shooting, this provides users with more layered and visually impactful image content, enriching the expression of shooting results, meeting users' demand for diverse, high-quality image creation, and enhancing their creative expression space and the quality of their works during the shooting process.
[0173] Specifically, in response to the third input to the background image area, the dynamic picture of the background image area is played according to the first video and the main image area is kept statically displayed; in response to the third input to the main image area, the dynamic picture of the main image area is played according to the second video and the background image area is kept statically displayed; in response to the third input to the main image area and the background image area, the dynamic picture of the background image area is played according to the first video and the dynamic picture of the main image area is played according to the second video.
[0174] When a third input is received from the user regarding the main image area, the input location is identified as belonging to the main image area. Subsequently, the dynamic playback of the background image area is paused, and the current frame is kept static. Simultaneously, a segment relevant to the current moment is extracted from the second video and played in the main image area, creating a visual effect in which the main image area is in dynamic motion while the background area is static.
[0175] like Figure 14 As shown, at a celebrity concert, a user uses an electronic device to capture and generate dynamic images. When the celebrity appears on stage, the user touches the celebrity's main image area on the screen. In response to this input, the dynamic playback of the background image area is paused, preserving the audience's still image. Simultaneously, a three-second dynamic clip around the celebrity's entrance is extracted from the second video and played in the main image area, thereby displaying the dynamic image corresponding to target image area 140. This shows the exciting dynamic scene of the celebrity ascending from the stage and beginning to sing, creating a strong visual contrast effect.
[0176] In this way, the audience's attention can be focused on the dynamic performance of the subject. Through the static contrast of the background, the subject's movement details and expression changes can be highlighted, the drama and expressiveness of the picture can be enhanced, and a unique visual experience can be provided for users. It is especially suitable for capturing key moments and wonderful performances.
[0177] When a third input is detected, the input location is determined to be within the background image area. The dynamic playback of the main image area is then paused, maintaining the current frame as a static display. Simultaneously, a corresponding segment is extracted from the first video and played back in the background image area, creating a visual effect where the main image area is static while the background area is in dynamic motion.
[0178] like Figure 15 As shown, in a scene shot at an aquarium, a user-generated dynamic image depicts a dolphin performance. At the moment a dolphin leaps high, the user touches background image area 150 on the screen. In response to this input, the dynamic playback of the main image area is paused, maintaining the frozen image of the dolphin leaping. Simultaneously, a dynamic segment of the audience area is extracted from the first video, and a dynamic image of the audience cheering and applauding in unison is played in background image area 150, creating an interesting contrast between the static subject and the dynamic background.
[0179] Therefore, by contrasting the dynamic changes of the background with the static freeze frame of the subject, the atmosphere of the scene and the dynamic sense of the environment can be highlighted, while retaining the wonderful moments of the subject, creating creative visual effects for users. It is suitable for recording scenes with a strong environmental atmosphere.
[0180] When a third user input is received for the subject image area and the background image area, the system recognizes that the input covers both areas. Corresponding segments are simultaneously extracted from the first and second videos, and dynamic images of these two segments are played in the background image area and the subject image area, respectively, to achieve a simultaneous dynamic playback effect of the subject and background.
[0181] like Figure 16As shown, in a prairie scene, a user-generated dynamic image depicts a woman on the grassland. When the user simultaneously touches both the woman's subject image area 160 and the background image area 160 on the screen, a dynamic clip of the grassland being blown by the wind is extracted from the first video and played in the background image area in response to a third input to the dynamic image. Simultaneously, a dynamic clip of the woman touching her forehead, with her hair blown by the wind, is extracted from the second video and played in the subject image area. The result is a harmonious image with both the subject and background full of movement.
[0182] In this way, the advantages of dual-lens shooting can be fully utilized to simultaneously display the dynamic details of the subject and background, making the picture more vivid and realistic, and enhancing the audience's sense of immersion. It is suitable for recording natural scenery, interactions between people and the environment, and other scenes that require a comprehensive display of dynamic scenes.
[0183] By empowering users with autonomous control over the display of dynamic images, receiving third-party input and dynamically switching the display state based on the input position, users can flexibly adjust the presentation of dynamic images based on their viewing needs and aesthetic preferences. This interactive approach enhances the interaction between users and their captured content, increasing the fun and engagement of viewing content, meeting their diverse viewing needs, and further optimizing their experience in image creation and appreciation.
[0184] In a possible embodiment, the target file includes a video. After the target file is obtained by shooting, the following steps may be further included:
[0185] receiving a fifth input;
[0186] In response to the fifth input, displaying a video editing interface of the target file, the video editing interface including a first video display area corresponding to the portion of the photographed objects, a second video display area corresponding to other photographed objects except the portion of the photographed objects, and an editing area;
[0187] receiving a sixth input;
[0188] In response to the sixth input, the video corresponding to the first video display area is edited, or the video corresponding to the second video display area is edited.
[0189] The target file specifically refers to a video file generated by the user, and its content includes part of the shooting object defined in step 130 and other shooting objects.
[0190] Editing area: The area in the video processing interface used to display video editing functions, such as cropping, adding filters, special effects creation, and other editing tools, to facilitate users to personalize videos.
[0191] The fifth input is a touch command executed by the user on the target file, which is used to trigger the video editing interface. The interface includes: a first video display area, a second video display area, and an editing area. The sixth input is a touch operation performed by the user on the editing interface.
[0192] In response to the fifth input, the video stream is separated into two logical layers using pre-stored subject position metadata. The layers corresponding to some of the subjects are rendered to the first video display area, and the background layers corresponding to other subjects other than the aforementioned subjects are rendered to the second video display area. The two areas support synchronized / independent playback control. When the user operates the function controls in the editing area through the sixth input, the target area is automatically associated according to the input focus:
[0193] When a user selects an editing function in the editing area, the corresponding video is processed according to the function type. For example, the crop function uses an image cropping algorithm to change the video frame range, and the filter function uses a color adjustment algorithm to change the video hue. When the user performs a split operation, the target file is split into a second video corresponding to the remaining subjects and a first video corresponding to the remaining subjects, based on the video capture device identifier. The album display interface is then rearranged to make the playback, editing, and preview functions of different videos independent of each other, making it easier for users to operate them separately. Finally, users can use the export function to save the processed videos to the device storage.
[0194] In the album interface, when the user clicks the "Split" option in the settings menu in the upper right corner of the video playback window, the enlarged target file collected through the collaborative capture of the dual lenses will be decoupled and separated into two independent video streams: one video stream is the wide-angle video stream captured by the electronic device camera, and the other video stream is the telephoto video stream captured by the additional lens.
[0195] like Figure 17 As shown, the album display interface is automatically restructured into two functional areas: the upper half is a dual-video parallel playback area, displaying a first video display area 1701 corresponding to a portion of the captured subject. The first video display area 1701 is used to play the high-definition main video captured by the additional lens, and displays a second video display area 1702 corresponding to other captured subjects. The second video display area 1702 is used to play the panoramic video captured by the wide-angle lens. The two playback windows are equipped with independent play and pause controls. The lower half is a dual-track video editing area. The upper track displays frame sequence thumbnails of the additional lens video, and the lower track displays frame sequence thumbnails of the wide-angle lens video. Users can independently remove redundant frames in either track by dragging and dropping. After editing is completed, users can save the processed two videos to the device storage separately through the "Export Wide-Angle Video" and "Export Additional Lens Video" options in the settings menu.
[0196] After a concert, a user used an attached lens to shoot a live video. When the video processing interface of the electronic device was opened, the first playback area in the interface was playing the second video corresponding to the subjects other than some of the subjects captured by the camera, fully presenting the gorgeous stage panorama of the concert and the lively scene of the audience; the second playback area was playing the first video corresponding to some of the subjects captured by the attached lens, clearly showing the wonderful performance details of the singers on the stage. The user wanted to split the video shot by the attached lens and the video shot at a wide angle, so he clicked the "Split" button in the settings menu in the upper right corner of the video. In response to the click operation, the previously enlarged target file was split into two independent videos, corresponding to the second video corresponding to the subjects other than some of the subjects captured by the wide-angle lens and the first video corresponding to some of the subjects captured by the attached lens.
[0197] Accordingly, the album display interface changes. The upper part becomes the video playback area, which is further divided into the video playback area for the additional lens and the wide-angle lens video playback area. Users can independently play and pause the videos in the two areas. The lower part is the video editing and preview area, which is also divided into the video frame preview area and editing area for the additional lens, and the video frame preview area and editing area for the wide-angle lens. Users can independently perform frame culling operations on the videos captured by each lens in these two areas to remove unsatisfactory video frames. Finally, the user clicks the "Export Wide-Angle Video" and "Export Additional Lens Video" options under Settings to export the split and edited videos and save them to the device album.
[0198] Therefore, by providing an intuitive and powerful video processing interface, users can clearly distinguish and operate videos captured by different devices. Through independent playback and editing areas, users can personalize panoramic videos and detailed videos to meet diverse video editing needs. The video splitting function allows users to flexibly manage shooting materials, facilitating subsequent further creation or sharing of specific videos. Independent editing functions such as frame culling enhance the sophistication of video processing, helping users obtain higher-quality video works, effectively improving the efficiency and experience of user video processing, and enhancing the practicality and professionalism of electronic devices in video shooting and processing.
[0199] Users can independently adjust the visual effects of the subject and environment, avoiding the tedious frame-by-frame cutout process of traditional video editing, ensuring spatial accuracy of parameter adjustments. The simultaneous display of two areas provides an intuitive comparative preview, and combined with centralized control of the editing area, it significantly reduces the complexity of multi-track operations, significantly improving the efficiency and quality of professional-grade video creation.
[0200] In a possible embodiment, after step 130, the following steps may be further included:
[0201] receiving a seventh input on the shooting preview interface;
[0202] In response to the seventh input, the enlarged display of the portion of the photographed object is updated.
[0203] The seventh input refers to a new touch operation performed by the user on the capture preview interface while the image is already in a magnified state. Some subjects specifically refer to the core object currently being magnified, whose image data is generated based on images captured by the attached lens. Updating the magnified display means terminating the magnified state of the current object based on user instructions and identifying another subject as the new magnified subject in the preview interface.
[0204] While a portion of a photographed subject is being zoomed in, if the user triggers the seventh input elsewhere in the preview interface, the system interprets the coordinates of that input in real time to determine the user's newly designated target location. Using an image recognition algorithm, a new portion of the subject is dynamically delineated around that location. The zoomed-in display of the original subject is then terminated, and the newly identified area is zoomed in at the same or inherited magnification, based on the image stream captured by the attached lens.
[0205] Users can dynamically switch their observation focus without exiting zoom mode. This is achieved through real-time target repositioning and lens collaboration, simplifying the complex reconstruction process into an intuitive click / swipe. This is especially suitable for scenes that require quick attention shifts, such as sports tracking and activity recording. It greatly improves the flexibility and controllability of the shooting preparation stage and enhances the operational efficiency of multi-target shooting scenes.
[0206] In an embodiment of the present application, a shooting preview interface corresponding to a camera of an electronic device is displayed. In response to a first input to the shooting preview interface, a portion of the shooting subject in the shooting preview interface is magnified and displayed. The image corresponding to the magnified portion of the shooting subject is obtained based on an image captured by an additional lens. The clarity of the portion of the shooting subject after optical magnification by the additional lens can be directly seen on the preview interface, seamlessly integrating the optical zoom capability of the additional lens into the preview interaction, and providing clarity and detail that is superior to simply relying on digital magnification of the main camera image. In this way, the main details of the portion of the shooting subject are preserved while taking into account the complete shooting scene.
[0207] The interactive method provided in the embodiment of the present application can be executed by an interactive device. In the embodiment of the present application, the interactive device provided in the embodiment of the present application is described by taking the interactive method executed by the interactive device as an example.
[0208] Figure 18 1800 is a block diagram of an interactive device provided in an embodiment of the present application. The device 1800 includes:
[0209] Display module 1810, used to display the shooting preview interface corresponding to the camera of the device;
[0210] Receiving module 1820, configured to receive a first input to the shooting preview interface;
[0211] The display module 1810 is further configured to, in response to the first input, enlarge and display a portion of the photographed object in the shooting preview interface; wherein the image corresponding to the enlarged and displayed portion of the photographed object is obtained based on the image captured by the additional lens.
[0212] In a possible embodiment, the first input includes a first sub-input and a second sub-input, and the display module 1810 is specifically configured to:
[0213] In response to the first sub-input, determining a portion of the shooting objects in the shooting preview interface;
[0214] Receiving module 1820, configured to receive a second sub-input;
[0215] The display module 1810 is configured to, in response to the second sub-input, display the portion of the photographed object in an enlarged manner according to the magnification indicated by the second sub-input.
[0216] In a possible embodiment, when the second sub-input is a pressing operation, the magnification is determined according to the pressing intensity of the pressing operation;
[0217] When the second sub-input is a sliding operation, the magnification is determined according to a sliding trajectory of the sliding operation;
[0218] In a case where the second sub-input is a zoom operation, the magnification is determined according to a zoom distance of the zoom operation.
[0219] In a possible embodiment, the apparatus 1800 may further include:
[0220] A determination module is configured to determine, when the additional lens is an optical zoom lens, the optical zoom focal length according to the magnification ratio; the image corresponding to the portion of the photographed object that is magnified and displayed is obtained based on the image captured by the additional lens at the optical zoom focal length.
[0221] In a possible embodiment, the display module 1810 is further configured to display a function icon of the additional lens on the shooting preview interface when the additional lens is effectively connected to the electronic device;
[0222] The device 1800 may further include a control module:
[0223] The receiving module 1820 is configured to receive a second input of a function icon of the additional lens;
[0224] The control module is configured to receive and control the additional lens to capture images in response to the second input.
[0225] In a possible embodiment, the apparatus 1800 may further include:
[0226] a shooting module, configured to capture a dynamic image in response to a shooting operation; the dynamic image comprising a main image area and a background image area, wherein the image of the background image area is obtained based on a first video captured by the camera of the electronic device, and the image of the main image area is obtained based on a second video captured by the additional lens;
[0227] The receiving module 1820 is further configured to receive a third input of the dynamic image;
[0228] The display module 1810 is further configured to display a dynamic image corresponding to a target image area in response to the third input according to input parameters of the third input; wherein the target image area includes at least one of the following: the background image area and the main image area.
[0229] In a possible embodiment, the shooting module is further configured to shoot and obtain a target file in response to a shooting operation, where the target file includes at least one of the following: an image, a video;
[0230] The receiving module 1820 is further configured to receive a fourth input when the editing interface of the target file is displayed;
[0231] The apparatus 1800 may further include:
[0232] An updating module is configured to update display parameters of the portion of the photographed objects in the target file in response to the fourth input; wherein the display parameters include at least one of the following: display outline, filter parameters, and display special effects.
[0233] In a possible embodiment, the receiving module 1820 is further configured to receive a fifth input;
[0234] The display module 1810 is further configured to display, in response to the fifth input, a video editing interface for the target file, the video editing interface including a first video display area corresponding to the portion of the photographed objects, a second video display area corresponding to other photographed objects other than the portion of the photographed objects, and an editing area;
[0235] The receiving module 1820 is further configured to receive a sixth input;
[0236] The apparatus 1800 may further include:
[0237] An editing module is configured to edit the video corresponding to the first video display area or the video corresponding to the second video display area in response to the sixth input.
[0238] In a possible embodiment, the receiving module 1820 is further configured to receive a seventh input on the shooting preview interface;
[0239] The display module 1810 is further configured to update the enlarged display of the portion of the photographed object in response to the seventh input.
[0240] In an embodiment of the present application, by receiving a first input of a main body area in a first picture, the main body area that the user wants to display in detail is determined. In response to the first input, the first picture and the second picture are fused according to the position information of the main body area in the first picture. The first picture is captured by a camera of an electronic device, and the second picture is captured by an additional lens coaxially aligned with the camera. Since the focal length of the additional lens when capturing the second picture is greater than the focal length of the camera when capturing the first picture, the camera of the electronic device captures the first picture containing the entire shooting scene by virtue of its wide-angle characteristics, and the additional lens captures the second picture with high-definition details by virtue of its telephoto advantage. The first picture containing the entire shooting scene and the second picture with high-definition details are fused, and the image information of the first picture and the second picture can be integrated and processed to synthesize a third picture containing a panorama and a clear main body area. While ensuring the clarity of the picture and the details of the main body, the complete shooting scene can be taken into account, thereby improving the picture quality of the captured content.
[0241] The interactive device in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (Ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (Personal Digital Assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (Personal Computer, PC), a television (Television, TV), an ATM or a self-service machine, etc., and the embodiment of the present application does not specifically limit it.
[0242] The interactive device of the embodiment of the present application may be a device having an action system. The action system may be an Android action system, an iOS action system, or other possible action systems, which are not specifically limited in the embodiment of the present application.
[0243] The interactive device provided in the embodiment of the present application can implement each process implemented in the above method embodiment. To avoid repetition, it will not be described here.
[0244] Alternatively, as Figure 19 As shown, an embodiment of the present application also provides an electronic device 1910, including a processor 1911, a memory 1912, and a program or instruction stored in the memory 1912 and executable on the processor 1911. When the program or instruction is executed by the processor 1911, each step of any of the above-mentioned interaction method embodiments is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0245] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0246] Figure 20 A schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
[0247] The electronic device 2000 includes, but is not limited to, a radio frequency unit 2001, a network module 2002, an audio output unit 2003, an input unit 2004, a sensor 2005, a display unit 2006, a user input unit 2007, an interface unit 2008, a memory 2009, and a processor 2010. The electronic device 2000 is connected to an additional lens, and the additional lens can be controlled by the processor 2010.
[0248] Those skilled in the art will understand that the electronic device 2000 may also include a power source (such as a battery) to supply power to each component, and the power source may be logically connected to the processor 2010 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system. Figure 20 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be repeated here.
[0249] The display unit 2006 is used to display a shooting preview interface corresponding to the camera of the device;
[0250] The user input unit 2007 is used to receive a first input to the shooting preview interface;
[0251] The display unit 2006 is further configured to, in response to the first input, enlarge and display a portion of the photographic object in the shooting preview interface; wherein the image corresponding to the enlarged and displayed portion of the photographic object is obtained based on the image captured by the additional lens.
[0252] Optionally, the first input includes a first sub-input and a second sub-input, and the processor 2010 is configured to determine a portion of the shooting object in the shooting preview interface in response to the first sub-input;
[0253] The user input unit 2007 is further configured to receive a second sub-input;
[0254] The display unit 2006 is further configured to, in response to the second sub-input, display the portion of the photographed object in an enlarged manner according to the magnification indicated by the second sub-input.
[0255] Optionally, when the second sub-input is a pressing operation, the magnification is determined according to the pressing strength of the pressing operation; when the second sub-input is a sliding operation, the magnification is determined according to the sliding trajectory of the sliding operation; when the second sub-input is a zoom operation, the magnification is determined according to the zoom distance of the zoom operation.
[0256] Optionally, the processor 2010 is further configured to determine the optical zoom focal length according to the magnification ratio when the additional lens is an optical zoom lens; the image corresponding to the portion of the photographed object that is magnified and displayed is obtained based on the image captured by the additional lens with the optical zoom focal length.
[0257] Optionally, the display unit 2006 is further configured to display a function icon of the additional lens on the shooting preview interface when the additional lens is effectively connected to the electronic device;
[0258] The user input unit 2007 is further configured to receive a second input for the function icon of the additional lens;
[0259] The processor 2010 is further configured to receive a response to the second input and control the additional lens to capture an image.
[0260] Optionally, the processor 2010 is further configured to capture a dynamic image in response to a capture operation; the dynamic image includes a main image area and a background image area, the image of the background image area is obtained based on a first video captured by the camera of the electronic device, and the image of the main image area is obtained based on a second video captured by the additional lens;
[0261] The user input unit 2007 is further configured to receive a third input for the dynamic image;
[0262] The display unit 2006 is further configured to display a dynamic image corresponding to a target image area in response to the third input according to input parameters of the third input; wherein the target image area includes at least one of the following: the background image area and the main image area.
[0263] Optionally, the processor 2010 is further configured to, in response to a shooting operation, shoot and obtain a target file, where the target file includes at least one of the following: an image, a video;
[0264] The user input unit 2007 is further configured to receive a fourth input when the editing interface of the target file is displayed;
[0265] The processor 2010 is further configured to update, in response to the fourth input, display parameters of the portion of the photographed objects in the target file; wherein the display parameters include at least one of the following: display outline, filter parameters, and display special effects.
[0266] Optionally, the user input unit 2007 is further configured to receive a fifth input;
[0267] The display unit 2006 is further configured to display, in response to the fifth input, a video editing interface for the target file, the video editing interface including a first video display area corresponding to the portion of the photographed objects, a second video display area corresponding to other photographed objects other than the portion of the photographed objects, and an editing area;
[0268] The user input unit 2007 is further configured to receive a sixth input;
[0269] The processor 2010 is further configured to edit the video corresponding to the first video display area or edit the video corresponding to the second video display area in response to the sixth input.
[0270] Optionally, the user input unit 2007 is further configured to receive a seventh input on the shooting preview interface;
[0271] The display unit 2006 is further configured to update the enlarged display of the portion of the photographed object in response to the seventh input.
[0272] In an embodiment of the present application, a shooting preview interface corresponding to a camera of an electronic device is displayed. In response to a first input to the shooting preview interface, a portion of the shooting subject in the shooting preview interface is magnified and displayed. The image corresponding to the magnified portion of the shooting subject is obtained based on an image captured by an additional lens. The clarity of the portion of the shooting subject after optical magnification by the additional lens can be directly seen on the preview interface, seamlessly integrating the optical zoom capability of the additional lens into the preview interaction, and providing clarity and detail that is superior to simply relying on digital magnification of the main camera image. In this way, the main details of the portion of the shooting subject are preserved while taking into account the complete shooting scene.
[0273] It should be understood that in an embodiment of the present application, the input unit 2004 may include a graphics processing unit (GPU) 20041 and a microphone 20042, and the graphics processor 20041 processes image data of a static picture or video image obtained by an image capture device (such as a camera) in a video image capture mode or an image capture mode. The display unit 2006 may include a display panel 20061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 2007 includes a touch panel 20071 and at least one of the other input devices 20072. The touch panel 20071 is also called a touch screen. The touch panel 20071 may include two parts: a touch detection device and a touch controller. Other input devices 20072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and an action bar, which will not be repeated here. The memory 2009 may be used to store software programs and various data, including but not limited to applications and action systems. The processor 2010 may integrate an application processor and a modem processor, wherein the application processor mainly processes the action system, user pages and applications, etc., and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 2010.
[0274] Memory 2009 can be used to store software programs and various data. Memory 2009 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). Furthermore, memory 2009 may include volatile memory or non-volatile memory, or memory x09 may include both volatile and non-volatile memory. The non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 2009 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0275] Processor 2010 may include one or more processing units. Optionally, processor 2010 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 2010.
[0276] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned interaction method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0277] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0278] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned interaction method embodiment and achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0279] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0280] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned interaction method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0281] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0282] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0283] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.
Claims
1. An interactive method, characterized in that: The method is performed by an electronic device connected to an additional lens, and includes: Displaying a shooting preview interface corresponding to the camera of the electronic device; receiving a first input to the shooting preview interface; In response to the first input, a portion of the photographic object in the shooting preview interface is magnified and displayed; wherein the image corresponding to the magnified portion of the photographic object is obtained based on the image captured by the additional lens.
2. The method according to claim 1, characterized in that The first input includes a first sub-input and a second sub-input, and in response to the first input, zooming in and displaying a portion of the photographed object in the photographing preview interface includes: In response to the first sub-input, determining a portion of the shooting objects in the shooting preview interface; receiving a second child input; In response to the second sub-input, the portion of the photographed object is magnified and displayed according to the magnification indicated by the second sub-input.
3. The method according to claim 2, characterized in that When the second sub-input is a pressing operation, the magnification is determined according to the pressing intensity of the pressing operation; When the second sub-input is a sliding operation, the magnification is determined according to a sliding trajectory of the sliding operation; In a case where the second sub-input is a zoom operation, the magnification is determined according to a zoom distance of the zoom operation.
4. The method according to claim 2, characterized in that The method further comprises: In the case where the additional lens is an optical zoom lens, the optical zoom focal length is determined according to the magnification ratio; and the image corresponding to the portion of the photographed object that is magnified and displayed is obtained based on the image captured by the additional lens at the optical zoom focal length.
5. The method according to claim 1, characterized in that The method further comprises: When the additional lens is effectively connected to the electronic device, a function icon of the additional lens is displayed on the shooting preview interface; receiving a second input for a function icon of the additional lens; In response to the second input, the additional lens is controlled to capture an image.
6. The method according to claim 1, characterized in that After zooming in and displaying a portion of the photographic object in the photographing preview interface in response to the first input, the method further includes: In response to the shooting operation, a dynamic image is captured; the dynamic image includes a main image area and a background image area, the image of the background image area is obtained based on a first video captured by the camera of the electronic device, and the image of the main image area is obtained based on a second video captured by the additional lens; receiving a third input of the dynamic image; In response to the third input, a dynamic image corresponding to a target image area is displayed according to input parameters of the third input; wherein the target image area includes at least one of the following: the background image area, the main image area.
7. The method according to claim 1, characterized in that After zooming in and displaying a portion of the photographic object in the photographing preview interface in response to the first input, the method further includes: In response to the shooting operation, a target file is shot to obtain the target file, wherein the target file includes at least one of the following: an image, a video; When the editing interface of the target file is displayed, receiving a fourth input; In response to the fourth input, display parameters of the portion of the photographed objects in the target file are updated; wherein the display parameters include at least one of the following: display outline, filter parameters, and display special effects.
8. The method according to claim 7, characterized in that The target file includes a video. After the target file is obtained by shooting, the method further includes: receiving a fifth input; In response to the fifth input, displaying a video editing interface of the target file, the video editing interface including a first video display area corresponding to the portion of the photographed objects, a second video display area corresponding to other photographed objects except the portion of the photographed objects, and an editing area; receiving a sixth input; In response to the sixth input, the video corresponding to the first video display area is edited, or the video corresponding to the second video display area is edited.
9. The method according to claim 1, characterized in that After zooming in and displaying a portion of the photographic object in the photographing preview interface in response to the first input, the method further includes: receiving a seventh input on the shooting preview interface; In response to the seventh input, the enlarged display of the portion of the photographed object is updated.
10. An interactive device, characterized in that: The device is connected to an additional lens, and the device includes: A display module, configured to display a shooting preview interface corresponding to the camera of the device; A receiving module, configured to receive a first input to the shooting preview interface; The display module is further configured to, in response to the first input, enlarge and display a portion of the photographed object in the shooting preview interface; wherein the image corresponding to the enlarged and displayed portion of the photographed object is obtained based on the image captured by the additional lens.
11. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method according to any one of claims 1 to 9 are implemented.