[go: up one dir, main page]

CN119364177A - Camera adjusting method, image acquisition method, electronic device and storage medium - Google Patents

Camera adjusting method, image acquisition method, electronic device and storage medium Download PDF

Info

Publication number
CN119364177A
CN119364177A CN202310877564.2A CN202310877564A CN119364177A CN 119364177 A CN119364177 A CN 119364177A CN 202310877564 A CN202310877564 A CN 202310877564A CN 119364177 A CN119364177 A CN 119364177A
Authority
CN
China
Prior art keywords
camera
machine position
setting window
setting
receiving
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
CN202310877564.2A
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.)
Guangzhou Shizhen Information Technology Co Ltd
Original Assignee
Guangzhou Shizhen Information Technology 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 Guangzhou Shizhen Information Technology Co Ltd filed Critical Guangzhou Shizhen Information Technology Co Ltd
Priority to CN202310877564.2A priority Critical patent/CN119364177A/en
Publication of CN119364177A publication Critical patent/CN119364177A/en
Pending legal-status Critical Current

Links

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/62Control of parameters via user interfaces
    • 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
    • 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
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • 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/633Control of cameras or camera modules by using electronic viewfinders for displaying additional information relating to control or operation of the camera
    • H04N23/635Region indicators; Field of view indicators
    • 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/69Control of means for changing angle of the field of view, e.g. optical zoom objectives or electronic zooming
    • 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/695Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the application discloses a camera adjusting method, an image acquisition method, a device, equipment and a medium. When the camera position setting is carried out, the first setting window and the second setting window are sequentially used for carrying out rough setting and fine setting respectively, the rough setting can rapidly realize comprehensive adjustment of the azimuth angle and the focal length of the camera through one-time operation of the selection frame, the fine setting can accurately carry out detail adjustment under the condition of approaching ideal output, and the adjusting speed and the adjusting accuracy when the camera is adjusted are integrally improved through the rough setting and the fine setting.

Description

Camera adjusting method, image acquisition method, electronic device and storage medium
Technical Field
The embodiment of the application relates to the technical field of cameras, in particular to a camera adjusting method, an image acquisition method, electronic equipment and a storage medium.
Background
Cameras are widely used in electronic devices, and people can often use the cameras of the electronic devices in various scenes to meet various image acquisition requirements, such as two-dimensional code recognition, picture shooting, video call and the like. When the camera is actually called to collect images, parameters of the images collected by the camera are usually required to be adjusted so as to collect the images meeting specific use requirements.
For the interactive tablet, the scene of using the camera mainly is in the video conference, and at the moment, the camera collects images and then sends the images to other users participating in the video conference. In order to achieve a better video conference effect, the matched camera is often required to be adjusted. In the prior art, mainly adjust through controlling about, but to interactive flat board, this kind of mode complex operation, adjustment efficiency is low, and the regulation effect is ambiguous moreover, has often appeared pressing many times adjustment button after, does not reach the regulation effect, needs to reset, carries out the condition of adjusting again, and overall, the regulation speed and the regulation accuracy when adjusting the camera are all relatively poor.
Disclosure of Invention
The application provides a camera adjusting method, an image acquisition method, electronic equipment and a storage medium, which are used for solving the technical problems of poor adjusting speed and poor adjusting accuracy when a camera is adjusted through interaction in the prior art.
In a first aspect, an embodiment of the present application provides a camera adjustment method, including:
receiving a first triggering operation, displaying a first setting window, wherein a first preview picture acquired by a camera is displayed in the first setting window, and a selection frame is displayed on the first preview picture;
Receiving an adjustment operation acting on the selection frame, and adjusting the closed area of the selection frame according to the adjustment operation;
After receiving the first confirmation operation, adjusting the camera position parameter of the camera according to the selection frame, and displaying a second setting window, wherein a second preview picture acquired by the camera is displayed in the second setting window, and the second preview picture is consistent with the picture content selected by the frame in the selection frame;
and receiving a first moving operation acting on the second setting window, adjusting the camera position parameter of the camera according to the first moving operation, and displaying a third preview picture acquired after the camera is adjusted in the second setting window.
In a second aspect, an embodiment of the present application further provides an image acquisition method, where the image acquisition method includes:
when the machine position selection interface is opened, machine position identifiers are displayed, wherein the machine position identifiers comprise default machine position identifiers and preset machine position identifiers, and each preset machine position identifier correspondingly records machine position parameters of a preset machine position;
when receiving triggering operation acting on any preset machine position identifier, acquiring a machine position parameter corresponding to the preset machine position identifier;
and calling and adjusting the camera to acquire images according to the acquired camera position parameters.
In a third aspect, an embodiment of the present application further provides an electronic device, including:
One or more processors;
a memory for storing one or more programs;
The one or more programs, when executed by the one or more processors, cause the electronic device to implement the camera adjustment method as the first aspect or the image acquisition method as the second aspect.
In a fourth aspect, embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, which when executed by an electronic device implements the camera adjustment method as in the first aspect or the image acquisition method as in the second aspect.
The camera adjusting method, the image acquisition method, the device, the equipment and the medium are characterized by receiving a first trigger operation, displaying a first setting window, displaying a first preview picture acquired by a camera in the first setting window, displaying a selection frame on the first preview picture, receiving an adjusting operation on the selection frame, adjusting a closed area of the selection frame according to the adjusting operation, adjusting camera position parameters of the camera according to the selection frame after receiving a first confirmation operation, displaying a second setting window, displaying a second preview picture acquired by the camera in the second setting window, wherein the second preview picture is consistent with picture content selected by a middle frame of the selection frame, receiving a first moving operation on the second setting window, adjusting camera position parameters of the camera according to the first moving operation, and displaying a third preview picture acquired after the camera is adjusted in the second setting window. When the camera position is set, rough setting and fine setting are respectively carried out through the first setting window and the second setting window in sequence, the rough setting can rapidly realize comprehensive adjustment of the azimuth angle and the focal length of the camera through one-time operation of the selection frame, and the fine setting can accurately carry out detail adjustment under the condition of approaching ideal output, so that the adjustment speed and the adjustment accuracy when the camera is adjusted are integrally improved.
Drawings
Fig. 1 is a flowchart of a method for adjusting a camera according to an embodiment of the present application.
Fig. 2 is a schematic diagram of a conventional camera adjustment setting interface.
Fig. 3 is a schematic diagram of a conventional camera adjustment setup process.
Fig. 4 is a schematic diagram of a front layout of an interactive tablet.
FIG. 5 is a schematic diagram of a machine position setting interface.
Fig. 6 is a schematic diagram showing the first setting window in the form of a partial window.
Fig. 7 is a schematic diagram of the first setup window displayed in full screen window form.
Fig. 8 is a schematic view of a second setup window.
FIG. 9 is a schematic diagram of the machine position setting interface after a new preset machine position is added.
Fig. 10 is a schematic view of a third setup window.
Fig. 11 is a flowchart of a method for image acquisition according to an embodiment of the present application.
Fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are for purposes of illustration and not of limitation. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present application are shown in the drawings.
It should be noted that the present disclosure is not limited to all the alternative embodiments, and those skilled in the art who review this disclosure will recognize that any combination of the features may be used to construct the alternative embodiments as long as the features are not mutually inconsistent.
The camera adjusting method and the image collecting method in the embodiment of the application can be applied to an interactive panel, and the interactive panel applied by the scheme can be integrated equipment for controlling the content displayed on a display screen and realizing man-machine interaction operation by a touch technology, and integrates one or more functions of a projector, an electronic whiteboard, a curtain, sound equipment, a television, a video conference terminal and the like. Of course, the interactive tablet does not include a definition of the surface features of the display surface, e.g., the surface features of the interactive tablet may be planar, curved, or a splice of multiple planes, etc.
Typically, the interactive tablet is equipped with at least one operating system, wherein the operating system includes, but is not limited to, an android system, a Linux system, a Windows system, and a wintersweet system, which are used to control and coordinate the interactive tablet and external devices, so that various independent hardware in the interactive tablet can work as a stable whole. As shown in fig. 4, the interactive tablet 10 includes at least one display screen 20. For example, the interactive tablet 10 is configured with a touch-enabled display screen 20, i.e., a touch-sensitive display screen. The touch sensitive display may be an infrared display, a capacitive display, a resistive display, an electromagnetic display, or a pressure sensitive display, among others. On the display screen 20 having the touch function, a user may implement a touch operation by touching the display screen 20 with a finger or a writing pen, and accordingly, the interactive tablet 10 detects a touch position and responds according to the touch position to implement the touch function. When the touch sensing modules adopted on the display screen 20 with the touch function are different, the original touch sensing signals collected by the touch sensing modules are different, and the converted touch signals are not identical. In order to simplify the following description, the display content in the interactive tablet 10 is shown and described only by using the display screen 20 as a display area, and the area outside the display screen 20 in the interactive tablet 10 is not repeatedly displayed. In the interactive tablet 10, in order to implement a quick operation of a common function without exiting from a current page, sidebars are typically disposed on two sides of the display screen 20, where a plurality of function controls are displayed, for example, a camera control 201 for starting a camera, a writing control for quickly starting writing, and the like.
For the infrared display screen, the touch sensing module is an infrared touch frame, the touch signals acquired by the touch sensing module can comprise signals representing infrared blocking, the touch signals obtained through conversion can comprise position touch signals, and the position touch signals can comprise X coordinates and Y coordinates of touch positions. For the capacitive display screen, the touch sensing module is a capacitive touch pad, the touch signals collected by the touch sensing module can comprise currents flowing through electrodes of the touch screen, the touch signals obtained through conversion can comprise position touch signals, and the position touch signals can comprise X coordinates and Y coordinates of touch positions. For the resistive display screen, the touch sensing module is a resistive touch pad, the touch sensing signals collected by the touch sensing module can comprise voltages of touch positions, the touch signals obtained through conversion can comprise position touch signals, and the position touch signals can comprise X coordinates and Y coordinates of the touch positions. For the electromagnetic display screen, the touch sensing module is an electromagnetic plate, the acquired touch sensing signals can comprise the variation of magnetic flux and the frequency of the received electromagnetic signals, the touch signals obtained through conversion can comprise position touch signals corresponding to the variation of the magnetic flux and pressure sensing signals corresponding to the frequency, the position touch signals can comprise X coordinates and Y coordinates of touch positions, and the pressure sensing signals can comprise pressure values. For the pressure-sensitive display screen, the touch sensing module is a pressure sensor, the touch sensing signals acquired by the pressure sensor can comprise pressure signals, the touch signals obtained through conversion can comprise position touch signals, and the position touch signals can comprise X coordinates and Y coordinates of touch positions.
The interaction panel based on the touch-sensitive display screen can be used for acquiring the field pictures in real time to carry out picture sharing when being used in a multi-person communication scene such as a video conference, so that communication participants have better communication experience, and the information transmission effect in the multi-person communication process is improved. In the actual process of acquiring a field picture, a camera in an interactive tablet can only acquire image data and share pictures by default parameters, and the pictures shared in the mode are not usually the pictures which are required to be transmitted most on site. For example, in a conference room, the interactive flat board is installed on a side wall surface, the camera performs image data acquisition and image sharing according to default parameters, the background of the image may be a majority of conference rooms, the foreground is communication participants in the conference room, at this time, the communication participants occupy only a small proportion in the image, the image sharing is insufficient for the remote communication participants to see on-site emphasis, and therefore, the camera needs to be adjusted, so that the image data acquisition and image sharing of a heavy point region in the conference room are realized.
Referring to fig. 2 and3, an existing interaction process for adjusting a camera is presented. As shown in fig. 2, the camera position setting interface includes a setting window 251, a zoom control 253 and a movement control 254, first, a preview shooting picture of the camera under a default camera position parameter is displayed in a setting window 251, and the user adjusts the camera, so that the default camera position parameter is affected correspondingly, and further the preview shooting picture displayed in the setting window is changed, and when the change reaches the picture content expected by the user, the default camera position parameter is fixed, so that the setting of a camera position is completed. In fig. 2, the foreground in the preview shooting picture is a conference table and three communication participants, for example, the preset machine position is confirmed in the initial state corresponding to the default machine position parameter shown in fig. 2, and then the output picture of the preset machine position is actually a picture collected by the camera under the default machine position parameter. In fact, the state shown in fig. 2 may not be a picture actually required to be shared in the conference scene, at this time, the camera needs to be adjusted, the preview shooting picture 252 is first enlarged through the zoom control 253, so as to adjust the focal length of the camera, the zoom control is visually shown as enlarging from the center of the preview shooting picture 252 outwards, the new preview shooting picture shot by the adjusted camera is displayed in real time in the setting window 251, and visually, the new preview shooting picture is the central part of the preview shooting picture 252 before enlargement, at this time, if the new preview shooting picture 252 is not a picture required to be shared, as shown in fig. 3, the camera needs to be adjusted through the moving control 254, and at the same time, the preview shooting picture shot in real time after camera adjustment is displayed in the setting window 251 until the ideal shared picture is presented in the setting window 251. In the operation process through the moving control 254, if it is desired to adjust the camera, so that the image shot by the camera is located in the range where the edge of the preview shot image 252 is smaller, the focal length of the camera needs to be adjusted through the zoom control 253, and after the preview shot image 252 is enlarged by a larger multiple, the camera can shoot an ideal shared image through moving the moving control 254 for a larger number of times. In this process, although the preview shot picture 252 after the adjustment of the camera can be displayed in real time, the presentation of the adjustment effect is incomplete and intuitive, if the preview shot picture of the adjusted camera is not the picture that the user wants to share, the adjustment needs to be readjusted, and sometimes the adjustment controls are adjusted to the limit condition and cannot be continuously adjusted, at this time, the adjustment of the camera needs to be reset, and the operation process is complicated. In addition, for the interactive flat plate, because the initial picture collected by the camera is generally a wide-angle picture of the external environment such as a conference room, when the image collection is required to be carried out on a specific area in a video conference, the satisfactory effect can be achieved by carrying out multiple times of adjustment, the efficiency is low, and the overall adjustment speed and the adjustment accuracy are poor when the camera is adjusted.
The camera adjusting method provided by the embodiment of the application is suitable for the integral design scheme of the interactive flat panel, and can be realized on the interactive flat panel by software and/or hardware.
The following describes each embodiment in detail.
Fig. 1 is a flowchart of a method for adjusting a camera according to an embodiment of the present application, as shown in fig. 1, where the method for adjusting a camera includes:
Step S101, receiving a first trigger operation, displaying a first setting window, wherein a first preview picture acquired by a camera is displayed in the first setting window, and a selection frame is displayed on the first preview picture.
The embodiment of the application realizes man-machine interaction when the camera is adjusted based on an interface. The interface refers to an application program used for receiving and/or displaying information, such as an application of a video playing class, wherein the interaction interface is mainly used for displaying changed video pictures, an application of a real-time communication class, the interaction interface is mainly used for receiving content input by a near-end user and displaying content input by a far-end user, an application of a file editing class, the interaction interface is mainly used for receiving content input by the user and displaying the content input by the user, and an application of a browser class, the interaction interface is mainly used for receiving keywords input by the user and displaying webpage content obtained based on the keywords.
The camera adjusting method is applied to setting applications attached to a system or various third party applications needing to use the camera, and the corresponding interface is a user interface presented in the process of adjusting the camera. The system-attached setting application is an integrated management application that sets various states of the system, such as a display state, a sound state, and the like. And through the setting application attached to the system, the setting items are operated step by step, and finally, the camera position setting interface is opened to adjust the camera. Of course, the camera can be adjusted by providing a camera position setting interface in a video conference application which is independently and specially installed. The interface for realizing camera adjustment is the same as the position setting interface in the embodiment of the application, regardless of the application. For example, as shown in fig. 2 and 3, the machine position setting interface is the existing machine position setting scheme. In different operation links for adjusting the camera, the camera position setting interface can display different interface elements, such as various windows, controls and the like, so that a user can check the adjusting effect, continue adjusting the camera or confirm that the adjustment is completed in the process of adjusting the camera.
Before the camera adjustment is specifically performed, when the operation corresponding to the camera adjustment item or the operation of the special control is received, namely, the camera position setting interface is opened, and when the camera position setting interface is opened, the camera position setting interface can synchronously display the newly-added control as a trigger entry for realizing the camera adjustment in the embodiment of the application. The default machine position can be displayed in the machine position setting interface, and an output picture of the default machine position is a picture acquired by the camera under default parameters. And the camera position setting interface can also simultaneously display a preview shooting picture of the camera, and the preview shooting picture is used as a preview of an output picture of a default camera position and is used as a preview of a currently acquired picture by a user. In specific implementation, an independent window can be displayed after triggering setting, and corresponding independent windows are displayed when different adjustment stages are entered. The exemplary illustration is in the embodiment of the application with a window display based on a machine level setting interface, which is substantially the same as the implementation in a separate window.
The first trigger operation may be a trigger operation of a shortcut button control set in a window of a third party application using a camera or a trigger operation of a new control in a machine position setting interface or a trigger operation of other gestures or physical buttons. For example, when a trigger operation acting on a newly added control is received, the first trigger operation is confirmed to be received, as a response to the trigger operation, a first setting window is displayed, and a preview shooting picture of the camera is displayed in the first setting window, that is, a user can see a complete picture acquired under a default position in the first setting window. The first preview picture in the first setting window has the maximum picture range, based on the maximum picture range, a user can quickly and coarsely confirm the target area which needs to be acquired by the camera, and correspondingly, the maximum range shot in the first preview picture is kept unchanged.
The selection frame is a tool for realizing rough setting of the first preview picture by a user, the selection frame is rectangular, the aspect ratio of the selection frame is the same as that of a common video playing window or screen, for example, 16:9, 15:9, 16:10 and the like, and in the specific implementation process, various selectable selection frames can be provided, and the user selects one of the selection frames to be used as the currently used selection frame through selection operation. The adjustable means that the selection frame displays interactive attributes, the selection frame can realize adjustment within the display range of the preview shooting picture according to the operation of a user, and the specific adjustment comprises zoom adjustment and translation adjustment which are responded according to the operation of the user, wherein the length-width ratio is kept unchanged in the zoom adjustment process, namely, the length-width ratio of the selection frame is kept unchanged under the condition that the selection frame is not switched.
It should be noted that, in the first setting window, a focusing control may also be set, if the user considers that the range of the preview shooting picture generated based on the default machine position parameter is too large, the details are not clear enough, the preview shooting picture can be directly adjusted first by the focusing control, so as to obtain a preview shooting picture with unchanged picture size, smaller shooting range and clearer details, and the specific implementation is the same as the implementation mode based on the focusing control in the subsequent second setting window and third setting window.
In a specific display mode, the first setting window is a full-screen window or a partial window, the full-screen window is displayed with a restoration control, and the partial window is provided with the full-screen control, and the corresponding camera adjusting method further comprises the steps of switching the first setting window to be displayed with the partial window when a trigger operation acting on the restoration control is received under the condition that the first setting window is displayed with the full-screen window, and switching the first setting window to be displayed with the full-screen window when the trigger operation acting on the full-screen control is received under the condition that the first setting window is displayed with the partial window. In the first setting window, a first preview picture is displayed, the shooting range corresponding to the first preview picture is probably larger, when the first preview picture is displayed in a smaller first setting window (namely, a local window), the operation precision is too low, and at the moment, the first preview picture can be displayed in a full screen manner through a full screen control in the local window (namely, a full screen window), so that more accurate viewing and operation are realized. Correspondingly, when the trigger operation of the restoration control is received on the basis of full-screen window display, the display of the partial window is restored, so that rough setting can be completed in a small-range operation.
Step S102, receiving an adjustment operation on the selection frame, and adjusting the closed area of the selection frame according to the adjustment operation.
The adjustment operation of the selection frame mainly comprises two operation types, wherein the first operation type is the dragging operation of the position of the selection frame to realize the movement operation of the selection frame, and the second operation type is the dragging operation of the position of four corners to realize the zooming operation of the selection frame, and the two operation types can both adjust the closed area of the selection frame. The operation ranges of both operation types are constrained to the display range of the first preview screen, that is, constrained to the first setting window range. For touch operation, for example, when a finger is used as a touch object, the size and shielding of the touch object can affect the accuracy of user operation, and the position of the selection frame is adjusted on the basis of displaying a first preview screen on the first setting window, so that the actual closed area may occupy a small proportion, details of the screen cannot be clearly checked, fine operation cannot be realized on the basis of clearly checking the details, and therefore, the adjustment operation can be regarded as rough setting when the camera is adjusted. Visually, the adjustment operation based on the selection frame is to select a part of screen content from the first preview screen.
The confirmation of the closed area corresponding to the selection frame may be performed by an adjustment operation directly acting on the selection frame, or may be performed by receiving a third movement operation acting on the first preview screen, and adjusting the screen content of the first preview screen in the selection frame according to the third movement operation. The relative positional relationship between the selection frame and the first preview screen may be achieved by adjusting the selection frame or by adjusting the first preview screen.
Step S103, after receiving the first confirmation operation, adjusting the camera position parameters according to the selection frame, and displaying a second setting window, wherein a second preview picture acquired by the camera is displayed in the second setting window, and the second preview picture is consistent with the picture content selected by the frame in the selection frame.
For the camera, which range is used for image acquisition to obtain a picture depends on the machine position parameters. The machine position parameter refers to a physical state parameter of an electric control device in the camera when image acquisition is performed, and specifically may include one or more of a position parameter, an angle parameter and a focal length parameter. The position parameter is a physical position parameter of an electric control device driving the camera to translate when image acquisition is performed, for example, the translation distance of each direction, the specific translatable distance and direction are determined according to the movement distance and movement direction supported by the related electric control device, and the parameter determines the translation change of an acquisition area when the camera performs image acquisition and is generally controlled through a sliding rail. The angle parameter is an angle parameter of an electric control device driving the camera to rotate when the image acquisition is carried out, and specifically the rotatable angle and direction are determined according to the rotation distance and rotation angle supported by the related electric control device, the rotation change of an acquisition area when the camera carries out the image acquisition is determined by the angle parameter, and the cradle head can move on the sliding rail generally through cradle head control. The focal length parameter refers to a distance parameter between lenses determined by an electronic control device for adjusting the distance between each lens in the camera when image acquisition is performed, and the changeable focal length range is determined according to the moving range supported by the related electronic control device and the optical parameter of the lens, and the parameter determines the depth of field change when the camera performs image acquisition, in general, the larger the focal length is, the smaller the range of an acquisition area when image acquisition is performed.
The first confirmation operation may be triggered by a first confirmation control which is displayed in a normalized manner in the first setting window, or may be triggered by the first confirmation control which is temporarily displayed after the specific operation on the selection frame is finished, and when the first confirmation operation is received and the confirmation operation acting on the first confirmation control is acted on, the first confirmation operation is confirmed to be received, which is equivalent to that the user confirms that the setting in the first setting window is completed, and the subsequent adjustment can be performed.
The image acquisition of which range is carried out to obtain the picture depends on the machine position parameter, and correspondingly, the machine position parameter can be confirmed reversely under the condition of confirming the camera-related static parameter according to the picture obtained by the image acquisition. In step S102, a part of the screen content is visually selected from the first preview screen through the selection frame, but the size and position of the selection frame in the first preview screen are determined, and according to the size proportional relationship between the selection frame and the first preview screen, when the focal length of the first preview screen has been confirmed, the focal length required for image acquisition of the area corresponding to the selection frame can be confirmed, and according to the offset distance between the center of the selection frame and the center of the first preview screen, the position and/or angle of the camera required to be adjusted can be confirmed. The confirmed information is the position parameter obtained according to the selection frame, and is also the target parameter when the camera is regulated after the first confirmation operation is received, the preview picture collected by the camera under the target parameter is a second preview picture, and the second preview picture is displayed on the second setting window, so that rough regulation of the camera is completed.
In the adjustment process, the size and the position of the selection frame are adjusted at least once respectively in terms of vision and interaction, namely, the camera position parameters of the camera can be adjusted to be generally aligned to the range which needs to be shared by the user by total two times of adjustment. Compared with the prior art, the focal length and the angle and/or the position can be adjusted according to the preset step length for many times, the scheme can realize quick and accurate operation, and the adjusting speed and the adjusting accuracy when the camera is adjusted in the rough setting stage are integrally improved.
It should be noted that, in the embodiment of the present application, the content of the pictures is consistent, which means that the final imaging data is not identical, or the scaled image data is identical, but the content of the pictures is substantially identical. For the camera, image acquisition is performed on a smaller area after rotating a certain angle, and image acquisition is performed on an angle area comprising the smaller area before rotating a certain angle, because of the change of a shooting angle, the image acquired after rotating the angle may not be reduced and then completely overlapped with the corresponding area of the image acquired before rotating the angle, but the image caused by the hardware of the camera is slightly different, because the step S102 is used for realizing rough setting, and implementation of the scheme is not affected.
When the user confirms that the rough setting of the first setting window is close to the ideal output screen range, the fine setting can be entered by the first confirmation operation. And for the interactive tablet, when the first confirmation operation is received, displaying a second setting window for the user to perform fine setting. The second setting window may be set slightly smaller than the first setting window, as large as the first setting window, or larger than the first setting window.
Step S104, receiving a first moving operation acting on the second setting window, adjusting the camera position parameter of the camera according to the first moving operation, and displaying a third preview picture acquired after the camera is adjusted in the second setting window.
On the basis that rough setting is completed, a picture acquired by the camera according to the position parameters confirmed by the moving operation (namely a second preview picture) is displayed in the second setting window, and the second preview picture is close to an ideal output picture of a user, fine operation can be performed in the second setting window, and the ideal output picture of the user can be accurately and quickly realized. Specifically, the user may perform the first moving operation in the second setting window, adjust the shooting range of the camera in the same direction and the same distance (or the distance with a preset proportion) according to the direction and the distance of the real-time position of the first moving operation relative to the starting point of the first moving operation, and then reconfirm the preview screen (i.e. the third preview screen) to display the preview screen in the second setting window, so that the user can see the latest and clear-detail screen adjusted according to the first moving operation in the second setting window, thereby accurately and quickly implementing the ideal output screen of the user. In the embodiment of the application, the first preview screen and the second preview screen are screens which are kept unchanged after initial generation, the third preview screen is changed according to the first moving operation, and the second preview screen and the third preview screen are display screens in different stages in the second setting window, wherein the second preview screen is an initial display screen in the second setting window, and the third preview screen is a display screen which is changed and is subsequent on the basis of the second preview screen.
The method comprises the steps of receiving a first trigger operation, displaying a first setting window, displaying a first preview picture acquired by a camera in the first setting window, displaying a selection frame on the first preview picture, receiving an adjustment operation acting on the selection frame, adjusting a closed area of the selection frame according to the adjustment operation, adjusting a position parameter of the camera according to the selection frame after receiving a first confirmation operation, displaying a second setting window, displaying a second preview picture acquired by the camera in the second setting window, wherein the second preview picture is consistent with picture content selected by a frame in the selection frame, receiving a first moving operation acting on the second setting window, adjusting the position parameter of the camera according to the first moving operation, and displaying a third preview picture acquired after the camera is adjusted in the second setting window. When the camera position is set, rough setting and fine setting are respectively carried out through the first setting window and the second setting window in sequence, the rough setting can rapidly realize comprehensive adjustment of the azimuth angle and the focal length of the camera through one-time operation of the selection frame, and the fine setting can accurately carry out detail adjustment under the condition of approaching ideal output, so that the adjusting speed and the adjusting accuracy when the camera is adjusted are integrally improved
On the basis of finishing the fine setting in step S104, after receiving the second confirmation operation, closing the second setting window, displaying the machine position setting interface, adding a preset machine position identifier to the machine position setting interface, wherein the machine position parameter of the camera corresponding to the preset machine position identifier is the machine position parameter when the picture shot by the camera is the third preview picture, and the preset machine position identifier displays the thumbnail of the third preview picture. And when the user confirms that the fine setting of the second setting window has realized the ideal output picture, triggering the second confirmation control to finish the camera position setting. And for the interactive tablet, when receiving the triggering operation acting on the second confirmation control, returning to the machine position setting interface for the user to check all the latest preset machine positions. The second confirmation control may be displayed in a normalized manner, or may be displayed temporarily after each specific first movement operation is completed, in the same manner as the first confirmation control.
After returning to the machine position setting interface, the user may execute step S102 to step S104 again to set a new machine position, or may close the machine position setting interface, and use any preset machine position in a scene, such as a video conference scene, where the camera needs to be specifically called. The output picture of the preset camera position is a picture generated by calling and adjusting the camera to collect images according to the correspondingly stored camera position parameters.
It should be understood that if focusing is performed in the first setting window as described above, the parameters after focusing should be recorded to the preset machine position identifier as a basis for realizing the predetermined picture output by the preset machine position.
As an optional implementation manner, the preset machine position identifier is displayed with an editing control, and further adjustment of the existing preset machine position can be achieved based on the editing control. The camera adjusting method based on the display of the editing control further comprises a step S105-a step S108 for realizing further adjustment of the existing preset machine position.
Step S105, receiving a second trigger operation acting on the editing control, and displaying a third setting window, wherein the third setting window displays a third preview picture acquired by the camera.
In terms of interaction requirements, the user further adjusts the existing preset machine position, and the possibility is high because the output picture of the existing preset machine position has small deviation from the ideal output picture, and the deviation is small, so in the embodiment, the design and interaction of the third setting window are similar to those of the second setting window, and the fine adjustment of the camera is realized through the fine setting, so that the fine adjustment of the output picture is performed.
Step S106, receiving a second moving operation acting on the third setting window, adjusting the camera position parameter of the camera according to the second moving operation, and displaying a fourth preview picture acquired after the camera is adjusted in the third setting window.
And S107, after receiving the third confirmation operation, closing the third setting window, displaying the machine position setting interface, updating the preset machine position identification on the machine position setting interface, wherein the machine position parameter of the camera corresponding to the updated preset machine position identification is the machine position parameter when the picture shot by the camera is the fourth preview picture, and the updated preset machine position identification displays the thumbnail of the fourth preview picture.
In the operation of the third setting window and the receiving of the third confirmation operation, the operation of the second setting window and the receiving of the first confirmation operation and the second confirmation operation may be referred to, for example, by normalizing the displayed third confirmation control or the temporarily displayed third confirmation control, and receiving the third confirmation operation.
In the embodiment, the preset machine position identifier or the third setting window may further display a deletion control, and the camera adjusting method further includes step S108:
And S108, returning to the machine position setting interface when receiving a third trigger operation acting on the deleting control, and deleting the target preset machine position identification confirmed by the third trigger operation.
After deleting a preset machine position identifier, directly returning to the machine position setting interface, and executing any embodiment of the application based on the machine position setting interface after returning to the machine position setting interface.
In specific implementation, the deletion control can be displayed directly at the same time as the editing control in the preset machine position identification, and if the deletion operation is performed, the deletion operation is triggered directly at the preset machine position identification. Another alternative implementation manner is to set only a deletion control on the preset machine position identifier, and delete the unnecessary preset machine position directly, and the new preset machine position is needed to be created directly through steps S101-S104.
In the specific implementation process, one or more of the first setting window, the second setting window and the third setting window can also set a closing control, when a fourth triggering operation acting on the closing control is received, a prompt window is popped up, a storage control and a cancellation control can be set in the prompt window, if a fifth triggering operation acting on the storage control is received, a preset machine position identification is stored and returned to the machine position setting window, and if a sixth triggering operation acting on the cancellation control is received, the current setting operation is ended and the machine position setting window is returned. Of course, the sixth trigger operation on the cancel control is received, or the preset machine position setting may be continued after the closing process is exited. In addition, when the fourth trigger operation acting on the closing control is received, the prompt box is not popped up, but the current setting operation is directly ended, and the machine position setting window is returned.
In the specific implementation process, one or more of the first setting window, the second setting window and the third setting window can also display an elimination control, when a seventh trigger operation acting on the elimination control is received, the existing operation in the current setting window is eliminated, the original state of entering the setting window is restored, a user can quickly reset the current setting link, and camera adjustment is flexibly performed.
In addition, a direct saving control can be set in the first setting window, when the triggering operation acting on the direct saving control is received, the region confirmed by the selection frame in the first setting window can be saved as a preset machine position directly, and the machine position setting interface is returned to finish the current setting operation.
In another optional implementation manner, a focusing control is displayed in the second setting window and/or the third setting window, correspondingly, after the second setting window or the third setting window is displayed, a focusing trigger operation acting on the focusing control is received, the camera position parameter of the camera is adjusted according to the focusing trigger operation, and a fourth preview picture acquired after the camera is adjusted is displayed in the third setting window. For a shooting preview picture acquired by a camera based on default hardware parameters, the shooting preview picture with the largest shooting range is usually the shooting preview picture with the largest shooting range, and for a user, the preview picture in the range may contain a too large proportion of background pictures, the occupation ratio of a foreground picture which can be set for sharing is too small, and at the moment, the focal length of the camera can be adjusted through a focusing control, so that the occupation ratio of the foreground picture in the whole shooting preview picture is correspondingly changed.
In the interactive flat panel, the camera may actually realize the image acquisition function in a mode of combining a plurality of lenses, and different lenses are combined with lenses with different parameters to realize different imaging advantages, for example, the advantages of a wide-angle lens are displayed in a panoramic view, the advantages of a long-focus lens are focused in a long distance, and the like. The camera can be regarded as comprising at least two sub-cameras with different focal ranges, correspondingly, the sub-cameras which are matched with the target focal length confirmed by the focusing triggering operation are called according to the focal range after the triggering operation acted on the focusing control is received, and the camera position parameters of the cameras are adjusted according to the target focal length, which is equivalent to the imaging of each sub-camera, and the proper sub-camera is selected to obtain the optimal imaging effect. When the sub-cameras with the target focal length being adapted are switched, space mapping is carried out according to camera coordinate systems of the sub-cameras before and after switching, and pictures of the same area in the world coordinate system are collected through the sub-cameras after switching to be used as a second preview picture or a third preview picture.
In the upper layer application of implementing the camera position setting interface, the interaction panel provided with the wide angle lens and the tele lens can display the picture captured by the camera through the wide angle lens in the camera position setting interface by default after the data interface provided by the browser, such as navigator. Then, entering different setting windows, the user can adjust the size of the selectable region or set the magnification factor (the length-width ratio is always kept at 16:9) according to the needs, an ideal output picture wanted by the user is obtained, and the interactive flat board stores the positions (such as the left upper corner coordinate and the right lower corner coordinate) of the frame selected region. Correspondingly, the camera position parameters of the preset camera position also comprise the identification and the focal length of the sub-cameras.
On the basis that camera adjustment is completed and the adjusted camera position parameters are stored as a preset camera position, a default camera position identification and a preset camera position identification can be displayed when a camera position selection interface is opened, clicking operation on the preset camera position identification is received, camera position parameters corresponding to the preset camera position identification confirmed by the clicking operation are obtained, and camera positions of the cameras are adjusted according to the obtained camera position parameters. The use of the preset machine position can be realized through the steps S109-S111.
Step S109, when the machine position selection interface is opened, the machine position identification is displayed, wherein the machine position identification comprises default machine position identification and preset machine position identification, and each preset machine position identification correspondingly records machine position parameters of a preset machine position.
The camera position selection interface may be displayed by triggering the camera control 201 shown in fig. 4, that is, when a triggering operation acting on the camera control 201 is received, the camera position selection interface is displayed, where the camera position selection interface is used to display all available preset camera position identifiers. Based on preset machine positions, the calling camera is arranged outside the default machine position, at least one preset machine position is arranged in addition, and at a machine position selection interface, the default machine position and the preset machine position are provided with corresponding machine position identifiers, namely the default machine position identifier and the preset machine position identifier, wherein the calling of the default machine position is the same as that of the prior art, repeated description is not needed, and the calling of the preset machine position needs to acquire corresponding machine position parameters to call the camera to generate corresponding output pictures.
Step S110, when receiving triggering operation acting on any preset machine position identifier, obtaining the machine position parameter corresponding to the preset machine position identifier.
And receiving triggering operation acting on any preset machine position identifier, and correspondingly acquiring the machine position parameter of the record corresponding to the preset machine position identifier where the triggering operation is located.
And step S111, calling and adjusting a camera to acquire images according to the acquired camera position parameters.
On the basis of acquiring the machine position parameters, according to the target sub-cameras (if a plurality of sub-cameras exist) recorded in the machine position parameters and the parameter information of each dimension, the target sub-cameras are called to finish focusing, direction rotation and translation adjustment according to the parameter information of each dimension, and after the adjustment is adjusted to the corresponding shooting state, the acquired picture in the state is used by the application of the current calling camera. Referring to fig. 5-10, the following is a visual presentation based on fig. 5-10, illustrating an exemplary implementation of the process of the present embodiment in an interactive tablet disposed in a conference room. As described above, the preset position setting under the camera setting may be entered through various setting entries, the position setting interface 21 shown in fig. 5 is displayed, and the first preview screen 211, the default position identifier 213 and the new control 212 are currently displayed in the position setting interface 21, where the first preview screen 211 is currently shot on a conference table in the conference room and chairs and conference participants around the conference table.
When the interactive tablet receives a trigger operation acting on the newly added control 212, it confirms that a first trigger operation is received, and responds to the first trigger operation, as shown in fig. 6, a first setting window 22a is displayed on the machine position setting interface 21, the first setting window 22a is displayed in a local window, the first preview screen 211 is entirely filled in the first setting window 22a, and a selection box 221, a full screen control 222, an elimination control 224, a direct save control 225 and a first confirmation control 226 are also displayed in the first setting window 22 a.
When a movement operation or a zoom operation is received on the selection frame 221 in fig. 6, the position of the selection frame 221 in the first setting window 22a is adjusted accordingly, resulting in a new closed area. When a trigger operation on the full screen control 222 is received in fig. 6, the first setting window 22a is switched to the first setting window 22b displayed full screen in fig. 7, and display elements in the first setting window 22a and the first setting window 22b are the same or corresponding, for example, display elements for performing preset machine position setting are the same, and display elements (the full screen control 222 and the reduction control 227) for switching between the two correspond. Upon receiving the trigger operation to the cancel control 224 in fig. 6, all operations to the selection frame 221 in the first setting window 22a are canceled, and the whole is restored to the state in which the first setting window 22a has just been opened. Upon receiving the operation of the direct save control 225 in fig. 6, the preset machine location may be saved directly, and a new preset machine location may be generated directly without a subsequent operation. When the triggering operation of the first confirmation control 226 is received in fig. 6, it is confirmed that the adjustment operation of the selection frame 221 has been completed, the rough setting has been completed, a new position parameter can be confirmed according to the size relationship and the relative position relationship of the selection frame 221 and the first preview screen 221, and the position parameter when the camera shoots the first preview screen 221, and the second setting window 23 shown in fig. 8 is entered, and the second preview screen acquired according to the new position parameter is initially displayed in the second setting window 23. The operational response in fig. 7 is substantially the same as that in fig. 6 and will not be repeated here. It should be noted that, in the embodiment of the present application, the execution process may not have a strict sequence, and some operations may not necessarily be performed before other operations are performed, for example, after entering the first setting window 22a, the selection box 221 may not be adjusted, or may not be switched to a full-screen state, but may directly respond to the triggering operation of the first confirmation control 226 to enter the second setting window 23 to start fine setting.
As shown in fig. 8, the second setting window 23 is filled with a second preview screen confirmed by the selection box 221 in fig. 6, and a focus control 231, a close control 232, an cancel control 234, and a second confirm control 235 are also displayed. The focal length of the display screen of the second setting window 23 can be adjusted through the focusing control 231 by the first moving operation (movement of the finger shown in fig. 8) on the second setting window 23, and the operation of setting the preset machine position currently can be ended by directly closing the second setting window 23 through the closing control 232, or the preset machine position currently set can be saved while closing. Existing operations in the second setup window 23 may be reversed by the cancel control 234, and the state of just opening the second setup window 23 is restored. The second confirmation control 235 can confirm that the preset machine position is set, save the corresponding machine position parameters and return to the machine position setting interface 21.
As shown in fig. 9, the returned machine position setting interface 21 adds a preset machine position identifier 214, an editing control is displayed in the preset machine position identifier 214, when a trigger operation acting on the editing control 214 is received, a third setting window 24 as shown in fig. 10 is displayed, the third setting window 24 can be filled with a sub-picture displaying a corresponding display area in the latest preview shooting picture, and in addition, a focusing control 241, a closing control 242, a deleting control 243, an eliminating control 244 and a third confirmation control 245 are also displayed. The operation of the focus control 241, the close control 242, the cancel control 244, and the third confirm control 245 are substantially the same as those of the second setup window 23, and will not be repeated here. When receiving the triggering operation acting on the delete control 243, the preset machine position identifier 214 is deleted, and the machine position setting interface is returned.
Through the operation, the preset machine position can be quickly and flexibly set from the imaging of one camera according to the pictures which the user needs to share, and flexibly called in the specific use process, the process of setting the preset machine position has visual and definite operation target, the ideal output is realized, the operation is simple, and the interaction habit of the user on the touch-sensitive display screen is met.
Fig. 11 is a flowchart of a method for image acquisition according to an embodiment of the present application. The image acquisition method provided in the embodiment and the camera adjustment method provided in the above embodiment are applied in the same scene, and mainly realize image acquisition through preset machine positions set in advance, and provide a process of setting the preset machine positions. Referring to fig. 11, the image acquisition method provided in this embodiment includes:
Step S201, when a machine position selection interface is opened, machine position identifiers are displayed, wherein the machine position identifiers comprise default machine position identifiers and preset machine position identifiers, and each preset machine position identifier correspondingly records machine position parameters of a preset machine position;
Step S202, when receiving triggering operation acting on any preset machine position identifier, acquiring a machine position parameter corresponding to the preset machine position identifier;
and step 203, calling and adjusting a camera to acquire images according to the acquired camera position parameters.
On the basis of the above embodiment, the image acquisition method further includes:
receiving a first triggering operation, displaying a first setting window, wherein a first preview picture acquired by a camera is displayed in the first setting window, and a selection frame is displayed on the first preview picture;
Receiving an adjustment operation acting on the selection frame, and adjusting the closed area of the selection frame according to the adjustment operation;
After receiving the first confirmation operation, adjusting the camera position parameter of the camera according to the selection frame, and displaying a second setting window, wherein a second preview picture acquired by the camera is displayed in the second setting window, and the second preview picture is consistent with the picture content selected by the frame in the selection frame;
and receiving a first moving operation acting on the second setting window, adjusting the camera position parameter of the camera according to the first moving operation, and displaying a third preview picture acquired after the camera is adjusted in the second setting window.
On the basis of the above embodiment, after receiving the first movement operation acting on the second setting window, adjusting the camera position parameter of the camera according to the first movement operation, and displaying the third preview picture acquired after the camera is adjusted in the second setting window, the method further includes:
after receiving the second confirmation operation, closing the second setting window, displaying the machine position setting interface, adding a preset machine position identifier on the machine position setting interface, wherein the machine position parameter of the camera corresponding to the preset machine position identifier is the machine position parameter when the picture shot by the camera is the third preview picture, and the preset machine position identifier displays a thumbnail of the third preview picture.
On the basis of the above embodiment, the preset machine position identifier is displayed with an editing control, and the image acquisition method further includes:
receiving a second trigger operation acting on the editing control, and displaying a third setting window, wherein the third setting window displays a third preview picture acquired by the camera;
Receiving a second moving operation acting on the third setting window, adjusting the camera position parameter of the camera according to the second moving operation, and displaying a fourth preview picture acquired after the camera is adjusted in the third setting window;
And after receiving the third confirmation operation, closing the third setting window, displaying the machine position setting interface, updating the preset machine position identification on the machine position setting interface, wherein the machine position parameter of the camera corresponding to the updated preset machine position identification is the machine position parameter when the picture shot by the camera is the fourth preview picture, and the updated preset machine position identification displays the thumbnail of the fourth preview picture.
On the basis of the embodiment, the preset machine position mark or the third setting window is displayed with a deletion control, and the image acquisition method further comprises the following steps:
And returning to the machine position setting interface when receiving a third triggering operation acting on the deleting control, and deleting the target preset machine position identification confirmed by the third triggering operation.
On the basis of the embodiment, a focusing control is displayed in the third setting window;
correspondingly, receiving a second trigger operation acting on the editing control, and after displaying the third setting window, further comprising:
And receiving a focusing trigger operation acting on the focusing control, adjusting the camera position parameter of the camera according to the focusing trigger operation, and displaying a fourth preview picture acquired after the camera is adjusted in a third setting window.
On the basis of the embodiment, a focusing control is displayed in the second setting window;
correspondingly, after receiving the first confirmation operation, adjusting the camera position parameter according to the selection frame, and displaying the second setting window, the method further comprises:
And receiving a focusing trigger operation acting on the focusing control, adjusting the camera position parameter of the camera according to the focusing trigger operation, and displaying a third preview picture acquired after the camera is adjusted in the second setting window.
On the basis of the embodiment, the camera comprises at least two sub cameras with different focal ranges;
correspondingly, receiving a focusing trigger operation acting on a focusing control, and adjusting the camera position parameter of the camera according to the focusing trigger operation, wherein the method comprises the following steps:
and receiving triggering operation acting on the focusing control, calling a sub camera which is matched with the target focus confirmed by the focusing triggering operation according to the focus range, and adjusting the camera position parameter of the camera according to the target focus.
On the basis of the above embodiment, receiving a triggering operation acting on a focusing control, calling a sub-camera adapted to a target focal length confirmed by the focusing triggering operation according to a focal length range, and adjusting a camera position parameter of the camera according to the target focal length, including:
When the sub-cameras with the target focal length being adapted are switched, space mapping is carried out according to camera coordinate systems of the sub-cameras before and after switching, and pictures of the same area in the world coordinate system are collected through the sub-cameras after switching to be used as a second preview picture or a third preview picture.
On the basis of the embodiment, the first setting window is a full-screen window or a partial window, the full-screen window is displayed with a restoration control, and the partial window is provided with a full-screen control;
Correspondingly, the image acquisition method further comprises the following steps:
When a trigger operation acting on a restore control is received under the condition that the first setting window is displayed in a full-screen window, switching the first setting window to be displayed in a local window;
when the trigger operation acting on the full screen control is received under the condition that the first setting window is displayed in the local window, the first setting window is switched to be displayed in the full screen window.
On the basis of the above embodiment, after receiving the first trigger operation and displaying the first setting window, the method further includes:
And receiving a third movement operation acting on the first preview screen, and adjusting the screen content of the first preview screen in the selection frame according to the third movement operation.
The method comprises the steps of displaying the machine position identification when a machine position selection interface is opened, wherein the machine position identification comprises default machine position identification and preset machine position identification, each preset machine position identification correspondingly records a machine position parameter of a preset machine position, acquiring the machine position parameter corresponding to the preset machine position identification when trigger operation acting on any preset machine position identification is received, calling and adjusting a camera to acquire images according to the acquired machine position parameter, setting a process operation target of the preset machine position to be visual and clear, and realizing ideal output through the machine position selection interface.
It should be noted that, in the embodiment of the image acquisition method, the whole process from the preset machine position setting before the image acquisition to the final generated picture is described with the image acquisition as a core, and the specific implementation of a single step is described in the embodiment of the camera adjustment method, which is not repeated here.
Fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 12, the electronic device includes a processor 510 and a memory 520, and may further include an input device 530, an output device 540, and a communication device 550 in a common product form, where the number of processors 510 in the electronic device may be one or more, and one processor 510 is illustrated in fig. 12, and the processors 510, the memory 520, the input device 530, the output device 540, and the communication device 550 in the electronic device may be connected by a bus or other manners, and in fig. 12, the connection is illustrated by a bus.
The memory 520 is a computer readable storage medium, and may be used to store a software program, a computer executable program, and modules, such as program instructions/modules corresponding to the camera adjustment method and the image acquisition method in the embodiment of the present application. The processor 510 executes various functional applications of the electronic device and data processing, i.e., implements the camera adjustment method and/or the image acquisition method described above, by running software programs, instructions, and modules stored in the memory 520.
The memory 520 may mainly include a storage program area that may store an operating system, application programs required for at least one function, and a storage data area that may store data created according to the use of the electronic device, etc. In addition, memory 520 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, memory 520 may further include memory located remotely from processor 510, which may be connected to the electronic device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 530 may be used to receive entered numeric or character information and to generate key signal inputs related to user settings and function control of the electronic device. The output 540 may include a display device such as a display screen.
The embodiment of the application also provides a computer readable storage medium, on which a computer program is stored, which when executed by an electronic device, implements the related operations in the camera adjustment method or the image acquisition method provided in any embodiment of the application, and has corresponding functions and beneficial effects.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product.
Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory. The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that 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 one does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
Note that the above is only a preferred embodiment of the present application and the technical principle applied. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, while the application has been described in connection with the above embodiments, the application is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the application, which is set forth in the following claims.

Claims (17)

1. A camera adjustment method, comprising:
Receiving a first triggering operation, and displaying a first setting window, wherein a first preview picture acquired by a camera is displayed in the first setting window, and a selection frame is displayed on the first preview picture;
receiving an adjustment operation acting on the selection frame, and adjusting the closed area of the selection frame according to the adjustment operation;
After receiving a first confirmation operation, adjusting the position parameters of the camera according to the selection frame, and displaying a second setting window, wherein a second preview picture acquired by the camera is displayed in the second setting window, and the second preview picture is consistent with the picture content selected by the frame in the selection frame;
And receiving a first moving operation acting on the second setting window, adjusting the camera position parameter of the camera according to the first moving operation, and displaying a third preview picture acquired after the camera is adjusted in the second setting window.
2. The method for adjusting a camera according to claim 1, wherein after receiving the first movement operation acting on the second setting window, adjusting the camera position parameter according to the first movement operation, and displaying the third preview screen acquired after the adjustment of the camera in the second setting window, the method further comprises:
And after receiving a second confirmation operation, closing the second setting window, displaying a machine position setting interface, adding a preset machine position identifier on the machine position setting interface, wherein the machine position parameter of the camera corresponding to the preset machine position identifier is the machine position parameter when the picture shot by the camera is a third preview picture, and the preset machine position identifier displays a thumbnail of the third preview picture.
3. The camera adjustment method according to claim 2, wherein the preset position mark displays an edit control, and the camera adjustment method further comprises:
Receiving a second trigger operation acting on the editing control, and displaying a third setting window, wherein the third setting window displays a third preview picture acquired by the camera;
Receiving a second moving operation acting on the third setting window, adjusting the camera position parameter of the camera according to the second moving operation, and displaying a fourth preview picture acquired after the camera is adjusted in the third setting window;
And after receiving a third confirmation operation, closing the third setting window, displaying a machine position setting interface, updating a preset machine position identifier on the machine position setting interface, wherein the machine position parameter of the camera corresponding to the updated preset machine position identifier is the machine position parameter when the picture shot by the camera is a fourth preview picture, and the updated preset machine position identifier displays a thumbnail of the fourth preview picture.
4. The camera adjustment method according to claim 3, wherein the preset position mark or the third setting window displays a deletion control, and the camera adjustment method further comprises:
And when receiving a third trigger operation acting on the deleting control, returning to the machine position setting interface, and deleting the target preset machine position identification confirmed by the third trigger operation.
5. The camera adjustment method according to claim 2, the camera adjustment method further comprising:
when the machine position selection interface is opened, displaying a default machine position identifier and the preset machine position identifier;
And receiving clicking operation on the preset machine position identification, acquiring machine position parameters corresponding to the preset machine position identification confirmed by the clicking operation, and adjusting the machine position of the camera according to the acquired machine position parameters.
6. The camera adjustment method according to claim 3, wherein a focusing control is displayed in the third setting window;
correspondingly, the receiving the second trigger operation acting on the editing control, after displaying the third setting window, further includes:
And receiving focusing trigger operation acting on the focusing control, adjusting the camera position parameter of the camera according to the focusing trigger operation, and displaying a fourth preview picture acquired after the camera is adjusted in the third setting window.
7. The camera adjustment method according to claim 1, wherein a focusing control is displayed in the second setting window;
Correspondingly, after receiving the first confirmation operation, adjusting the camera position parameter of the camera according to the selection frame, and displaying the second setting window, the method further comprises:
And receiving focusing trigger operation acting on the focusing control, adjusting the camera position parameter of the camera according to the focusing trigger operation, and displaying a third preview picture acquired after the camera is adjusted in the second setting window.
8. The camera adjustment method according to claim 6 or 7, the camera comprising at least two sub-cameras having different focal ranges;
correspondingly, the receiving the focusing trigger operation acting on the focusing control, and adjusting the camera position parameter of the camera according to the focusing trigger operation comprises the following steps:
And receiving triggering operation acting on the focusing control, calling a sub camera matched with a target focal length confirmed by the focusing triggering operation according to the focal length range, and adjusting the camera position parameter of the camera according to the target focal length.
9. The camera adjustment method according to claim 8, wherein the receiving the triggering operation on the focusing control, invoking a sub-camera adapted to a target focal length confirmed by the focusing triggering operation according to the focal length range, and adjusting a camera position parameter of the camera according to the target focal length, includes:
And when the sub cameras with the target focal length being adapted are switched, performing space mapping according to camera coordinate systems of the sub cameras before and after the switching, and acquiring pictures of the same area in the world coordinate system through the switched sub cameras to serve as a second preview picture or a third preview picture.
10. The camera adjustment method according to any one of claims 1 to 7, wherein the first setting window is a full-screen window or a partial window, the full-screen window is displayed with a restore control, and the partial window is provided with a full-screen control;
correspondingly, the camera adjusting method further comprises the following steps:
When a trigger operation acting on the restore control is received under the condition that the first setting window is displayed in a full-screen window, switching the first setting window to be displayed in a local window;
when the triggering operation acting on the full-screen control is received under the condition that the first setting window is displayed in a local window, the first setting window is switched to be displayed in the full-screen window.
11. The camera adjustment method according to any one of claims 1 to 7, wherein after receiving the first trigger operation and displaying the first setting window, further comprising:
And receiving a third moving operation acting on the first preview picture, and adjusting the picture content of the first preview picture in the selection frame according to the third moving operation.
12. The image acquisition method comprises the following steps:
When a machine position selection interface is opened, machine position identifiers are displayed, wherein the machine position identifiers comprise default machine position identifiers and preset machine position identifiers, and each preset machine position identifier is correspondingly recorded with a machine position parameter of a preset machine position;
When a triggering operation acting on any preset machine position identifier is received, obtaining a machine position parameter corresponding to the preset machine position identifier;
and calling and adjusting the camera to acquire images according to the acquired camera position parameters.
13. The image acquisition method according to claim 12, further comprising:
Receiving a first triggering operation, and displaying a first setting window, wherein a first preview picture acquired by a camera is displayed in the first setting window, and a selection frame is displayed on the first preview picture;
receiving an adjustment operation acting on the selection frame, and adjusting the closed area of the selection frame according to the adjustment operation;
After receiving a first confirmation operation, adjusting the position parameters of the camera according to the selection frame, and displaying a second setting window, wherein a second preview picture acquired by the camera is displayed in the second setting window, and the second preview picture is consistent with the picture content selected by the frame in the selection frame;
And receiving a first moving operation acting on the second setting window, adjusting the camera position parameter of the camera according to the first moving operation, and displaying a third preview picture acquired after the camera is adjusted in the second setting window.
14. The image capturing method according to claim 13, wherein after receiving the first movement operation acting on the second setting window, adjusting the camera position parameter according to the first movement operation, and displaying the third preview screen captured by the adjusted camera in the second setting window, the method further comprises:
And after receiving a second confirmation operation, closing the second setting window, displaying a machine position setting interface, adding a preset machine position identifier on the machine position setting interface, wherein the machine position parameter of the camera corresponding to the preset machine position identifier is the machine position parameter when the picture shot by the camera is a third preview picture, and the preset machine position identifier displays a thumbnail of the third preview picture.
15. The image capturing method of claim 14, the preset machine location identifier displaying an edit control, the image capturing method further comprising:
Receiving a second trigger operation acting on the editing control, and displaying a third setting window, wherein the third setting window displays a third preview picture acquired by the camera;
Receiving a second moving operation acting on the third setting window, adjusting the camera position parameter of the camera according to the second moving operation, and displaying a fourth preview picture acquired after the camera is adjusted in the third setting window;
And after receiving a third confirmation operation, closing the third setting window, displaying a machine position setting interface, updating a preset machine position identifier on the machine position setting interface, wherein the machine position parameter of the camera corresponding to the updated preset machine position identifier is the machine position parameter when the picture shot by the camera is a fourth preview picture, and the updated preset machine position identifier displays a thumbnail of the fourth preview picture.
16. An electronic device, comprising:
One or more processors;
a memory for storing one or more programs;
The one or more programs, when executed by the one or more processors, cause the electronic device to implement the method of any of claims 1-15.
17. A computer readable storage medium having stored thereon a computer program which, when executed by an electronic device tablet, implements the method of any one of claims 1-15.
CN202310877564.2A 2023-07-17 2023-07-17 Camera adjusting method, image acquisition method, electronic device and storage medium Pending CN119364177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310877564.2A CN119364177A (en) 2023-07-17 2023-07-17 Camera adjusting method, image acquisition method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310877564.2A CN119364177A (en) 2023-07-17 2023-07-17 Camera adjusting method, image acquisition method, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN119364177A true CN119364177A (en) 2025-01-24

Family

ID=94316090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310877564.2A Pending CN119364177A (en) 2023-07-17 2023-07-17 Camera adjusting method, image acquisition method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN119364177A (en)

Similar Documents

Publication Publication Date Title
JP7652901B2 (en) Photographing method and device, electronic device and readable storage medium
US10230901B2 (en) Realtime capture exposure adjust gestures
CN112312016B (en) Shooting processing method and device, electronic equipment and readable storage medium
JP2023551264A (en) Photography methods, devices, electronic devices and storage media
CN106993131B (en) Information processing method and electronic equipment
CN112887617B (en) A shooting method, device and electronic equipment
CN105930052B (en) A kind of screenshot method and device
WO2021243788A1 (en) Screenshot method and apparatus
KR20150117820A (en) Method For Displaying Image and An Electronic Device Thereof
WO2022161240A1 (en) Photographing method and apparatus, electronic device, and medium
WO2018166069A1 (en) Photographing preview method, graphical user interface, and terminal
WO2023143531A1 (en) Photographing method and apparatus, and electronic device
WO2025036252A1 (en) Photographing method, and terminal, electronic device and readable storage medium
WO2023231869A1 (en) Photographing method and apparatus
JP7640718B2 (en) Photographing method, device, electronic device, and readable storage medium
CN113873160B (en) Image processing method, device, electronic equipment and computer storage medium
CN119364177A (en) Camera adjusting method, image acquisition method, electronic device and storage medium
CN112492205B (en) Image preview method and device and electronic equipment
CN112887624B (en) Shooting method and device and electronic equipment
CN116188343A (en) Image fusion method and device, electronic equipment, chip and medium
CN119364176A (en) Virtual machine position setting method, image acquisition method, electronic device and storage medium
CN113873168A (en) Shooting method, device, electronic device and medium
CN113905170A (en) Zoom control method, device, storage medium and electronic device
CN117528250A (en) Multimedia file processing method, multimedia file processing device and electronic equipment
CN120640125A (en) Shooting method, shooting device, electronic equipment, storage medium and program product

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