CN113055581A - Image shooting method and device and electronic equipment - Google Patents

Image shooting method and device and electronic equipment Download PDF

Info

Publication number
CN113055581A
CN113055581A CN201911365837.5A CN201911365837A CN113055581A CN 113055581 A CN113055581 A CN 113055581A CN 201911365837 A CN201911365837 A CN 201911365837A CN 113055581 A CN113055581 A CN 113055581A
Authority
CN
China
Prior art keywords
shooting
reference mark
image
shot
mark
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.)
Granted
Application number
CN201911365837.5A
Other languages
Chinese (zh)
Other versions
CN113055581B (en
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201911365837.5A priority Critical patent/CN113055581B/en
Publication of CN113055581A publication Critical patent/CN113055581A/en
Application granted granted Critical
Publication of CN113055581B publication Critical patent/CN113055581B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/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
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators
    • H04N13/204Image signal generators using stereoscopic image cameras
    • H04N13/207Image signal generators using stereoscopic image cameras using a single 2D image sensor
    • H04N13/218Image signal generators using stereoscopic image cameras using a single 2D image sensor using spatial multiplexing
    • 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 application discloses an image shooting method and device and electronic equipment, and relates to the field of surrounding image shooting. The specific implementation scheme is as follows: acquiring a target object through the camera device to display a preview image of the target object in a preview interface, wherein the target object comprises a shooting object and a shooting marker arranged on the shooting object, N shooting marks are arranged on the shooting marker, the N shooting marks surround the shooting marker for one circle, and N is an integer greater than 1; and executing shooting operation on the target object to obtain N shot images, wherein the N shot images are obtained by shooting under the condition that each shooting mark in the N shooting marks is aligned with the first reference mark in the preview interface. The method and the device reduce the requirements for hardware equipment, and are favorable for saving use and shooting cost.

Description

Image shooting method and device and electronic equipment
Technical Field
The present disclosure relates to the field of image processing technologies, and in particular, to an image capturing method and an image capturing apparatus.
Background
In order to obtain a multi-angle image of an article, it is usually necessary to take multiple images of the article from various angles of the article, and then synthesize these images into a stereoscopic image of the article based on a corresponding synthesis algorithm, which may be, for example, a 360-degree surround image.
The existing surround shooting mode generally needs to set a specific shooting place and provide professional shooting equipment, when the existing surround shooting mode is used, an article is set in the shooting place, then the shooting equipment is controlled to move around the article along a specific track, and meanwhile, images of the article are shot for multiple times to obtain a surround image of the article. However, this method requires a high space and equipment, resulting in a high shooting cost.
Disclosure of Invention
In a first aspect, the present application provides an image capturing method applied to an electronic device, where the electronic device includes an image capturing apparatus, the method including:
acquiring a target object through the camera device to display a preview image of the target object in a preview interface, wherein the target object comprises a shooting object and a shooting marker arranged on the shooting object, N shooting marks are arranged on the shooting marker, the N shooting marks surround the shooting marker for one circle, and N is an integer greater than 1;
and executing shooting operation on the target object to obtain N shot images, wherein the N shot images are obtained by shooting under the condition that each shooting mark in the N shooting marks is aligned with the first reference mark in the preview interface.
Optionally, the preview interface further comprises a second reference mark, wherein the second reference mark is a horizontal reference mark, and the first reference mark is a reference mark line perpendicular to the second reference mark; and when each shot image is shot, a horizontal state identifier displayed on the preview interface is aligned with the second reference mark, wherein the horizontal state identifier is detected by the space attitude sensor of the electronic equipment.
The second reference mark is aligned with the horizontal state mark displayed on the preview interface, so that the electronic equipment can be ensured to be in a horizontal state in the process of shooting the image, and the image shooting effect is improved.
Optionally, the preview interface further comprises a third reference mark, wherein the shape of the third reference mark matches the photographic marker; and when each shot image is shot, the shot marker in the preview image displayed on the preview interface is matched with the third reference marker.
By controlling the third reference mark to be matched with the shooting marker, the electronic equipment can be ensured to be over against the target object in the process of shooting the image, and the image shooting effect is improved.
Optionally, the method further comprises:
after a first shot image is shot, displaying first prompt information, wherein the first prompt information is used for prompting a user at a shooting position for shooting a second shot image, the first shot image and the second shot image are two shot images in the N shot images, and a shooting mark corresponding to the first shot image and a shooting mark corresponding to the second shot image are adjacent shooting marks.
Through displaying the first prompt message, the position of the electronic equipment in the image shooting process can be conveniently adjusted, so that the shooting effect is improved.
Optionally, the method further comprises at least one of:
in the process of displaying the preview image of the target object, if the shooting mark in the N shooting marks is not aligned with the first reference mark, displaying second prompt information, wherein the second prompt information is used for prompting that the shooting mark in the N shooting marks is not aligned with the first reference mark;
in the process of displaying the preview image of the target object, if the horizontal state identifier is not aligned with the second reference mark, displaying third prompt information, where the third prompt information is used to prompt that the horizontal state identifier is not aligned with the second reference mark.
By displaying at least one of the second prompt message and the third prompt message, the posture of the electronic device can be adjusted conveniently according to the second prompt message and the third prompt message, and the shooting effect is improved.
In a second aspect, the present application provides an image capturing apparatus applied to an electronic device, where the electronic device includes an image capturing apparatus, including:
the display module is used for acquiring a target object through the camera device so as to display a preview image of the target object in a preview interface, wherein the target object comprises a shooting object and a shooting marker arranged on the shooting object, N shooting marks are arranged on the shooting marker, the N shooting marks surround the shooting marker for one circle, and N is an integer greater than 1;
and the shooting module is used for executing shooting operation on the target object to obtain N shot images, wherein the N shot images are obtained by shooting under the condition that each shooting mark in the N shooting marks is aligned with the first reference mark in the preview interface.
Optionally, the preview interface further comprises a second reference mark, wherein the second reference mark is a horizontal reference mark, and the first reference mark is a reference mark line perpendicular to the second reference mark; and when each shot image is shot, a horizontal state identifier displayed on the preview interface is aligned with the second reference mark, wherein the horizontal state identifier is detected by the space attitude sensor of the electronic equipment.
Optionally, the preview interface further comprises a third reference mark, wherein the shape of the third reference mark matches the photographic marker; and when each shot image is shot, the shot marker in the preview image displayed on the preview interface is matched with the third reference marker.
Optionally, the display module is further configured to display first prompt information after a first shot image is shot, where the first prompt information is used to prompt a user of a shooting position where a second shot image is shot, where the first shot image and the second shot image are two shot images of the N shot images, and a shot mark corresponding to the first shot image and a shot mark corresponding to the second shot image are adjacent shot marks.
Optionally, the display module is further configured to at least one of:
in the process of displaying the preview image of the target object, if the shooting mark in the N shooting marks is not aligned with the first reference mark, displaying second prompt information, wherein the second prompt information is used for prompting that the shooting mark in the N shooting marks is not aligned with the first reference mark;
in the process of displaying the preview image of the target object, if the horizontal state identifier is not aligned with the second reference mark, displaying third prompt information, where the third prompt information is used to prompt that the horizontal state identifier is not aligned with the second reference mark.
In a third aspect, the present application provides an electronic device, comprising:
at least one camera device;
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of the first aspects.
In a fourth aspect, the present application provides a non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any of the first aspects above.
One embodiment in the above application has the following advantages or benefits: the first shooting mark and the shooting mark are used for shooting the image under the condition that the first shooting mark and the shooting mark are used for shooting the image, so that the shooting position of the image can be conveniently determined, the problem that the accurate positioning can be realized only by relying on equipment to run on a rail in the related technology is solved, the requirement on hardware equipment is further reduced, and the use and shooting cost is saved.
Other effects of the above-described alternative will be described below with reference to specific embodiments.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
FIG. 1 is a flow chart of an image capture method according to a first embodiment of the present application;
FIG. 2A is a schematic diagram of a shooting scene in an embodiment of the present application;
FIG. 2B is a schematic structural diagram of a photographic marker in an embodiment of the present application;
FIG. 3 is a schematic diagram of a preview interface according to an embodiment of the present application;
FIG. 4 is a flowchart of an image capture method according to a second embodiment of the present application;
fig. 5A is a scene diagram of an image capturing method that can implement the embodiment of the present application;
fig. 5B is another scene diagram in which the image capturing method of the embodiment of the present application can be implemented;
FIG. 6 is a block diagram of an image capture device according to an embodiment of the present application;
fig. 7 is a block diagram of an electronic device according to an image capturing method of an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The application provides an image shooting method which is applied to electronic equipment, wherein the electronic equipment comprises an image pickup device.
As shown in fig. 1, in one embodiment, the image photographing method includes the steps of:
s101: and acquiring a target object through the camera device so as to display a preview image of the target object in a preview interface.
The target object in this embodiment includes a photographic subject, and a photographic marker provided on the photographic subject.
As shown in fig. 2A, a photographic subject refers to an article whose surrounding image needs to be obtained, and a photographic marker 200 is placed on the photographic subject to serve as a positioning reference marker during photographing.
As shown in fig. 2B, in one embodiment, the photographing marker 200 includes a support base 210 and a reference part 220, wherein the support base 210 is located at the bottom of the reference part 220 for supporting the reference part 220. In this embodiment, the support base 210 includes three support legs 211 with adjustable length, and a plurality of horizontal levels 212 are further disposed on the support base 210, wherein at least two of the horizontal levels 212 are not parallel in axial direction.
In the using process, the length of the three supporting legs 211 is adjusted, so that the detection results of the plurality of gradienters 212 are all in a horizontal state, and thus, the shooting marker 200 can be considered to be in the horizontal state.
Further, can also set up the slipmat on the supporting legs 211 to adapt to the different shooting objects, can improve the stability of placing, supporting seat 210 can also have enough big dead weight, in order as the counter weight, can improve its prevent wind and rain-proof effect.
The photographing marker 200 is provided with N photographing markers 221, the N photographing markers 221 surround the photographing marker 200 for one turn, and N is an integer greater than 1.
The value of N may be set according to actual conditions, for example, various values such as 5, 6, 7, 8, 12, 24, 32, and the like, obviously, the larger the value of N is, the more the captured images are obtained, which is helpful for embodying features and details of the target object, and the smaller N is, the fewer the captured images are obtained, which is, correspondingly, the less the workload is.
In this embodiment, the reference portion 220 has a conical shape, and a plurality of angle marks, i.e., the N shooting marks 221, are disposed along a generatrix direction of the reference portion, and the angle marks are disposed around the conical reference portion 220 for one turn, so that at least one angle mark can be observed in each direction.
Obviously, in other embodiments, certain changes can be made to the shooting marker; for example, the shape and the supporting mode of the supporting seat can be adjusted, and the supporting and fixing effects are realized by utilizing a plurality of supporting legs; for example, the shape of the fixing portion may be adjusted to be a circular truncated cone shape, a pyramid shape, or the like; for example, the shape of the imaging mark may be adjusted to be a character, a pattern, or the like.
In this embodiment, the specific structure of the shooting marker is not further limited as long as the positioning function can be realized in the shooting process.
S102: and carrying out shooting operation on the target object to obtain N shooting images.
As shown in fig. 3, the N captured images obtained in the present embodiment are N captured images captured with each of the N captured markers aligned with the first reference marker 311 in the preview interface.
Since the N photographing marks are disposed around the photographing mark by one turn, and the position of the first reference mark 311 in the preview interface is fixed, the position where the N photographing images are photographed is also actually around the photographing mark by one turn, which can also be understood as being around the photographing object, so that the surrounding image of the target object can be obtained.
Further, when the N shot images are shot, the first reference mark 311 in the preview interface is aligned with the N shot marks, and since the positions of the shot marks on the shot marks are known and determined, the relative positions of the obtained N shot images and the target object are also determined at the time of shooting, so that the shot positions can be determined more accurately.
Further, taking the shooting marker shown in fig. 2B as an example, when the shooting marker is directly observed from an angle scale, the observed angle scale is a vertical straight line, and if the angle scale is observed from a side direction, the observed angle scale is an oblique line, so that if the first reference marker 311 displayed on the preview interface of the electronic device can be overlapped with the angle scale, it indicates that the position of the electronic device at this time is directly aligned with the angle scale. If the first reference mark 311 cannot be overlapped with the angle scale mark by adjusting the posture of the electronic device, it indicates that the position of the electronic device is not directly opposite to the angle scale mark. Therefore, by controlling each of the N shooting marks to be aligned with the first reference mark 311 in the preview interface, it is also possible to play a role in assisting in determining the shooting position, which helps to improve the shooting effect.
Because the first shooting mark and the shooting mark shoot the image under the condition that the first shooting mark and the shooting mark are opposite to the first shooting mark, the shooting position of the image can be conveniently determined, the shooting position can be accurately determined even if the first shooting mark and the shooting mark are not arranged, the problem that accurate positioning can be realized only by relying on equipment to run on a track in the related technology is solved, the requirement on hardware equipment is further reduced, and the use cost and the shooting cost are saved.
Optionally, as shown in fig. 3, in a specific embodiment, the preview interface further includes a second reference mark 321, and each captured image is captured, and the horizontal status indicator 322 displayed by the preview interface is aligned with the second reference mark 321.
In this embodiment, the second reference mark 321 is a horizontal reference mark, and the first reference mark 311 is a reference mark line perpendicular to the second reference mark 321.
Specifically, the horizontal reference mark line is a fixed mark line displayed on a preview interface of the electronic device, and the horizontal reference mark line is arranged along a transverse direction of the image preview interface.
The horizontal status indicator 322 is the horizontal status indicator 322 detected by the spatial attitude sensor of the electronic device, and in this embodiment, the horizontal status indicator 322 is a circular ring shape, and obviously, the specific shape is not limited thereto.
The spatial attitude sensor may specifically be a sensor that can be used for electronic device attitude detection, including but not limited to a gyroscope. In use, it detects the horizontal direction and displays a horizontal status indicator 322 parallel to the horizontal direction on the preview interface of the electronic device, so that when the second reference mark 321 is aligned with the horizontal status indicator 322, the transverse axis of the electronic device can be considered to be in a horizontal state.
The first reference mark 311 is a reference mark line perpendicular to the second reference mark 321, that is, when the horizontal state indicator 322 displayed on the preview interface is aligned with the second reference mark 321, the first reference mark 311 is located in a plane perpendicular to the horizontal plane.
In this way, by providing the second reference mark 321 and acquiring the captured image when the second reference mark 321 is aligned with the horizontal state mark 322, it can be ensured that the transverse axis of the electronic device is in a horizontal state during the capturing process, which is helpful for improving the capturing effect.
Optionally, the method further comprises at least one of:
in the process of displaying the preview image of the target object, if the shooting mark of the N shooting marks is not aligned with the first reference mark 311, displaying second prompt information;
in the process of displaying the preview image of the target object, if the horizontal state identifier 322 is not aligned with the second reference mark 321, a third prompt message is displayed.
The second prompting information is used for prompting that one shooting mark in the N shooting marks is not aligned with the first reference mark 311, and the third prompting information is used for prompting that the horizontal state identifier 322 is not aligned with the second reference mark 321.
In use, the photographing mark in the preview image displayed on the preview interface may be recognized by the image recognition apparatus, and then it is determined whether the photographing mark is aligned with the first reference mark 311.
In addition, the attitude of the electronic device can also be detected by a spatial attitude sensor in the electronic device to determine whether to align.
For example, if the spatial attitude sensor detects that the lateral axis of the electronic device is not in a horizontal state, it indicates that the horizontal state indicator 322 is not aligned with the second reference mark 321, whereas if the lateral axis is in a horizontal state, it indicates that the horizontal state indicator 322 is aligned with the second reference mark 321.
Accordingly, the second prompt message or the third prompt message is displayed to prompt the adjustment mode of the attitude of the electronic device, such as displaying an arrow or animation to prompt how to adjust the horizontal yaw angle (or roll angle) or the pitch angle of the electronic device.
Furthermore, the posture of the electronic equipment can be prompted to be adjusted to a proper posture in a vibration mode, a sound mode, an image mode and the like, and convenience and accuracy of posture adjustment of the electronic equipment are improved.
By displaying at least one of the first prompt message and the second prompt message, the method and the device are helpful for guiding how to adjust the position and the posture of the electronic equipment under the condition that the electronic equipment does not meet the shooting requirement, thereby simplifying the difficulty of the operation process and being beneficial to improving the shooting effect.
Optionally, the preview interface further comprises a third reference mark 331.
The shape of the third reference mark 331 matches the photographing marker; and the photographed marker in the preview image displayed on the preview interface matches the third reference mark 331 when each photographed image is photographed.
Taking the photographing marker as the conical shape as an example, the side view of the photographing marker is triangular, and correspondingly, the third reference mark 331 is provided as a triangle having the same shape as the photographing marker, when the electronic device is facing the photographing marker, the shapes of the third reference mark 331 and the photographing marker are the same, and by providing the third reference mark 331 with a proper size, the third reference mark 331 and the photographing marker can be just overlapped.
In one embodiment, the third reference mark 331 may include a plurality of scales, for example, a plurality of triangles with different sizes but the same shape, and during the shooting process, the same triangle is controlled to coincide with the shooting mark, so as to ensure that the distances between the shooting position and the shooting mark are equal in the N shooting processes.
In another embodiment, the size of the third reference mark 331 may be adjustable, and in the first shooting process, after the shooting position is determined, the size of the third reference mark 331 is adjusted to coincide with the shooting mark, and then the size of the third reference mark 331 is kept unchanged, and in the subsequent shooting process, the third reference mark 331 is controlled to coincide with the shooting mark.
By setting the third reference mark 331, it is possible to easily determine the position of the target object in the multiple shooting processes, so that the distances between the shooting positions in the multiple shooting processes and the position of the target object are substantially the same, which is helpful for improving the shooting effect.
Further, in an optional specific embodiment, a boundary 341 may be further displayed on the preview interface, where the boundary 341 is a view range of the target object, and during the shooting process, the target object is controlled to be located within the range of the boundary 341, so as to avoid that the distance between the electronic device and the target object is too small and the shooting effect is affected.
As shown in fig. 4, fig. 4 is a flowchart of another embodiment of the image capturing method, and compared with the embodiment shown in fig. 1, in this embodiment, first prompt information for prompting a capturing position is further generated during image capturing.
As shown in fig. 4, in this embodiment, the image capturing method includes the steps of:
s401: and acquiring a target object through the camera device so as to display a preview image of the target object in a preview interface.
S402, shooting operation is carried out on the target object to obtain N shot images, wherein after the first shot image is shot, first prompt information is displayed.
The first shot image and the second shot image are two shot images in the N shot images, and the shot mark corresponding to the first shot image and the shot mark corresponding to the second shot image are adjacent shot marks. The first captured image is taken as a first captured image, and the second captured image is taken as a second captured image.
In one shooting process, as shown in fig. 5A, taking a shooting object as an automobile as an example, 16 images of the shooting object are required to be acquired as surrounding images of the shooting object, the position of acquiring each shooting image is located on a circle with the shooting object as a center, and an included angle formed between the shooting positions of two adjacent images and the center of the circle is 22.5 degrees.
In the shooting process, the shooting marker is placed on the shooting object, and the circle center is located on the central axis of the shooting marker.
When the first captured image is captured, for example, at point a in fig. 5A, the first captured image is acquired, and then the second captured image is acquired at point B, a prompt message is popped up to prompt the position of point B.
During implementation, the number of the equant points can be determined through a sensor built in the electronic equipment, each shooting position is further determined, and corresponding first prompt information is generated, so that the operation process is facilitated to be simplified.
As shown in fig. 5B, in each shooting process, the automobile is controlled to be located within the range of the boundary 341 of the preview interface, and the first reference mark 311 is adjusted to be aligned with the shooting mark, the second reference mark 321 is aligned with the horizontal state mark 322, and the third reference mark 331 is aligned with the shooting mark, so that the electronic device is in an aligned posture with the target object, and a required shooting image can be further acquired.
Further, the user moves to different shooting positions, and under the condition that the conditions are met, the corresponding shooting images are obtained, and finally the obtained shooting images are used as surrounding images of the target object.
In addition, each optional step in the two embodiments can be applied to another embodiment, and substantially the same technical effect can be achieved, which is not described herein again.
The present application further provides an image capturing apparatus applied to an electronic device, where the electronic device includes an image capturing apparatus, as shown in fig. 6, the image capturing apparatus 600 includes:
the display module 601 is configured to acquire a target object through the camera device, so as to display a preview image of the target object in a preview interface, where the target object includes a shooting object and a shooting marker disposed on the shooting object, and N shooting marks are disposed on the shooting marker, where the N shooting marks surround the shooting marker for one circle, and N is an integer greater than 1;
a shooting module 602, configured to perform a shooting operation on the target object to obtain N shot images, where the N shot images are obtained by shooting each of the N shot marks in alignment with the first reference mark in the preview interface.
Optionally, the preview interface further comprises a second reference mark, wherein the second reference mark is a horizontal reference mark, and the first reference mark is a reference mark line perpendicular to the second reference mark; and when each shot image is shot, a horizontal state identifier displayed on the preview interface is aligned with the second reference mark, wherein the horizontal state identifier is detected by the space attitude sensor of the electronic equipment.
Optionally, the preview interface further comprises a third reference mark, wherein the shape of the third reference mark matches the photographic marker; and when each shot image is shot, the shot marker in the preview image displayed on the preview interface is matched with the third reference marker.
Optionally, the display module 601 is further configured to display first prompt information after a first captured image is captured, where the first prompt information is used to prompt a user to capture a second captured image at a capture position, where the first captured image and the second captured image are two captured images of the N captured images, and a capture mark corresponding to the first captured image and a capture mark corresponding to the second captured image are adjacent capture marks.
Optionally, the display module 601 is further configured to at least one of:
in the process of displaying the preview image of the target object, if the shooting mark in the N shooting marks is not aligned with the first reference mark, displaying second prompt information, wherein the second prompt information is used for prompting that the shooting mark in the N shooting marks is not aligned with the first reference mark;
in the process of displaying the preview image of the target object, if the horizontal state identifier is not aligned with the second reference mark, displaying third prompt information, where the third prompt information is used to prompt that the horizontal state identifier is not aligned with the second reference mark.
The image shooting device of the embodiment can realize each process of the method embodiment shown in fig. 1 or fig. 2, and because the image is shot under the condition that the first shooting mark and the shooting mark object shoot the first shooting mark and the shooting mark object, the shooting position of the image is convenient to determine, so that the problem that the precise positioning can be realized only by depending on the equipment running on a track in the related art is solved, the requirement on hardware equipment is further reduced, and the method is favorable for saving the use and shooting cost.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
As shown in fig. 7, is a block diagram of an electronic device according to an image capturing method of an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 7, the electronic apparatus includes: one or more cameras, one or more processors 701, memory 702, and interfaces for connecting the various components, including high-speed and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 7, one processor 701 is taken as an example.
The memory 702 is a non-transitory computer readable storage medium as provided herein. The memory stores instructions executable by at least one processor to cause the at least one processor to perform the image capture method provided herein. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to execute the image capturing method provided by the present application.
The memory 702, which is a non-transitory computer-readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the image capturing method in the embodiments of the present application (for example, the display module 601 and the capturing module 602 shown in fig. 6). The processor 701 executes various functional applications of the server and data processing, i.e., implements the image capturing method in the above-described method embodiments, by running non-transitory software programs, instructions, and modules stored in the memory 702.
The memory 702 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the image photographing device 600, and the like. Further, the memory 702 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 702 may optionally include memory located remotely from processor 701, which may be connected to image capture device 600 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 electronic device implementing the image photographing method may further include: an input device 703 and an output device 704. The processor 701, the memory 702, the input device 703 and the output device 704 may be connected by a bus or other means, and fig. 7 illustrates an example of a connection by a bus.
The input device 703 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the image capture device 600, such as a touch screen, keypad, mouse, track pad, touch pad, pointer stick, one or more mouse buttons, track ball, joystick, or other input device. The output devices 704 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of the embodiment of the application, because the images are shot under the condition that the first shooting mark and the shooting mark are used for shooting the images, the shooting position of the images can be conveniently determined, the problem that the accurate positioning can be realized only by relying on equipment to run on a track in the related technology is solved, the requirement on hardware equipment is further reduced, and the use cost and the shooting cost are saved.
In addition, the preview interface of the application can further comprise a second reference mark, and the second reference mark is aligned with the horizontal state mark displayed on the preview interface through control, so that the electronic equipment can be ensured to be in a horizontal state in the process of shooting the image, and the image shooting effect is improved.
The preview interface can further comprise a third reference mark, and the electronic equipment can be ensured to be over against the target object in the image shooting process by controlling the third reference mark to be matched with the shooting marker, so that the image shooting effect is improved.
The method and the device can also display prompt information for prompting the position of the mobile electronic equipment or adjusting the angle of the electronic equipment on the preview interface, help to reduce the implementation difficulty of the method and improve the convenience of operation by displaying the prompt information.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (12)

1. An image capturing method applied to an electronic apparatus including an image capturing device, the method comprising:
acquiring a target object through the camera device to display a preview image of the target object in a preview interface, wherein the target object comprises a shooting object and a shooting marker arranged on the shooting object, N shooting marks are arranged on the shooting marker, the N shooting marks surround the shooting marker for one circle, and N is an integer greater than 1;
and executing shooting operation on the target object to obtain N shot images, wherein the N shot images are obtained by shooting under the condition that each shooting mark in the N shooting marks is aligned with the first reference mark in the preview interface.
2. The method of claim 1, wherein the preview interface further comprises a second reference mark, wherein the second reference mark is a horizontal reference mark and the first reference mark is a reference mark line perpendicular to the second reference mark; and when each shot image is shot, a horizontal state identifier displayed on the preview interface is aligned with the second reference mark, wherein the horizontal state identifier is detected by the space attitude sensor of the electronic equipment.
3. The method of claim 1, wherein the preview interface further comprises a third reference mark, wherein the third reference mark matches the photographic marker in shape; and when each shot image is shot, the shot marker in the preview image displayed on the preview interface is matched with the third reference marker.
4. The method of claim 1, wherein the method further comprises:
after a first shot image is shot, displaying first prompt information, wherein the first prompt information is used for prompting a user at a shooting position for shooting a second shot image, the first shot image and the second shot image are two shot images in the N shot images, and a shooting mark corresponding to the first shot image and a shooting mark corresponding to the second shot image are adjacent shooting marks.
5. The method of claim 2, further comprising at least one of:
in the process of displaying the preview image of the target object, if the shooting mark in the N shooting marks is not aligned with the first reference mark, displaying second prompt information, wherein the second prompt information is used for prompting that the shooting mark in the N shooting marks is not aligned with the first reference mark;
in the process of displaying the preview image of the target object, if the horizontal state identifier is not aligned with the second reference mark, displaying third prompt information, where the third prompt information is used to prompt that the horizontal state identifier is not aligned with the second reference mark.
6. An image capturing apparatus applied to an electronic device including an image capturing apparatus, comprising:
the display module is used for acquiring a target object through the camera device so as to display a preview image of the target object in a preview interface, wherein the target object comprises a shooting object and a shooting marker arranged on the shooting object, N shooting marks are arranged on the shooting marker, the N shooting marks surround the shooting marker for one circle, and N is an integer greater than 1;
and the shooting module is used for executing shooting operation on the target object to obtain N shot images, wherein the N shot images are obtained by shooting under the condition that each shooting mark in the N shooting marks is aligned with the first reference mark in the preview interface.
7. The apparatus of claim 6, wherein the preview interface further comprises a second reference mark, wherein the second reference mark is a horizontal reference mark and the first reference mark is a reference mark line perpendicular to the second reference mark; and when each shot image is shot, a horizontal state identifier displayed on the preview interface is aligned with the second reference mark, wherein the horizontal state identifier is detected by the space attitude sensor of the electronic equipment.
8. The apparatus of claim 6, wherein the preview interface further comprises a third reference mark, wherein the third reference mark matches the photographic marker in shape; and when each shot image is shot, the shot marker in the preview image displayed on the preview interface is matched with the third reference marker.
9. The apparatus of claim 6, wherein the display module is further configured to display a first prompt message after a first captured image is captured, wherein the first prompt message is used to prompt a user of a capturing position of a second captured image, wherein the first captured image and the second captured image are two captured images of the N captured images, and a capture mark corresponding to the first captured image and a capture mark corresponding to the second captured image are adjacent to each other.
10. The apparatus of claim 7, wherein the display module is further configured to at least one of:
in the process of displaying the preview image of the target object, if the shooting mark in the N shooting marks is not aligned with the first reference mark, displaying second prompt information, wherein the second prompt information is used for prompting that the shooting mark in the N shooting marks is not aligned with the first reference mark;
in the process of displaying the preview image of the target object, if the horizontal state identifier is not aligned with the second reference mark, displaying third prompt information, where the third prompt information is used to prompt that the horizontal state identifier is not aligned with the second reference mark.
11. An electronic device, comprising:
at least one camera device;
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 5.
12. A non-transitory computer readable storage medium having stored thereon computer instructions, characterized in that the computer instructions are for causing the computer to perform the method of any of claims 1 to 5.
CN201911365837.5A 2019-12-26 2019-12-26 Image shooting method and device and electronic equipment Active CN113055581B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911365837.5A CN113055581B (en) 2019-12-26 2019-12-26 Image shooting method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911365837.5A CN113055581B (en) 2019-12-26 2019-12-26 Image shooting method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113055581A true CN113055581A (en) 2021-06-29
CN113055581B CN113055581B (en) 2022-07-22

Family

ID=76505231

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911365837.5A Active CN113055581B (en) 2019-12-26 2019-12-26 Image shooting method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113055581B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080285854A1 (en) * 2006-08-11 2008-11-20 Canon Kabushiki Kaisha Marker arrangement information measuring apparatus and method
US20130321402A1 (en) * 2012-06-05 2013-12-05 Apple Inc. Rotation operations in a mapping application
CN106657779A (en) * 2016-12-13 2017-05-10 重庆零度智控智能科技有限公司 Surround shooting method and device, and unmanned aerial vehicle
CN107968949A (en) * 2018-01-22 2018-04-27 盎锐(上海)信息科技有限公司 Dynamic data processing method and panoramic shooting system based on full-view image
CN108093239A (en) * 2018-02-07 2018-05-29 盎锐(上海)信息科技有限公司 Data processing method and panoramic shooting system based on single camera terminal
CN108259748A (en) * 2018-01-29 2018-07-06 盎锐(上海)信息科技有限公司 Image modeling method and panoramic shooting system based on panorama shooting device
CN108848313A (en) * 2018-08-10 2018-11-20 维沃移动通信有限公司 A kind of more people's photographic methods, terminal and storage medium
CN109196852A (en) * 2016-11-24 2019-01-11 华为技术有限公司 Shoot composition bootstrap technique and device
CN110336956A (en) * 2019-07-17 2019-10-15 山东数字人科技股份有限公司 A kind of circulating type photographic device and its image capture method
CN110445984A (en) * 2019-08-29 2019-11-12 维沃移动通信有限公司 A kind of shooting reminding method and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080285854A1 (en) * 2006-08-11 2008-11-20 Canon Kabushiki Kaisha Marker arrangement information measuring apparatus and method
US20130321402A1 (en) * 2012-06-05 2013-12-05 Apple Inc. Rotation operations in a mapping application
CN109196852A (en) * 2016-11-24 2019-01-11 华为技术有限公司 Shoot composition bootstrap technique and device
CN106657779A (en) * 2016-12-13 2017-05-10 重庆零度智控智能科技有限公司 Surround shooting method and device, and unmanned aerial vehicle
CN107968949A (en) * 2018-01-22 2018-04-27 盎锐(上海)信息科技有限公司 Dynamic data processing method and panoramic shooting system based on full-view image
CN108259748A (en) * 2018-01-29 2018-07-06 盎锐(上海)信息科技有限公司 Image modeling method and panoramic shooting system based on panorama shooting device
CN108093239A (en) * 2018-02-07 2018-05-29 盎锐(上海)信息科技有限公司 Data processing method and panoramic shooting system based on single camera terminal
CN108848313A (en) * 2018-08-10 2018-11-20 维沃移动通信有限公司 A kind of more people's photographic methods, terminal and storage medium
CN110336956A (en) * 2019-07-17 2019-10-15 山东数字人科技股份有限公司 A kind of circulating type photographic device and its image capture method
CN110445984A (en) * 2019-08-29 2019-11-12 维沃移动通信有限公司 A kind of shooting reminding method and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郑建冬等: "基于单数码相机自由拍摄的空间点定位", 《航空学报》 *

Also Published As

Publication number Publication date
CN113055581B (en) 2022-07-22

Similar Documents

Publication Publication Date Title
US20200025907A1 (en) Systems to track a moving sports object
JP6351870B1 (en) Omni-directional shooting of mobile devices
KR102595150B1 (en) Method for controlling multiple virtual characters, device, apparatus, and storage medium
US8704857B2 (en) Three-dimensional display device, mobile terminal and three-dimensional display tracking method
CN111612852B (en) Method and apparatus for verifying camera parameters
US11713970B2 (en) Positioning method, electronic device and computer readable storage medium
US20200326709A1 (en) Method and device for controlling reset of gimbal, gimbal, and unmanned aerial vehicle
CN110622091A (en) Cloud deck control method, device and system, computer storage medium and unmanned aerial vehicle
WO2022100265A1 (en) Camera calibration method, apparatus, and system
CN111757098A (en) Debugging method and device of intelligent face monitoring camera, camera and medium
WO2020051831A1 (en) Control method of handheld gimbal, handheld gimbal, and handheld device
CN110555838A (en) Image-based part fault detection method and device
CN112288825A (en) Camera calibration method and device, electronic equipment, storage medium and road side equipment
JP2016039390A (en) Image generation method and device
CN112995501A (en) Camera control method and device, electronic equipment and storage medium
EP3660780A1 (en) Method and apparatus for acquiring images, acquisition device, and computer storage medium
CN111191619A (en) Method, device and equipment for detecting virtual line segment of lane line and readable storage medium
CN113055581B (en) Image shooting method and device and electronic equipment
CN110556030B (en) Reading control method, device, equipment and computer readable storage medium
CN112102417A (en) Method and device for determining world coordinates and external reference calibration method for vehicle-road cooperative roadside camera
CN104991572A (en) Variable-angle hyperspectral imaging system based on posture stability and control method of said system
US11489998B2 (en) Image capturing apparatus and method of controlling image capturing apparatus
CN110689575B (en) Image collector calibration method, device, equipment and medium
CN112689133A (en) Image correction system and method
CN112738404A (en) Control method of electronic equipment and electronic equipment

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
GR01 Patent grant
GR01 Patent grant