Nothing Special   »   [go: up one dir, main page]

CN113709368A - Image display method, device and equipment - Google Patents

Image display method, device and equipment Download PDF

Info

Publication number
CN113709368A
CN113709368A CN202110989102.0A CN202110989102A CN113709368A CN 113709368 A CN113709368 A CN 113709368A CN 202110989102 A CN202110989102 A CN 202110989102A CN 113709368 A CN113709368 A CN 113709368A
Authority
CN
China
Prior art keywords
image
target
area
size information
shooting preview
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110989102.0A
Other languages
Chinese (zh)
Inventor
李普
覃致维
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110989102.0A priority Critical patent/CN113709368A/en
Publication of CN113709368A publication Critical patent/CN113709368A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an image display method, device and equipment, and belongs to the technical field of electronic equipment. The image display method includes: displaying a first image in a shooting preview area; controlling a first camera to acquire an image of a target object according to a target zooming parameter to obtain a second image, wherein the target zooming parameter is a zooming parameter determined according to first size information and second size information, the first size information is size information of a shooting preview area, the second size information is size information of the target area in the first image, and the target object is an object corresponding to the image of the target area in an actual scene; and displaying the second image in the shooting preview area.

Description

Image display method, device and equipment
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to an image display method, device and equipment.
Background
With the development of electronic devices, taking pictures and recording videos by using electronic devices has become a very important part of people's daily life.
In the process of taking pictures or recording videos by using the electronic equipment, images collected by the camera are displayed in a shooting preview area. When a user wants to display some specific objects in the acquired image in the shooting preview area, for example, a teacher's blackboard writing, a movie picture, a television picture, a notice, etc., the user needs to manually adjust the focal length of the camera many times until an image meeting the user's requirements is displayed in the shooting preview area. It is inefficient to capture an image satisfying a user's demand in the preview area.
Disclosure of Invention
The embodiment of the application aims to provide an image display method, an image display device and image display equipment, which can solve the problem of low efficiency of displaying images meeting user requirements in a shooting preview area.
In a first aspect, an embodiment of the present application provides an image display method, including:
displaying a first image in a shooting preview area;
controlling a first camera to acquire an image of a target object according to a target zooming parameter to obtain a second image, wherein the target zooming parameter is a zooming parameter determined according to first size information and second size information, the first size information is size information of a shooting preview area, the second size information is size information of the target area in the first image, and the target object is an object corresponding to the image of the target area in an actual scene;
and displaying the second image in the shooting preview area.
In a second aspect, an embodiment of the present application provides an image display apparatus, including:
the first display module is used for displaying a first image in the shooting preview area;
the control module is used for controlling the first camera to acquire an image of a target object according to a target zooming parameter to obtain a second image, wherein the target zooming parameter is a zooming parameter determined according to first size information and second size information, the first size information is size information of a shooting preview area, the second size information is size information of a target area in the first image, and the target object is an object corresponding to the image of the target area in an actual scene;
and the second display module is used for displaying the second image in the shooting preview area.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the steps of the method according to the first aspect.
In the embodiment of the application, when the first image is displayed in the shooting preview area, the zoom parameter is determined according to the first size information of the shooting preview area and the second size information of the target area in the first image, so that the first camera is controlled to acquire the image of the target object corresponding to the image in the target area in the actual scene according to the zoom parameter to obtain the second image, and the second image is displayed in the shooting preview area. Because the zoom parameter corresponding to the first camera is determined according to the first size information of the shooting preview area and the second size information of the target area in the first image, the focal length of the first camera can be automatically adjusted, the user does not need to manually adjust the focal length of the first camera, and the efficiency of displaying the image meeting the user requirement in the shooting preview area can be further improved.
Drawings
Fig. 1 is a schematic flowchart of an image display method provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of a first process for displaying a second image according to an embodiment of the present application;
FIG. 3 is a diagram illustrating a second process for displaying a second image according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a third process for displaying a second image according to an embodiment of the present application;
FIG. 5 is a diagram illustrating a fourth process for displaying a second image according to an embodiment of the present disclosure;
FIG. 6 is a diagram illustrating a fifth process for displaying a second image according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an image display device provided in an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 9 is a hardware configuration diagram of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail an image display method, an image display apparatus, and an image display device provided in the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of an image display method according to an embodiment of the present application. The image display method may include:
step 101: displaying a first image in a shooting preview area;
step 102: controlling a first camera to acquire an image of a target object according to a target zooming parameter to obtain a second image, wherein the target zooming parameter is a zooming parameter determined according to first size information and second size information, the first size information is size information of a shooting preview area, the second size information is size information of the target area in the first image, and the target object is an object corresponding to the image of the target area in an actual scene;
step 103: and displaying the second image in the shooting preview area.
Specific implementations of the above steps will be described in detail below.
In the embodiment of the application, when the first image is displayed in the shooting preview area, the zoom parameter is determined according to the first size information of the shooting preview area and the second size information of the target area in the first image, so that the first camera is controlled to acquire the image of the target object corresponding to the image in the target area in the actual scene according to the zoom parameter to obtain the second image, and the second image is displayed in the shooting preview area. Because the zoom parameter corresponding to the first camera is determined according to the first size information of the shooting preview area and the second size information of the target area in the first image, the focal length of the first camera can be automatically adjusted, the user does not need to manually adjust the focal length of the first camera, and the efficiency of displaying the image meeting the user requirement in the shooting preview area can be further improved.
In some possible implementations of embodiments of the present application, in step 102, the motor of the first camera may be driven to a suitable position according to the target zoom parameter.
The process of displaying the second image is shown in fig. 2. Fig. 2 is a schematic diagram of a first process for displaying a second image according to an embodiment of the present application. In fig. 2, an image a is first displayed in the shooting preview area 11, and then an image B captured by the first camera for the target object according to the target zoom parameter is displayed in the shooting preview area 11. It will be appreciated that the target object in FIG. 2 is a leaf.
In some possible implementations of the embodiment of the present application, before step 102, the image display method provided in the embodiment of the present application may further include: determining a third ratio of the width of the shooting preview area to the width of the target area as a target zooming parameter under the condition that the first ratio of the height to the width of the shooting preview area is larger than the second ratio of the height to the width of the target area; and under the condition that the first ratio is not larger than the second ratio, determining a fourth ratio of the height of the shooting preview area to the height of the target area as a target zooming parameter.
Illustratively, the height of the shooting preview area is Hp, the width of the shooting preview area is Wp, the height of the target area is Ho, the width of the target area is Wo, and the target zoom parameter is ZoomRatio.
When Hp/Wp > Ho/Wo, ZoomRatio ═ Wp/Wo.
When Hp/Wp is not more than Ho/Wo, the ZoomRatio is not more than Hp/Ho.
Assuming that the current focal length of the first camera is f0, in step 102, the first camera is controlled to perform image acquisition at the focal length f0 × ZoomRatio.
In some possible implementations of the embodiment of the present application, before step 102, the image display method provided in the embodiment of the present application may further include: and determining the area of the object detected from the first image in the first image as the target area.
The embodiment of the present application does not limit the manner in which the object is detected from the first image, and any available manner may be applied to the embodiment of the present application.
In some possible implementations of the embodiments of the present application, after an object is detected from the first image, a minimum circumscribed rectangular region of the object in the first image may be determined as the target region.
In the embodiment of the application, the target area can be determined by detecting the first image, the user does not need to participate, the image meeting the user requirement can be displayed in the shooting preview area, the image display efficiency can be improved, and the user experience effect can also be improved.
In some possible implementations of the embodiments of the present application, there may be a case where a plurality of objects are detected from the first image, in which case, an object selected by a user from the plurality of objects may be taken as a target object, and specifically, one input may be received, and an object corresponding to the input may be taken as the target object.
In the embodiment of the application, the object concerned by the user can be determined through user input, and then the image of the object concerned by the user is displayed in the shooting preview area, so that the user requirement can be met, and the user experience effect is improved.
In some possible implementations of the embodiment of the present application, before step 102, the image display method provided in the embodiment of the present application may further include: receiving a first input to a first image; and in response to the first input, determining a region corresponding to the first input in the first image as a target region.
In some possible implementations of the embodiment of the application, the first input may be an input for a user to perform region selection in the first image, and then a minimum circumscribed rectangular region of the region selected by the user may be determined as the target region.
Exemplarily, as shown in fig. 3. Fig. 3 is a schematic diagram of a second process for displaying a second image according to an embodiment of the present application.
At this time, the height Ho of the target region is MAXH-MINHThe width Wo of the target region is MAXW-MINWWherein, MAXH、MINH、MAXWAnd MINWThe maximum coordinate value in the vertical direction, the minimum coordinate value in the vertical direction, the maximum coordinate value in the horizontal direction, and the minimum coordinate value in the horizontal direction of the area circled for the user, respectively.
In the embodiment of the application, the user can select the area by himself, and then the image of the object corresponding to the area selected by the user in the actual scene is displayed in the shooting preview area, so that the user requirement can be met, and the user experience effect is improved.
In some possible implementations of the embodiment of the present application, before step 102, the image display method provided in the embodiment of the present application may further include: and displaying first identification information, wherein the first identification information is used for indicating the target area.
Exemplarily, as shown in fig. 4. Fig. 4 is a schematic diagram of a third process for displaying a second image according to an embodiment of the present application. In fig. 4, the first identification information is a dashed box.
In the embodiment of the application, the identification information used for indicating the target area is displayed, so that a user can intuitively know which part of the first image needs to be subjected to image acquisition, and the user experience effect can be improved.
In some possible implementations of the embodiment of the present application, after displaying the first identification information, the image display method provided in the embodiment of the present application may further include: a second input is received. Step 102 may include: and responding to the second input, and controlling the first camera to acquire an image of the target object according to the target zooming parameters to obtain a second image.
In some possible implementations of the embodiment of the present application, the second input may be a click input in an area enclosed by a dashed line frame, that is, the first camera is controlled to perform zoom shooting only when the user performs a click input in the area enclosed by the dashed line frame, and the first camera does not zoom when the user does not perform a click input in the area enclosed by the dashed line frame.
Exemplarily, as shown in fig. 5. Fig. 5 is a schematic diagram of a fourth process for displaying a second image according to an embodiment of the present application.
In some possible implementations of the embodiment of the present application, a display duration of the first identification information may be preset. And when the time length for displaying the first identification information reaches the preset display time length, stopping displaying the first identification information.
In some possible implementations of the embodiments of the present application, the first identification information may also be a dashed box that flashes intermittently. The number of times of blinking of the dashed box may be preset, and when the number of times of blinking of the dashed box reaches the preset number of times of blinking, the display of the first identification information is stopped.
The embodiment of the present application does not limit the form of the first identification information, and any available form may be applied to the embodiment of the present application.
In some possible implementations of the embodiments of the present application, the first image is an image collected by the second camera, and the first camera and the second camera are different cameras.
In some possible implementations of the embodiments of the present application, the second camera may be a main shooting, and the first camera may be a sub-shooting. Firstly, a first image collected by a second camera is displayed in a shooting preview area, when an object is identified from the first image displayed in the shooting preview area or a user selects an area from the first image, a zooming parameter of the first camera is determined, the first camera is controlled to collect an image according to the determined zooming parameter, and then the second image collected by the first camera is displayed in the shooting preview area.
The following describes an image display method provided in the embodiments of the present application with reference to specific embodiments. Fig. 6 is a schematic diagram of a fifth process for displaying a second image according to an embodiment of the present application. First, a first image is displayed in a photographing preview area, then, an object in the first image is detected, two objects are detected in fig. 6, the area of the detected two objects in the first image is identified by a first dotted frame, a user performs area selection in the first image, the area selected is identified by a second dotted frame, and when the user performs a click input in the second dotted frame, the first camera is controlled to perform zoom photographing, and a second image photographed by the first camera is displayed.
It should be noted that, in the image display method provided in the embodiment of the present application, the execution subject may be an image display apparatus, or a control module in the image display apparatus for executing the image display method. The embodiment of the present application describes an image display device provided in the embodiment of the present application, by taking an example in which the image display device executes an image display method.
Fig. 7 is a schematic structural diagram of an image display device according to an embodiment of the present application. The image display device 700 may include:
a first display module 701, configured to display a first image in the shooting preview area;
the control module 702 is configured to control the first camera to perform image acquisition on a target object according to a target zoom parameter to obtain a second image, where the target zoom parameter is a zoom parameter determined according to first size information and second size information, the first size information is size information of a shooting preview area, the second size information is size information of a target area in the first image, and the target object is an object corresponding to an image in the target area in an actual scene;
and a second display module 703, configured to display a second image in the shooting preview area.
In the embodiment of the application, when the first image is displayed in the shooting preview area, the zoom parameter corresponding to the first camera is determined according to the first size information of the shooting preview area and the second size information of the target area in the first image, so that the first camera is controlled to perform image acquisition on the target object corresponding to the image in the target area in the actual scene according to the zoom parameter to obtain the second image, and the second image is displayed in the shooting preview area. Because the zoom parameter corresponding to the first camera is determined according to the first size information of the shooting preview area and the second size information of the target area in the first image, the focal length of the first camera can be automatically adjusted, the user does not need to manually adjust the focal length of the first camera, and the efficiency of displaying the image meeting the user requirement in the shooting preview area can be further improved.
In some possible implementations of the embodiments of the present application, the image display apparatus 700 further includes:
the first determining module is used for determining a third ratio of the width of the shooting preview area to the width of the target area as a target zooming parameter under the condition that the first ratio of the height to the width of the shooting preview area is larger than the second ratio of the height to the width of the target area; and under the condition that the first ratio is not larger than the second ratio, determining a fourth ratio of the height of the shooting preview area to the height of the target area as a target zooming parameter.
In some possible implementations of the embodiments of the present application, the image display apparatus 700 further includes:
and the second determining module is used for determining the area of the object detected from the first image in the first image as the target area.
In the embodiment of the application, the target area can be determined by detecting the first image, the user does not need to participate, the image meeting the user requirement can be displayed in the shooting preview area, the image display efficiency can be improved, and the user experience effect can also be improved.
In some possible implementations of the embodiments of the present application, the image display apparatus 700 further includes:
a receiving module for receiving a first input to a first image;
and the third determining module is used for responding to the first input and determining the area corresponding to the first input in the first image as the target area.
In the embodiment of the application, the object concerned by the user can be determined through user input, and then the image of the object concerned by the user is displayed in the shooting preview area, so that the user requirement can be met, and the user experience effect is improved.
In some possible implementations of the embodiments of the present application, the image display apparatus 700 further includes:
and the third display module is used for displaying the first identification information, wherein the first identification information is used for indicating the target area.
In the embodiment of the application, the identification information used for indicating the target area is displayed, so that a user can intuitively know which part of the first image needs to be subjected to image acquisition, and the user experience effect can be improved.
In some possible implementations of the embodiments of the present application, the first image is an image collected by the second camera, and the first camera and the second camera are different cameras.
The image display device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The image display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The image display device provided in the embodiment of the present application can implement each process in the image display method embodiments of fig. 1 to 6, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 8, an electronic device 800 is further provided in this embodiment of the present application, and includes a processor 801, a memory 802, and a program or an instruction stored in the memory 802 and executable on the processor 801, where the program or the instruction is executed by the processor 801 to implement each process of the foregoing embodiment of the image display method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
In some possible implementations of embodiments of the present Application, the processor 801 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured to implement one or more Integrated circuits of embodiments of the present Application.
In some possible implementations of embodiments of the present application, the Memory 802 may include Read-Only Memory (ROM), Random Access Memory (RAM), magnetic disk storage media devices, optical storage media devices, flash Memory devices, electrical, optical, or other physical/tangible Memory storage devices. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software comprising computer-executable instructions and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the image display methods according to embodiments of the application.
Fig. 9 is a hardware configuration diagram of an electronic device implementing an embodiment of the present application.
The electronic device 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910.
Those skilled in the art will appreciate that the electronic device 900 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system. The electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
Wherein the display unit 906 is configured to: displaying a first image in a shooting preview area;
the processor 910 is configured to: controlling a first camera to acquire an image of a target object according to a target zooming parameter to obtain a second image, wherein the target zooming parameter is a zooming parameter determined according to first size information and second size information, the first size information is size information of a shooting preview area, the second size information is size information of the target area in the first image, and the target object is an object corresponding to the image of the target area in an actual scene;
the display unit 906 is further configured to: and displaying the second image in the shooting preview area.
In the embodiment of the application, when the first image is displayed in the shooting preview area, the zoom parameter corresponding to the first camera is determined according to the first size information of the shooting preview area and the second size information of the target area in the first image, so that the first camera is controlled to perform image acquisition on the target object corresponding to the image in the target area in the actual scene according to the zoom parameter to obtain the second image, and the second image is displayed in the shooting preview area. Because the zoom parameter corresponding to the first camera is determined according to the first size information of the shooting preview area and the second size information of the target area in the first image, the focal length of the first camera can be automatically adjusted, the user does not need to manually adjust the focal length of the first camera, and the efficiency of displaying the image meeting the user requirement in the shooting preview area can be further improved.
In some possible implementations of embodiments of the present application, the processor 910 is further configured to:
determining a third ratio of the width of the shooting preview area to the width of the target area as a target zooming parameter under the condition that the first ratio of the height to the width of the shooting preview area is larger than the second ratio of the height to the width of the target area; and under the condition that the first ratio is not larger than the second ratio, determining a fourth ratio of the height of the shooting preview area to the height of the target area as a target zooming parameter.
In some possible implementations of embodiments of the present application, the processor 910 is further configured to:
and determining the area of the object detected from the first image in the first image as the target area.
In the embodiment of the application, the target area can be determined by detecting the first image, the user does not need to participate, the image meeting the user requirement can be displayed in the shooting preview area, the image display efficiency can be improved, and the user experience effect can also be improved.
In some possible implementations of embodiments of the present application, the user input unit 907 is configured to:
receiving a first input to a first image;
the processor 910 is further configured to: and in response to the first input, determining a region corresponding to the first input in the first image as a target region.
In the embodiment of the application, the object concerned by the user can be determined through user input, and then the image of the object concerned by the user is displayed in the shooting preview area, so that the user requirement can be met, and the user experience effect is improved.
In some possible implementations of embodiments of the present application, the display unit 906 is further configured to:
and displaying first identification information, wherein the first identification information is used for indicating the target area.
In the embodiment of the application, the identification information used for indicating the target area is displayed, so that a user can intuitively know which part of the first image needs to be subjected to image acquisition, and the user experience effect can be improved.
In some possible implementations of the embodiments of the present application, the first image is an image collected by the second camera, and the first camera and the second camera are different cameras.
It should be understood that, in the embodiment of the present application, the input Unit 904 may include a Graphics Processing Unit (GPU) 9041 and a microphone 9042, and the Graphics Processing Unit 9041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 907 includes a touch panel 9071 and other input devices 9072. A touch panel 9071 also referred to as a touch screen. The touch panel 9071 may include two parts, a touch detection device and a touch controller. Other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 909 can be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 910 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 910.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned embodiment of the image display method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, and examples of the computer readable storage medium include non-transitory computer readable storage media such as a ROM, a RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above image display method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. An image display method, characterized in that the method comprises:
displaying a first image in a shooting preview area;
controlling a first camera to acquire an image of a target object according to a target zooming parameter to obtain a second image, wherein the target zooming parameter is a zooming parameter determined according to first size information and second size information, the first size information is size information of the shooting preview area, the second size information is size information of a target area in the first image, and the target object is an object corresponding to the image of the target area in an actual scene;
and displaying the second image in the shooting preview area.
2. The method of claim 1, wherein before controlling the first camera to perform image acquisition on the target object according to the target zoom parameter to obtain the second image, the method further comprises:
determining a third ratio of the width of the shooting preview area to the width of the target area as the target zoom parameter when the first ratio of the height to the width of the shooting preview area is larger than the second ratio of the height to the width of the target area;
and determining a fourth ratio of the height of the shooting preview area to the height of the target area as the target zooming parameter when the first ratio is not greater than the second ratio.
3. The method of claim 1, wherein before controlling the first camera to perform image acquisition on the target object according to the target zoom parameter to obtain the second image, the method further comprises:
and determining the area of the object detected from the first image in the first image as the target area.
4. The method of claim 1, wherein before controlling the first camera to perform image acquisition on the target object according to the target zoom parameter to obtain the second image, the method further comprises:
receiving a first input to the first image;
in response to the first input, determining a region in the first image corresponding to the first input as the target region.
5. The method according to claim 3 or 4, wherein before controlling the first camera to perform image acquisition on the target object according to the target zoom parameter to obtain the second image, the method further comprises:
displaying first identification information, wherein the first identification information is used for indicating the target area.
6. The method of claim 1, wherein the first image is an image captured by a second camera, and wherein the first camera and the second camera are different cameras.
7. An image display apparatus, characterized in that the apparatus comprises:
the first display module is used for displaying a first image in the shooting preview area;
the control module is used for controlling the first camera to acquire an image of a target object according to a target zooming parameter to obtain a second image, wherein the target zooming parameter is a zooming parameter determined according to first size information and second size information, the first size information is size information of the shooting preview area, the second size information is size information of a target area in the first image, and the target object is an object corresponding to the image of the target area in an actual scene;
and the second display module is used for displaying the second image in the shooting preview area.
8. The apparatus of claim 7, further comprising:
a first determining module, configured to determine, as the target zoom parameter, a third ratio of the width of the shooting preview area to the width of the target area when a first ratio of the height to the width of the shooting preview area is greater than a second ratio of the height to the width of the target area; and determining a fourth ratio of the height of the shooting preview area to the height of the target area as the target zooming parameter when the first ratio is not greater than the second ratio.
9. The apparatus of claim 7, further comprising:
and the second determining module is used for determining the area of the object detected from the first image in the first image as the target area.
10. The apparatus of claim 7, further comprising:
a receiving module for receiving a first input to the first image;
and a third determining module, configured to determine, in response to the first input, a region corresponding to the first input in the first image as the target region.
11. An electronic device, characterized in that the electronic device comprises: processor, memory and a program or instructions stored on the memory and executable on the processor, which when executed by the processor, implement the steps of the image display method according to any one of claims 1 to 6.
CN202110989102.0A 2021-08-26 2021-08-26 Image display method, device and equipment Pending CN113709368A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110989102.0A CN113709368A (en) 2021-08-26 2021-08-26 Image display method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110989102.0A CN113709368A (en) 2021-08-26 2021-08-26 Image display method, device and equipment

Publications (1)

Publication Number Publication Date
CN113709368A true CN113709368A (en) 2021-11-26

Family

ID=78655303

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110989102.0A Pending CN113709368A (en) 2021-08-26 2021-08-26 Image display method, device and equipment

Country Status (1)

Country Link
CN (1) CN113709368A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113905139A (en) * 2021-10-12 2022-01-07 深圳市上融科技有限公司 Optical zooming method and high-speed shooting instrument
CN114546576A (en) * 2022-02-28 2022-05-27 维沃移动通信有限公司 Display method, display device, electronic apparatus, and readable storage medium
CN115499581A (en) * 2022-08-16 2022-12-20 北京五八信息技术有限公司 Shooting method, shooting device, terminal equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847663A (en) * 2015-06-24 2016-08-10 维沃移动通信有限公司 Adjusting method and adjusting device for displayed image on shooting device
CN106464799A (en) * 2015-03-27 2017-02-22 华为技术有限公司 Automatic zooming method and device
WO2018040444A1 (en) * 2016-08-31 2018-03-08 宇龙计算机通信科技(深圳)有限公司 Dual-camera image capturing control method, image capturing control device, and terminal
CN109495681A (en) * 2017-09-12 2019-03-19 天津三星通信技术研究有限公司 The method and apparatus for obtaining image
CN111866392A (en) * 2020-07-31 2020-10-30 Oppo广东移动通信有限公司 Shooting prompting method and device, storage medium and electronic equipment
CN111935397A (en) * 2020-07-07 2020-11-13 北京迈格威科技有限公司 Image processing method and device, electronic equipment and computer readable medium
CN113014798A (en) * 2021-01-27 2021-06-22 维沃移动通信有限公司 Image display method and device and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106464799A (en) * 2015-03-27 2017-02-22 华为技术有限公司 Automatic zooming method and device
CN105847663A (en) * 2015-06-24 2016-08-10 维沃移动通信有限公司 Adjusting method and adjusting device for displayed image on shooting device
WO2018040444A1 (en) * 2016-08-31 2018-03-08 宇龙计算机通信科技(深圳)有限公司 Dual-camera image capturing control method, image capturing control device, and terminal
CN109495681A (en) * 2017-09-12 2019-03-19 天津三星通信技术研究有限公司 The method and apparatus for obtaining image
CN111935397A (en) * 2020-07-07 2020-11-13 北京迈格威科技有限公司 Image processing method and device, electronic equipment and computer readable medium
CN111866392A (en) * 2020-07-31 2020-10-30 Oppo广东移动通信有限公司 Shooting prompting method and device, storage medium and electronic equipment
CN113014798A (en) * 2021-01-27 2021-06-22 维沃移动通信有限公司 Image display method and device and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113905139A (en) * 2021-10-12 2022-01-07 深圳市上融科技有限公司 Optical zooming method and high-speed shooting instrument
CN114546576A (en) * 2022-02-28 2022-05-27 维沃移动通信有限公司 Display method, display device, electronic apparatus, and readable storage medium
CN115499581A (en) * 2022-08-16 2022-12-20 北京五八信息技术有限公司 Shooting method, shooting device, terminal equipment and storage medium
CN115499581B (en) * 2022-08-16 2023-11-21 北京五八信息技术有限公司 Shooting method, shooting device, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN112135046B (en) Video shooting method, video shooting device and electronic equipment
CN113709368A (en) Image display method, device and equipment
CN112954210A (en) Photographing method and device, electronic equipment and medium
CN112714253B (en) Video recording method and device, electronic equipment and readable storage medium
CN112954214B (en) Shooting method, shooting device, electronic equipment and storage medium
CN112437232A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN113794834B (en) Image processing method and device and electronic equipment
CN112954212B (en) Video generation method, device and equipment
CN112911147B (en) Display control method, display control device and electronic equipment
CN112492201B (en) Photographing method and device and electronic equipment
CN113794829A (en) Shooting method and device and electronic equipment
US20230274388A1 (en) Photographing Method, and Electronic Device and Non-Transitory Readable Storage Medium
CN113794831B (en) Video shooting method, device, electronic equipment and medium
CN112788244B (en) Shooting method, shooting device and electronic equipment
CN112511743B (en) Video shooting method and device
CN114125226A (en) Image shooting method and device, electronic equipment and readable storage medium
CN114025092A (en) Shooting control display method and device, electronic equipment and medium
CN113866782A (en) Image processing method and device and electronic equipment
CN113271378A (en) Image processing method and device and electronic equipment
CN112653841B (en) Shooting method and device and electronic equipment
CN112153291B (en) Photographing method and electronic equipment
CN114143455B (en) Shooting method and device and electronic equipment
CN114245017B (en) Shooting method and device and electronic equipment
CN112887624B (en) Shooting method and device and electronic equipment
CN113873160B (en) Image processing method, device, electronic equipment and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20211126