CN111614904A - Panoramic image shooting control method and device, readable storage medium and processor - Google Patents

Panoramic image shooting control method and device, readable storage medium and processor Download PDF

Info

Publication number
CN111614904A
CN111614904A CN202010470251.1A CN202010470251A CN111614904A CN 111614904 A CN111614904 A CN 111614904A CN 202010470251 A CN202010470251 A CN 202010470251A CN 111614904 A CN111614904 A CN 111614904A
Authority
CN
China
Prior art keywords
panoramic
panoramic camera
shooting
distance
camera
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
CN202010470251.1A
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.)
Beike Technology Co Ltd
Original Assignee
Beike 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 Beike Technology Co Ltd filed Critical Beike Technology Co Ltd
Priority to CN202010470251.1A priority Critical patent/CN111614904A/en
Publication of CN111614904A publication Critical patent/CN111614904A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/698Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture

Abstract

The embodiment of the invention provides a control method and device for panoramic image shooting, a readable storage medium and a processor, and belongs to the technical field of image shooting. The panoramic picture is shot based on a panoramic camera, and the control method comprises the following steps: detecting the distance between the panoramic camera and a surrounding shot object; and controlling the panoramic camera to shoot the image of the object at the position with the distance greater than or equal to the preset distance so as to complete the shooting of the panoramic image. The invention can reduce unnecessary shooting time and improve shooting efficiency.

Description

Panoramic image shooting control method and device, readable storage medium and processor
Technical Field
The invention relates to the technical field of image shooting, in particular to a control method and device for panoramic image shooting, a readable storage medium and a processor.
Background
At present, a panoramic camera is mostly used for rotating for a circle when a panoramic image is shot, and shooting is carried out in the rotating process. The shooting of the panoramic camera has a certain range, and the shooting cannot be performed on objects close to each other or is not accurate. However, in the current shooting process, a normal shooting process is still performed on an object at a short distance, and shooting time is wasted.
Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for controlling panoramic image capturing, a readable storage medium, and a processor, which can reduce unnecessary capturing time and improve capturing efficiency.
In order to achieve the above object, an embodiment of the present invention provides a control method for panoramic image shooting, where the panoramic image is shot by a panoramic camera, the control method including: detecting the distance between the panoramic camera and a surrounding shot object; and controlling the panoramic camera to shoot the image of the object at the position with the distance greater than or equal to the preset distance so as to complete the shooting of the panoramic image.
Preferably, the method further comprises: and after the required images are shot, controlling the panoramic camera to stop running, wherein the position of the stop running of the panoramic camera is different from the initial position of the required images.
Preferably, after detecting the distance between the panoramic camera and the surrounding photographed object, the method further comprises: and controlling the panoramic camera to shoot panoramic images, wherein the panoramic camera rotates at a first speed through a position where the distance is less than a preset distance, and the first speed is greater than the normal speed of the panoramic camera for shooting the panoramic images.
Preferably, the preset distance is 50 cm.
An embodiment of the present invention further provides a control device for panoramic image shooting, where the panoramic image is shot based on a panoramic camera, the control device includes: the panoramic camera comprises a detection unit and a control unit, wherein the detection unit is used for detecting the distance between the panoramic camera and a surrounding object to be shot; the control unit is used for controlling the panoramic camera to shoot the image of the object at the position where the distance is larger than or equal to the preset distance so as to complete the shooting of the panoramic image.
Preferably, the control unit is further configured to: and after the required images are shot, controlling the panoramic camera to stop running, wherein the position of the stop running of the panoramic camera is different from the initial position of the required images.
Preferably, the control unit is further configured to: and controlling the panoramic camera to shoot panoramic images, wherein the panoramic camera rotates at a first speed through a position where the distance is less than a preset distance, and the first speed is greater than the normal speed of the panoramic camera for shooting the panoramic images.
Preferably, the preset distance is 50 cm.
An embodiment of the present invention also provides a machine-readable storage medium having stored thereon instructions for causing a machine to execute the control method for panoramic image photographing described above.
An embodiment of the present invention further provides a processor, configured to run a program, where the program is run to perform: the control method of panoramic image photographing as described above.
By adopting the technical scheme, the control method, the device, the readable storage medium and the processor for shooting the panoramic image provided by the invention can detect the distance between the panoramic camera and the surrounding shot object before shooting the panoramic image, and then control the panoramic camera to shoot the image of the object with the distance being more than or equal to the preset distance in the process of shooting the panoramic image so as to complete the shooting of the panoramic image. Because the image of the object which is too close to the panoramic camera is not shot, the unnecessary shooting time can be reduced, and the shooting efficiency is improved.
Additional features and advantages of embodiments of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the embodiments of the invention without limiting the embodiments of the invention. In the drawings:
fig. 1 is a flowchart of a control method for panoramic image photographing according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of panoramic image capture provided by an embodiment of the present invention;
FIG. 3 is a schematic diagram of panoramic image capture provided by an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a control device for panoramic image shooting according to an embodiment of the present invention.
Description of the reference numerals
1 detection unit 2 control unit
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating embodiments of the invention, are given by way of illustration and explanation only, not limitation.
Fig. 1 is a flowchart of a control method for panoramic image shooting according to an embodiment of the present invention. As shown in fig. 1, the panoramic image is photographed based on a panoramic camera, and the control method includes:
step S11, detecting a distance between the panoramic camera and a surrounding subject;
and step S12, controlling the panoramic camera to shoot the image of the object at the position where the distance is greater than or equal to the preset distance so as to complete the shooting of the panoramic image.
Specifically, the distance between the panoramic camera and the surrounding object to be photographed may be detected using a device such as a ranging sensor (e.g., an ultrasonic radar), which may be mounted on the panoramic camera. As shown in fig. 2, assuming that the panoramic camera is placed at the footer of the wall, the ranging sensor is rotated to range the surrounding photographed object before photographing the panoramic image, and if it is less than a preset distance (for example, 50cm, but not limited thereto), the angle (for example, 45 ° -50 °) rotated by the ranging sensor corresponding to this position is recorded.
Then, in the process of normally shooting the panoramic image by the panoramic camera, images of objects at positions corresponding to previously recorded angles (within which the distance between the panoramic camera and the surrounding shot object is less than the preset distance) are not shot, and only images of objects at positions corresponding to previously unrecorded angles are shot.
For example, in the process of shooting the panoramic image, the panoramic camera is controlled not to rotate through a position where the distance is less than a preset distance. Specifically, if the previously recorded range sensor is rotated by an angle of 200-360 °, the panoramic camera stops photographing only after photographing an image of 0-200 °.
In addition, as for step S12, alternatively, during the capturing of the panoramic image, the panoramic camera may be controlled to rotate at a first speed over a position where the distance is less than a preset distance, the first speed being greater than a normal speed at which the panoramic camera captures the panoramic image.
Specifically, if the previously recorded range sensor is rotated by an angle of 200-300, the panoramic camera rapidly passes through a range of 200-300 at a fast speed when rotated to 200, and does not take a shot between 200-300.
Fig. 3 is a schematic diagram of panoramic image capture according to an embodiment of the present invention. As shown in fig. 3, after the required images are shot, the panoramic camera may be controlled to stop running, and the stop running position of the panoramic camera is different from the starting position of the required images, that is, the panoramic camera is not reset. For example, if the shooting range of a certain panoramic camera is an image in the front 60 ° (60 ° is merely an example, and the invention does not limit the shooting range), it is necessary to shoot a 360 ° panoramic image at least 6 times, i.e. 1-6 marked in fig. 3 represent the 1 st-6 th shooting respectively, the arrow represents the orientation when shooting by the panoramic camera, and after shooting at the mark 6, the 360 ° image is shot, and the shooting of the required image is completed. During the shooting process, the panoramic camera needs to be rotated at least 5 times, namely, the panoramic camera is used for shooting 2 nd to 6 th marks respectively. In the embodiment of the invention, after the shooting at the mark 6 is finished, the panoramic camera is not reset, namely, the panoramic camera does not rotate any more. Therefore, during the panoramic image photographing, the panoramic camera performs 6 photographing and 5 rotations in total. The panoramic camera does not reset, so that useless operation is avoided, the shooting efficiency is improved, and the service life of the panoramic camera is prolonged.
Fig. 4 is a schematic structural diagram of a control device for panoramic image shooting according to an embodiment of the present invention. As shown in fig. 4, the control device includes: the device comprises a detection unit 1 and a control unit 2, wherein the detection unit 1 is used for detecting the distance between the panoramic camera and a surrounding object to be shot; the control unit 2 is configured to control the panoramic camera to capture an image of the object at the position where the distance is greater than or equal to a preset distance to complete capturing of the panoramic image.
Preferably, the control unit 2 is further configured to: and after the required images are shot, controlling the panoramic camera to stop running, wherein the position of the stop running of the panoramic camera is different from the initial position of the required images.
Preferably, the control unit 2 is further configured to: and controlling the panoramic camera to shoot panoramic images, wherein the panoramic camera rotates at a first speed through a position where the distance is less than a preset distance, and the first speed is greater than the normal speed of the panoramic camera for shooting the panoramic images.
Preferably, the preset distance is 50 cm.
The above-described control apparatus for panoramic image capturing is similar to the above-described embodiment of the control method for panoramic image capturing, and is not described herein again.
By adopting the technical scheme, the control method, the device, the readable storage medium and the processor for shooting the panoramic image provided by the invention can detect the distance between the panoramic camera and the surrounding shot object before shooting the panoramic image, and then control the panoramic camera to shoot the image of the object with the distance being more than or equal to the preset distance in the process of shooting the panoramic image so as to complete the shooting of the panoramic image. Because the image of the object which is too close to the panoramic camera is not shot, the unnecessary shooting time can be reduced, and the shooting efficiency is improved.
The control device for panoramic image shooting comprises a processor and a memory, wherein the detection unit, the control unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more, and the shooting efficiency is improved by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a storage medium having a program stored thereon, which when executed by a processor, implements the control method of panoramic image photographing.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program executes the control method for panoramic image shooting during running.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps:
detecting the distance between the panoramic camera and a surrounding shot object; and controlling the panoramic camera to shoot the image of the object at the position with the distance greater than or equal to the preset distance so as to complete the shooting of the panoramic image.
Preferably, the method further comprises: and after the required images are shot, controlling the panoramic camera to stop running, wherein the position of the stop running of the panoramic camera is different from the initial position of the required images.
Preferably, after detecting the distance between the panoramic camera and the surrounding photographed object, the method further comprises: and controlling the panoramic camera to shoot panoramic images, wherein the panoramic camera rotates at a first speed through a position where the distance is less than a preset distance, and the first speed is greater than the normal speed of the panoramic camera for shooting the panoramic images.
Preferably, the preset distance is 50 cm.
The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device:
detecting the distance between the panoramic camera and a surrounding shot object; and controlling the panoramic camera to shoot panoramic images, wherein the panoramic camera shoots images of objects at positions with the distance being greater than or equal to a preset distance so as to complete shooting of the panoramic images.
Preferably, the method further comprises: and after the required images are shot, controlling the panoramic camera to stop running, wherein the position of the stop running of the panoramic camera is different from the initial position of the required images.
Preferably, after detecting the distance between the panoramic camera and the surrounding photographed object, the method further comprises: and controlling the panoramic camera to shoot panoramic images, wherein the panoramic camera rotates at a first speed through a position where the distance is less than a preset distance, and the first speed is greater than the normal speed of the panoramic camera for shooting the panoramic images.
Preferably, the preset distance is 50 cm.
As will be appreciated by one skilled in the art, 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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The 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 computer storage media 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 that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
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 an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A control method for panoramic image shooting, wherein the panoramic image is shot based on a panoramic camera, the control method comprises the following steps:
detecting the distance between the panoramic camera and a surrounding shot object;
and controlling the panoramic camera to shoot the image of the object at the position with the distance greater than or equal to the preset distance so as to complete the shooting of the panoramic image.
2. The control method of panoramic image photographing according to claim 1, characterized by further comprising:
and after the required images are shot, controlling the panoramic camera to stop running, wherein the position of the stop running of the panoramic camera is different from the initial position of the required images.
3. The control method of panoramic image photographing according to claim 1, wherein after detecting the distance between the panoramic camera and the surrounding photographed object, the method further comprises:
and controlling the panoramic camera to shoot panoramic images, wherein the panoramic camera rotates at a first speed through a position where the distance is less than a preset distance, and the first speed is greater than the normal speed of the panoramic camera for shooting the panoramic images.
4. The control method of panoramic image photographing according to claim 1, wherein the preset distance is 50 cm.
5. A control apparatus for panoramic image shooting, the panoramic image being shot based on a panoramic camera, the control apparatus comprising:
a detection unit and a control unit, wherein,
the detection unit is used for detecting the distance between the panoramic camera and a surrounding shot object;
the control unit is used for controlling the panoramic camera to shoot the image of the object at the position where the distance is larger than or equal to the preset distance so as to complete the shooting of the panoramic image.
6. The control apparatus for panoramic image photographing according to claim 5, wherein the control unit is further configured to:
and after the required images are shot, controlling the panoramic camera to stop running, wherein the position of the stop running of the panoramic camera is different from the initial position of the required images.
7. The control apparatus for panoramic image photographing according to claim 5, wherein the control unit is further configured to:
and controlling the panoramic camera to shoot panoramic images, wherein the panoramic camera rotates at a first speed through a position where the distance is less than a preset distance, and the first speed is greater than the normal speed of the panoramic camera for shooting the panoramic images.
8. The control apparatus for panoramic image photographing according to claim 5, wherein the preset distance is 50 cm.
9. A machine-readable storage medium having stored thereon instructions for causing a machine to execute the control method of panoramic image photographing according to any one of claims 1 to 4.
10. A processor configured to execute a program, wherein the program is configured to perform: a control method of panoramic image photographing as defined in any one of claims 1 to 4.
CN202010470251.1A 2020-05-28 2020-05-28 Panoramic image shooting control method and device, readable storage medium and processor Pending CN111614904A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010470251.1A CN111614904A (en) 2020-05-28 2020-05-28 Panoramic image shooting control method and device, readable storage medium and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010470251.1A CN111614904A (en) 2020-05-28 2020-05-28 Panoramic image shooting control method and device, readable storage medium and processor

Publications (1)

Publication Number Publication Date
CN111614904A true CN111614904A (en) 2020-09-01

Family

ID=72201566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010470251.1A Pending CN111614904A (en) 2020-05-28 2020-05-28 Panoramic image shooting control method and device, readable storage medium and processor

Country Status (1)

Country Link
CN (1) CN111614904A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601954A (en) * 2015-01-13 2015-05-06 广州杰赛科技股份有限公司 Panoramic image splicing device and method and panoramic image monitoring system
US20170213373A1 (en) * 2016-01-25 2017-07-27 Fujitsu Limited Information processing device, information processing method, and non-transitory computer-readable recording medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601954A (en) * 2015-01-13 2015-05-06 广州杰赛科技股份有限公司 Panoramic image splicing device and method and panoramic image monitoring system
US20170213373A1 (en) * 2016-01-25 2017-07-27 Fujitsu Limited Information processing device, information processing method, and non-transitory computer-readable recording medium

Similar Documents

Publication Publication Date Title
CN110099211B (en) Video shooting method and electronic equipment
US10630900B2 (en) Switching between operation modes of video surveillance device
CN108335323B (en) Blurring method of image background and mobile terminal
KR20140090078A (en) Method for processing an image and an electronic device thereof
CN111432134A (en) Method and device for determining exposure time of image acquisition equipment and processor
CN105657238B (en) Track focusing method and device
CN111488835B (en) Identification method and device for staff
CN112511767B (en) Video splicing method and device, and storage medium
CN110705532B (en) Method, device and equipment for identifying copied image
CN106899800A (en) Method, device and mobile terminal device that camera is focused
CN104333694A (en) Method for preventing store visiting photo from being counterfeited
CN105391940A (en) Image recommendation method and apparatus
CN110223320B (en) Object detection tracking method and detection tracking device
TW202125085A (en) Camera module autofocus testing method and camera module autofocus testing device
CN111614904A (en) Panoramic image shooting control method and device, readable storage medium and processor
CN112770056B (en) Shooting method, shooting device and electronic equipment
CN107392850B (en) Image processing method and system
CN113177440A (en) Image synchronization method and device, electronic equipment and computer storage medium
JP2019161553A5 (en) Imaging device and its control method, imaging system
CN111595336A (en) Method and device for determining robot positioning information
CN104601883A (en) Image shooting method and device
CN113894933B (en) Platform for mixer truck, control method and device, controller and mixer truck
CN111314615A (en) Method and device for controlling binocular double-zoom camera and camera
CN109142354B (en) System, method and device for acquiring product images on production line
CN105467741A (en) Panoramic shooting method and terminal

Legal Events

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

Application publication date: 20200901

RJ01 Rejection of invention patent application after publication