CN110377259B - Equipment hiding method, electronic equipment and storage medium - Google Patents

Equipment hiding method, electronic equipment and storage medium Download PDF

Info

Publication number
CN110377259B
CN110377259B CN201910653031.XA CN201910653031A CN110377259B CN 110377259 B CN110377259 B CN 110377259B CN 201910653031 A CN201910653031 A CN 201910653031A CN 110377259 B CN110377259 B CN 110377259B
Authority
CN
China
Prior art keywords
image data
electronic equipment
camera
image
displayed
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.)
Active
Application number
CN201910653031.XA
Other languages
Chinese (zh)
Other versions
CN110377259A (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.)
Cloudminds Shenzhen Robotics Systems Co Ltd
Original Assignee
Cloudminds Shenzhen Robotics Systems 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 Cloudminds Shenzhen Robotics Systems Co Ltd filed Critical Cloudminds Shenzhen Robotics Systems Co Ltd
Priority to CN201910653031.XA priority Critical patent/CN110377259B/en
Publication of CN110377259A publication Critical patent/CN110377259A/en
Application granted granted Critical
Publication of CN110377259B publication Critical patent/CN110377259B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-preserving transformations, e.g. by using an importance map
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4038Image mosaicing, e.g. composing plane images from plane sub-images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • G06T5/92Dynamic range modification of images or parts thereof based on global image properties
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention relates to the field of data processing, and discloses a hiding method of equipment, electronic equipment and a storage medium. In some embodiments of the present application, a method for hiding a device is applied to an electronic device, and includes the following steps: acquiring first image data; the first image data comprises a background image of a space for placing the electronic equipment; determining image data to be displayed according to the first image data; at least one display screen of the control electronics displays the image data to be displayed. This enables the electronic device to be better integrated into the decor of the current space.

Description

Equipment hiding method, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the field of data processing, in particular to a hiding method of equipment, electronic equipment and a storage medium.
Background
The current development of smart home is very popular, smart sound box, smart set top box, smart home and the like. However, in the near future, a dominant central device must be present in the home to perform central control of the entire home. This device may be a 5G CPE device with many functions, but may be other forms of devices.
However, the inventors found that there are at least the following problems in the prior art: regardless of the type of electronic device, when it is placed in the home, there is often a problem in that it cannot be incorporated into the decoration of the current space.
Disclosure of Invention
The embodiment of the invention aims to provide a hiding method of equipment, electronic equipment and a storage medium, so that the electronic equipment can be better integrated into the decoration of a current space.
In order to solve the above technical problems, an embodiment of the present invention provides a method for hiding a device, which is applied to an electronic device, and includes the following steps: acquiring first image data; the first image data comprises a background image of a space for placing the electronic equipment; determining image data to be displayed according to the first image data; at least one display screen of the control electronics displays the image data to be displayed.
The embodiment of the invention also provides electronic equipment, which comprises: at least one processor; and at least one display screen communicatively coupled to the at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the hiding method of the device as referred to in the above embodiment.
The embodiment of the invention also provides a computer readable storage medium storing a computer program which, when executed by a processor, implements the hiding method of the device mentioned in the above embodiment.
Compared with the prior art, the embodiment of the invention has the advantages that the electronic equipment determines the image data to be displayed according to the first image data and displays the image data through the at least one display screen, so that the electronic equipment can adjust the image displayed by the at least one display screen on the electronic equipment based on the background image of the space where the electronic equipment is placed, the image seen by a user on the display screen corresponds to the image of the wall surface seen after the electronic equipment is removed, namely, the similarity between the electronic equipment and the background is higher, the electronic equipment is hidden for the user to a certain extent, the purpose of hiding the electronic equipment is achieved, and the electronic equipment can be better integrated into the decoration of the current space.
In addition, the electronic device is provided with at least one camera; the method for acquiring the first image data specifically comprises the following steps: responding to a shooting instruction, and calling at least one camera of the electronic equipment to shoot first image data; wherein the shooting instruction indicates that a background image of a space in which the electronic device is placed is included in the image currently captured by the at least one camera. In the realization, the electronic equipment has a shooting function, the practicability of the electronic equipment is improved, and the processing process is simplified.
In addition, determining the image data to be displayed according to the first image data specifically includes: acquiring actual size information of a fixed device, actual size information of electronic equipment and relative position information of the electronic equipment and the fixed device in the first image data; cutting the first image data according to the actual size information of the fixed device, the actual size information of the electronic equipment and the relative position information of the electronic equipment and the fixed device to obtain second image data; determining image data to be displayed according to the second image data; or acquiring the actual size information of the electronic equipment, the distance information of a camera shooting the first image data and the position where the electronic equipment is placed, and the parameter information of the camera shooting the first image data; cutting the first image data according to the actual size information of the electronic equipment, the distance information of a camera shooting the first image data and the position where the electronic equipment is placed and the parameter information of the camera shooting the first image data to obtain second image data; and determining the image data to be displayed according to the second image data. In the implementation, the interference pixels are effectively reduced, and the hiding effect is improved.
In addition, determining the image data to be displayed according to the second image data specifically includes: identifying and removing an image of the area where the fixed device is located in the second image data; the image of the removed area is complemented according to the image of the residual area in the second image data; the remaining area is an area except the area where the fixing device is located in the second image data; and determining the image data to be displayed according to the second image data. In the implementation, the image of the fixing device is removed, and the effect that the fixing device influences the hiding effect of the electronic equipment is avoided.
In addition, the number of cameras on the same surface of the electronic equipment is larger than 1; according to the second image data, determining the image data to be displayed specifically comprises the following steps: for the second image data corresponding to each camera of the same surface of the electronic equipment, the following operations are performed: and splicing the second image data corresponding to each camera on the same surface according to a preset splicing rule to obtain the image data to be displayed. In the implementation, the image data to be displayed is determined based on the shooting data of the cameras, so that the image data to be displayed is more real.
In addition, before invoking the at least one camera to capture the first image data in response to the capture instruction, the hiding method of the device further includes: controlling a display screen to display images captured by at least one camera and a prompt box; the prompt box is used for indicating a shooting position of the preset first image data. In the implementation, the operation difficulty is reduced, the operation success probability is improved, and the electronic equipment is more humanized.
In addition, after controlling at least one display screen of the electronic device to display the image data to be displayed, the hiding method of the device further includes: acquiring a first brightness value detected by a brightness detection module of electronic equipment; and adjusting the brightness of the image data to be displayed according to the first brightness value. In this implementation, the hiding effect is improved.
In addition, after adjusting the brightness of the image data to be displayed according to the first brightness value, the hiding method of the device further includes: acquiring a second brightness value input by a user; according to the second brightness value, adjusting the corresponding relation between the first brightness value and a third brightness value of the image data to be displayed; determining a third brightness value corresponding to the first brightness value according to the first brightness value and the corresponding relation between the first brightness value and the third brightness value; and adjusting the brightness value of the image data to be displayed to a corresponding third brightness value. In this implementation, the hiding effect is improved.
In addition, before determining the image data to be displayed according to the first image data, the hiding method of the device further includes: judging whether the first image data meets preset requirements or not; if yes, executing the step of determining the image data to be displayed according to the first image data; if the determination is not yes, prompting the user to adjust the shooting mode.
In addition, the electronic device further includes: at least one camera communicatively coupled to the at least one processor; at least one camera is used for shooting first image data.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which the figures of the drawings are not to be taken in a limiting sense, unless otherwise indicated.
Fig. 1 is a flow chart of a hiding method of an apparatus of a first embodiment of the present invention;
fig. 2 is a schematic front view of an electronic device of a first embodiment of the invention;
FIG. 3 is a schematic diagram of an electronic device according to a first embodiment of the present invention;
fig. 4 is a flow chart of a hiding method of an apparatus according to a second embodiment of the present invention;
fig. 5 is a schematic structural view of an electronic device according to a third embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the following detailed description of the embodiments of the present invention will be given with reference to the accompanying drawings. However, those of ordinary skill in the art will understand that in various embodiments of the present invention, numerous technical details have been set forth in order to provide a better understanding of the present application. However, the technical solutions claimed in the present application can be implemented without these technical details and with various changes and modifications based on the following embodiments.
The first embodiment of the invention relates to a hiding method of equipment, which is applied to electronic equipment, such as intelligent sound equipment, an intelligent set top box, central equipment for intelligent household appliance management and the like. As shown in fig. 1, the hiding method of the device includes the steps of:
step 101: first image data is acquired.
Specifically, the first image data includes therein a background image of a space in which the electronic device is placed.
In one example, the electronic device is communicatively coupled to other devices provided with cameras. The user photographs, through other means, first image data including a background image of a space in which the electronic device is placed, and transmits to the electronic device. The electronic device receives first image data.
In another example, the electronic device is provided with at least one camera. And the electronic equipment responds to the shooting instruction and calls at least one camera of the electronic equipment to shoot the first image data. The photographing instruction indicates that a background image of a space in which the electronic device is placed is included in the image currently captured by the at least one camera.
In one example, the electronic device is provided with at least one camera that is secured to the wall by a securing means on the wall and a securing means on the electronic device. After the electronic equipment determines that the fixing device on the wall is positioned at the preset position of the picture captured by the camera, triggering a shooting instruction.
For example, the electronic device is a wall-mounted device, and the position where the electronic device is placed is the position where the fixing device of the wall surface is located, for example, the position where the fixing connection post is located. When the user installs the electronic equipment on the wall, the electronic equipment is started, and the position of the electronic equipment is adjusted, so that the current captured image of the camera of the electronic equipment comprises a background image of the space in which the electronic equipment is placed, namely a wall image of the area where the fixing device on the wall is located. After the background image of the space where the electronic device is placed is included in the image currently captured by the camera of the electronic device, the user presses a shooting button or shooting control on the electronic device to shoot the first image data.
In one example, the electronic device is a wall-mounted device that is secured by a securing means. Before the electronic equipment shoots the first image data, the display screen is controlled to display images captured by at least one camera, and a prompt box is used for indicating the shooting position of the preset first image data. That is, the best position of the fixing device may be found by a pre-test manner, that is, when the first image data is captured at the best position, the image quality is best, or the better the final processing effect is, the frame of the area where the fixing device is located in the image data captured according to the best position is used as the indication frame.
It is worth mentioning that the prompt box is displayed on the display screen, so that how to effectively shoot the first image data can be prompted, and the operation difficulty is reduced.
It should be noted that, as will be understood by those skilled in the art, in practical application, the first image data may be obtained by other methods, which are not listed herein, and the present embodiment is not limited to the method of obtaining the first image data.
Step 102: and determining the image data to be displayed according to the first image data.
Specifically, since the first image data includes the background image of the space in which the electronic device is placed, the electronic device can determine the image of the area blocked by the electronic device when the electronic device is placed in the position. The background image of the space where the electronic device is placed at least includes an image of an external plane (such as a wall surface, a desktop, etc.) that is in contact with the electronic device.
In one example, the electronic device detects the quality of the first image data before determining the image data to be displayed based on the first image data. Specifically, the electronic device judges whether the first image data meets a preset requirement; if yes, executing the step of determining the image data to be displayed according to the first image data; if the determination is not yes, prompting the user to adjust the shooting mode. The preset requirement may be any one or any combination of that the shooting brightness of the first image data is greater than a first threshold value and the definition of the first image data is greater than a second threshold value, and the first threshold value and the second threshold value may be set according to requirements.
It should be noted that, as will be understood by those skilled in the art, in practical application, the preset requirement may be set according to the needs, and the specific meaning of the preset requirement is not limited in this embodiment.
It is worth mentioning that the quality detection is carried out on the first image data, so that the condition that the hiding effect is poor due to the fact that the shot image is unclear is avoided.
A method of determining image data to be displayed of the face based on the first image data is exemplified below.
Method 1: the electronic equipment acquires the actual size information of the fixed device in the first image data, the actual size information of the electronic equipment and the relative position information of the electronic equipment and the fixed device; cutting the first image data according to the actual size information of the fixed device, the actual size information of the electronic equipment and the relative position information of the electronic equipment and the fixed device to obtain second image data; and determining the image data to be displayed according to the second image data.
In one example, the process of the electronic device obtaining the image data to be displayed based on the second image data is: the electronic equipment identifies and removes the image of the area where the fixed device is located in the second image data; the image of the removed area is complemented according to the image of the residual area in the second image data; the remaining area is an area except the area where the fixing device is located in the second image data; and determining the image data to be displayed according to the second image data.
In one example, the electronic device takes as input a training image of at least one angle of the fixture, takes as output a annotation file indicating an area of the fixture in the training image, and trains the recognition model. And when the second image data is processed, inputting the second image data into the identification model, and determining the area of the fixed device in the second image data.
It should be noted that, as can be appreciated by those skilled in the art, in practical application, the area where the fixing device is located may be determined by other manners, and the method for determining the area where the fixing device is located by the electronic device is not limited in this embodiment.
It should be noted that, the image complement method is not the key content of the present embodiment, and a person skilled in the art may refer to a known image complement algorithm to implement image complement of the removed region.
The process of determining the second image data by the electronic device will be described below by taking the wall-mounted electronic device as an example.
The electronic equipment is assumed to be wall-mounted equipment, a fixing device for fixing the electronic equipment is arranged on a wall surface where the electronic equipment is placed, and the fixing device on the wall is matched with the fixing device on the electronic equipment so that the electronic equipment can be fixed on the wall surface. The electronic device obtains the actual size information of the fixed device on the wall, the actual size information of the electronic device, and the relative position information of the electronic device and the fixed device. The electronic equipment determines the corresponding relation between the space size and the image size according to the actual size information of the fixed device on the wall and the image size information of the fixed device on the wall in the first image data. The electronic equipment determines the image size information of the electronic equipment according to the actual size information of the electronic equipment and the corresponding relation between the space size and the image size. The electronic device determines the position information of the electronic device in the first image data according to the position information of the fixed device on the wall in the first image data and the relative position information of the electronic device and the fixed device on the wall. The electronic device determines an occlusion region image in the first image data according to the image size information of the electronic device and the position information of the electronic device in the first image data. The shielding area image is an image of a wall area shielded by the electronic equipment after the electronic equipment is mounted on a wall. And the electronic equipment cuts the first image data, reserves the image of the shielding area, removes the images except the image of the shielding area, and obtains second image data.
Method 2: the electronic equipment acquires actual size information of the electronic equipment, distance information of a camera shooting first image data and a position where the electronic equipment is placed, and parameter information of the camera shooting the first image data; cutting the first image data according to the actual size information of the electronic equipment, the distance information of a camera shooting the first image data and the position where the electronic equipment is placed and the parameter information of the camera shooting the first image data to obtain second image data; and determining the image data to be displayed according to the second image data. Specifically, the electronic device determines image size information of the electronic device according to actual size information of the electronic device, distance information of a camera shooting first image data and a position where the electronic device is placed, and parameter information of the camera shooting the first image data, and cuts the first image data so that the size information of the cut first image data is identical to the image size information of the electronic device.
In one example, the first image data is captured by a camera of the electronic device, and the number of cameras on the same surface of the electronic device is greater than 1. In this case, the electronic apparatus performs the following operations for the second image data corresponding to each camera of the same face of the electronic apparatus: and splicing the second image data corresponding to each camera on the same surface according to a preset splicing rule to obtain the image data to be displayed.
In one example, the preset splicing rules are: and intercepting the images in the preset intercepting region of each second image data, and splicing the intercepted images into an image according to the appointed sequence and the splicing direction.
For example, the electronic device is a wall-mounted device, the front schematic view of the electronic device is shown in fig. 2, and the back schematic view of the electronic device is shown in fig. 3. The electronic device comprises a display 201, a device housing 202, a first camera 203, a second camera 204, a connection wire contact 205 and a magnetic attraction interface 206. The magnetic interface 206 magnetically attracts the electronic device to the connection post of the wall surface to fix the electronic device. The connection line contact 205 is connected to a contact of an external data line or a power line. The first camera 203 and the second camera 204 are used for shooting first image data, and the sizes of the shot first image data are the same. In this case, the preset splicing rule is: intercepting image data on the left side of the central axis of the second image data corresponding to the first camera 201 as a first intercepted image; intercepting image data on the right side of the central axis of second image data corresponding to the second camera 202 as a second intercepted image; and overlapping the right boundary line of the first intercepted image and the left boundary line of the second intercepted image to obtain image data to be displayed.
In one example, the width of the bezel of the device housing on the side where the display is mounted is less than 1cm, or the display on the front of the electronic device is a full screen.
In one example, the camera is a wide angle camera (e.g., a fish eye camera) to obtain a larger capture surface.
It should be noted that, as will be understood by those skilled in the art, if the electronic device is a wall-mounted device, operations such as identification, removal, and completion of the fixing device may be performed on the first image data first, then the first image data processed by each camera (the second image data after completion) may be spliced, or the first image data of each camera may be spliced first, and then operations such as identification, removal, and completion of the fixing device may be performed on the spliced image data.
It is worth mentioning that the images of the wall surface shielded by the electronic equipment are obtained from different angles, the first image data obtained through shooting are more real, the image data to be displayed is determined based on the first image data of a plurality of shooting angles, and the image data to be displayed is more real.
Step 103: and controlling at least one display screen to display the image data to be displayed.
Specifically, at least one display screen is arranged on the electronic equipment, and the display screen displays the image data to be displayed, which is determined based on the background image, so that the image seen by the user on the display screen corresponds to the image of the wall surface seen after the electronic equipment is removed, the electronic equipment is hidden from the user to a certain extent, the purpose of hiding the electronic equipment is achieved, and the influence of placing the electronic equipment in a certain space on the attractiveness of the space is reduced.
In one example, the display screen is located at a maximum distance from the plane in which the electronic device is located.
In one example, during the process of displaying an image to be displayed on a display screen, the electronic device obtains a brightness value designated by a user; and adjusting the brightness value of the image data to be displayed to the brightness value designated by the user.
It is worth mentioning that the user adjusts the brightness of the image to be displayed according to the requirement, so that the user can perform personalized setting, and the user experience is improved.
In one example, the electronic device is provided with a sensor such as a displacement sensor and a speed sensor, and the electronic device determines whether the electronic device is moved according to detection data of the displacement sensor and the speed sensor, and if so, prompts a user to update the image data to be displayed.
It is worth mentioning that after the electronic device is moved, the user is prompted to update the image data to be displayed in time, so that the hidden effect of the electronic device is prevented from being influenced by the update in time.
In one example, the electronic device is a wall-mounted device, and a plurality of cameras are disposed on the electronic device. And the electronic equipment periodically calls a plurality of cameras to re-shoot the first image data if the distance between the electronic equipment and the wall surface is determined to be greater than the distance threshold after controlling at least one display screen of the electronic equipment to display the image data to be displayed. The electronic equipment determines shooting brightness based on the first image data shot again, and adjusts the brightness of the image to be displayed according to the shooting brightness; or, the electronic device performs the hiding method of the device mentioned in this embodiment mode based on the first image data re-photographed, and updates the image data to be displayed.
In one example, the electronic device has M first sides and M second sides, the first sides and the second sides being disposed in one-to-one correspondence and opposite to each other. At least one camera is arranged on each first surface, and a display screen is arranged on each second surface. The display screen on the second surface is used for displaying the image data to be displayed, which is determined according to the first image data shot by the camera of the first surface corresponding to the second surface.
For example, the electronic device is in the shape of a rectangular parallelepiped, and the electronic device includes a face 1, a face 2, a face 3, a face 4, a face 5, and a face 6. The face 1 is opposite to the face 4, at least one camera is arranged on the face 1, and a display screen is arranged on the face 4. The surface 2 is opposite to the surface 5, at least one camera is arranged on the surface 3, and a display screen is arranged on the surface 6. The electronic equipment shoots the wall surface opposite to the surface 1 through the camera on the surface 1 to obtain first image data, and determines image data to be displayed on the display screen of the surface 4 according to the first image data of the surface 1. The electronic equipment obtains first image data through the wall surface opposite to the camera shooting surface 5 on the surface 2, and determines image data to be displayed on the display screen of the surface 5 according to the first image data of the surface 2. The electronic equipment shoots the wall surface opposite to the surface 6 through the camera on the surface 3 to obtain first image data, and determines the image data to be displayed on the display screen of the surface 6 according to the first image data of the surface 3.
It should be understood by those skilled in the art that, in practical application, the number of the first faces on which the camera is mounted and the number of the second faces on which the display screen is mounted may be determined as required, and this embodiment is merely illustrative, and does not represent that when the electronic device has T faces, the number of the first faces and the second faces is T/2.
The foregoing is merely illustrative, and is not intended to limit the technical aspects of the present invention.
Compared with the prior art, the hiding method of the device provided by the embodiment of the invention has the advantages that the electronic device determines the image data to be displayed according to the first image data and displays the image data through the at least one display screen, so that the electronic device can adjust the image displayed by the at least one display screen on the electronic device based on the background image of the space where the electronic device is placed, the image seen by the user on the display screen corresponds to the image of the wall surface seen by the user after the electronic device is removed, the electronic device is hidden to a certain extent, the purpose of hiding the electronic device is achieved, and the electronic device can be better integrated into the decoration of the current space.
A second embodiment of the present invention relates to a method for hiding a device, which is further improved on the basis of the first embodiment, and specifically improved is that: after controlling at least one display screen to display the image to be displayed, a step of adjusting the brightness of the image to be displayed is added.
Specifically, as shown in fig. 4, the present embodiment includes steps 401 to 405, wherein steps 401 to 403 are substantially the same as steps 101 to 103 in the first embodiment, and are not described herein. The differences are mainly described below:
steps 401 to 403 are performed.
Step 404: the electronic equipment acquires a first brightness value detected by a brightness detection module of the electronic equipment.
Specifically, the brightness detection module may be a light sensor, where the brightness detected by the light sensor is the brightness of the surrounding environment of the electronic device. The mounting location of the brightness detection module may be a side of the electronic device.
Step 405: and adjusting the brightness of the image data to be displayed according to the first brightness value.
Specifically, the first brightness value detected by the brightness detection module indicates the ambient brightness of the electronic device. The electronic equipment adjusts the brightness of the image data to be displayed according to the first brightness value, so that the image data to be displayed can be darkened when the surrounding environment is darkened, and the image data to be displayed is lightened when the surrounding environment is variable, and further the difference between the brightness of the electronic equipment and the surrounding environment brightness is smaller.
It should be noted that, as will be understood by those skilled in the art, the electronic device may acquire the brightness information of the surrounding environment in real time, or may periodically acquire the brightness information of the surrounding environment, or may acquire the brightness information of the surrounding environment at a preset time point, and update the brightness of the image to be displayed after acquiring the brightness information of the surrounding environment each time, and the embodiment does not limit the update frequency of the brightness of the image to be displayed.
It is worth mentioning that the brightness of the image to be detected is timely adjusted according to the brightness of the surrounding environment, the problem that the hiding effect of equipment is poor due to the fact that the image to be displayed is too bright after the surrounding environment is darkened is avoided, and the hiding effect is further improved.
In one example, when the first brightness value is smaller than the brightness threshold, the display screen of the electronic device is turned off, and when the first brightness value is not smaller than the brightness threshold, the display screen of the electronic device is turned on, and the brightness of the image to be displayed is determined according to the first brightness value.
It is worth mentioning that when the brightness of the surrounding environment is low, the electronic device closes the display screen, so that the power consumption of the display screen is reduced.
In one example, the electronic device is provided with a calibration function. When the electronic equipment enters a calibration state, the brightness adjustment process of the image data to be displayed is as follows: the electronic equipment acquires a second brightness value input by a user; according to the second brightness value, adjusting the corresponding relation between the first brightness value and a third brightness value of the image data to be displayed; determining a third brightness value corresponding to the first brightness value according to the first brightness value and the corresponding relation between the first brightness value and the third brightness value; and adjusting the brightness value of the image data to be displayed to a corresponding third brightness value.
It is worth mentioning that the user can manually calibrate the corresponding relationship between the first brightness value and the third brightness value of the image data to be displayed, so that the calculated third brightness value is closer to the actual brightness value of the surrounding environment, and the hiding effect is further improved.
The foregoing is merely illustrative, and is not intended to limit the technical aspects of the present invention.
Compared with the prior art, the hiding method of the equipment provided by the embodiment adjusts the brightness of the image to be displayed according to the brightness of the surrounding environment, so that the problem that the hiding effect of the equipment is poor due to the fact that the image to be displayed is too bright after the surrounding environment is darkened is avoided, and the hiding effect is further improved.
The above steps of the methods are divided, for clarity of description, and may be combined into one step or split into multiple steps when implemented, so long as they include the same logic relationship, and they are all within the protection scope of this patent; it is within the scope of this patent to add insignificant modifications to the algorithm or flow or introduce insignificant designs, but not to alter the core design of its algorithm and flow.
A third embodiment of the present invention relates to an electronic device, as shown in fig. 5, including: at least one processor 501; and at least one display screen communicatively coupled to the at least one processor 501; and a memory 503 communicatively coupled to the at least one processor 501; the memory 503 stores instructions executable by the at least one processor 501, and the instructions are executed by the at least one processor 501, so that the at least one processor 501 can execute the hiding method of the device according to the above-mentioned embodiment.
In one example, the electronic device further comprises: at least one camera in communication with the at least one processor, the at least one camera for capturing the first image data.
The electronic device includes: one or more processors 501 and a memory 503, one processor 501 being illustrated in fig. 5. The processor 501, the memory 503 may be connected by a bus or otherwise, which is illustrated in fig. 5 as a bus connection. The memory 503 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The processor 501 executes various functional applications of the device and data processing, i.e., implements the hiding method of the device by running nonvolatile software programs, instructions, and modules stored in the memory 503.
The memory 503 may include a storage program area that may store an operating system, at least one application program required for functions, and a storage data area; the storage data area may store a list of options, etc. In addition, memory 503 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 embodiments, memory 503 may optionally include memory located remotely from processor 501, which may be connected to an external 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.
One or more modules are stored in the memory 503 that, when executed by the one or more processors 501, perform the method of hiding a device in any method embodiment described above.
The product may perform the method provided by the embodiment of the present application, and have the corresponding functional module and beneficial effect of performing the method, and technical details not described in detail in the embodiment of the present application may be referred to the method provided by the embodiment of the present application.
A fourth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program implements the above-described method embodiments when executed by a processor.
That is, it will be understood by those skilled in the art that all or part of the steps in implementing the methods of the embodiments described above may be implemented by a program stored in a storage medium, where the program includes several instructions for causing a device (which may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps in the methods of the embodiments described herein. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples of carrying out the invention and that various changes in form and details may be made therein without departing from the spirit and scope of the invention.

Claims (8)

1. A method for hiding a device, applied to an electronic device, comprising:
acquiring first image data; wherein the first image data comprises a background image of a space in which the electronic equipment is placed;
determining image data to be displayed according to the first image data;
controlling at least one display screen of the electronic equipment to display the image data to be displayed;
the electronic equipment is provided with at least one camera;
the acquiring the first image data specifically includes:
responding to a shooting instruction, and calling at least one camera of the electronic equipment to shoot first image data; wherein the shooting instruction indicates that a background image of a space in which the electronic equipment is placed is included in an image currently captured by the at least one camera;
the electronic equipment triggers the shooting instruction when determining that a fixing device for fixing the electronic equipment is positioned at a preset position of a picture captured by a camera;
the determining the image data to be displayed according to the first image data specifically includes:
acquiring actual size information of a fixed device in the first image data, actual size information of the electronic equipment and relative position information of the electronic equipment and the fixed device; cutting the first image data according to the actual size information of the fixed device, the actual size information of the electronic equipment and the relative position information of the electronic equipment and the fixed device to obtain second image data; determining the image data to be displayed according to the second image data; or,
acquiring actual size information of the electronic equipment, distance information of a camera shooting the first image data and a position where the electronic equipment is placed, and parameter information of the camera shooting the first image data; cutting the first image data according to the actual size information of the electronic equipment, the distance information of a camera shooting the first image data and the position where the electronic equipment is placed and the parameter information of the camera shooting the first image data to obtain second image data; determining the image data to be displayed according to the second image data;
the determining the image data to be displayed according to the second image data specifically includes:
identifying and removing an image of the area where the fixing device is located in the second image data;
according to the image of the residual area in the second image data, the image of the removed area is complemented; the remaining area is an area except the area where the fixing device is located in the second image data;
determining the image data to be displayed according to the second image data;
the number of cameras on the same surface of the electronic equipment is larger than 1;
the determining the image data to be displayed according to the second image data specifically includes:
for the second image data corresponding to each camera on the same surface of the electronic equipment, performing the following operations: and splicing the second image data corresponding to each camera on the same surface according to a preset splicing rule to obtain the image data to be displayed.
2. The concealment method of a device according to claim 1, wherein before said invoking said at least one camera to take the first image data in response to the taking instruction, the concealment method of the device further comprises:
controlling the display screen to display the image captured by the at least one camera and a prompt box; the prompt box is used for indicating a preset shooting position of the first image data.
3. The concealment method of a device according to any one of claims 1 to 2, wherein after the controlling at least one display screen of the electronic device to display the image data to be displayed, the concealment method of a device further comprises:
acquiring a first brightness value detected by a brightness detection module of the electronic equipment;
and adjusting the brightness of the image data to be displayed according to the first brightness value.
4. A concealment method for a device according to claim 3, wherein after said adjusting the brightness of said image data to be displayed according to said first brightness value, said concealment method for a device further comprises:
acquiring a second brightness value input by a user;
according to the second brightness value, adjusting the corresponding relation between the first brightness value and a third brightness value of the image data to be displayed;
determining a third brightness value corresponding to the first brightness value according to the first brightness value and the corresponding relation between the first brightness value and the third brightness value;
and adjusting the brightness value of the image data to be displayed to the corresponding third brightness value.
5. The concealment method of a device according to any one of claims 1 to 2, wherein before the determining of image data to be displayed from the first image data, the concealment method of the device further comprises:
judging whether the first image data meets preset requirements or not;
if yes, executing the step of determining the image data to be displayed according to the first image data;
if the determination is not yes, prompting the user to adjust the shooting mode.
6. An electronic device, comprising: at least one processor; the method comprises the steps of,
at least one display screen in communication with the at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the concealment method of the apparatus of any one of claims 1 to 5.
7. The electronic device of claim 6, wherein the electronic device further comprises: at least one camera communicatively coupled to the at least one processor; the at least one camera is used for shooting first image data.
8. A computer readable storage medium storing a computer program, characterized in that the computer program, when executed by a processor, implements the hiding method of the device of any one of claims 1 to 5.
CN201910653031.XA 2019-07-19 2019-07-19 Equipment hiding method, electronic equipment and storage medium Active CN110377259B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910653031.XA CN110377259B (en) 2019-07-19 2019-07-19 Equipment hiding method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910653031.XA CN110377259B (en) 2019-07-19 2019-07-19 Equipment hiding method, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110377259A CN110377259A (en) 2019-10-25
CN110377259B true CN110377259B (en) 2023-07-07

Family

ID=68254063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910653031.XA Active CN110377259B (en) 2019-07-19 2019-07-19 Equipment hiding method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110377259B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105488777A (en) * 2015-04-22 2016-04-13 兰雨晴 System and method for generating panoramic picture in real time based on moving foreground
CN106791389A (en) * 2016-12-16 2017-05-31 宇龙计算机通信科技(深圳)有限公司 Image processing method, image processing apparatus and terminal
CN107154016A (en) * 2016-03-01 2017-09-12 腾讯科技(深圳)有限公司 The joining method and device of destination object in stereo-picture

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011118842A (en) * 2009-12-07 2011-06-16 Canon Inc Information processing apparatus, display control method, and program
EP2570986A1 (en) * 2011-09-13 2013-03-20 Alcatel Lucent Method for creating a cover for an electronic device and electronic device
CN103546665A (en) * 2012-07-11 2014-01-29 北京博雅华录视听技术研究院有限公司 Method for enhancing image definition on basis of multiple cameras
KR102154802B1 (en) * 2014-02-11 2020-09-11 삼성전자주식회사 Photogrpaphing method of electronic apparatus and electronic apparatus thereof
CN106454085B (en) * 2016-09-30 2019-09-27 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN107248137B (en) * 2017-04-27 2021-01-15 努比亚技术有限公司 Method for realizing image processing and mobile terminal
CN107426502B (en) * 2017-09-19 2020-03-17 北京小米移动软件有限公司 Shooting method and device, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105488777A (en) * 2015-04-22 2016-04-13 兰雨晴 System and method for generating panoramic picture in real time based on moving foreground
CN107154016A (en) * 2016-03-01 2017-09-12 腾讯科技(深圳)有限公司 The joining method and device of destination object in stereo-picture
CN106791389A (en) * 2016-12-16 2017-05-31 宇龙计算机通信科技(深圳)有限公司 Image processing method, image processing apparatus and terminal

Also Published As

Publication number Publication date
CN110377259A (en) 2019-10-25

Similar Documents

Publication Publication Date Title
CN108288044B (en) Electronic device, face recognition method and related product
CN108566516B (en) Image processing method, device, storage medium and mobile terminal
US10970821B2 (en) Image blurring methods and apparatuses, storage media, and electronic devices
CN106454077B (en) Shooting method, shooting device and terminal
CN107743224A (en) The dirty based reminding method of camera lens, system, readable storage medium storing program for executing and mobile terminal
CN105407276A (en) Photographing method and equipment
KR20160021607A (en) Method and device to display background image
WO2021007690A1 (en) Exposure control method, apparatus and movable platform
US20230076026A1 (en) Image processing method and apparatus
CN111491106B (en) Shot image processing method and device, mobile terminal and storage medium
CN108833781B (en) Image preview method, device, terminal and computer readable storage medium
CN109379534B (en) Method, device, terminal and storage medium for processing image
CN112153269B (en) Picture display method, device and medium applied to electronic equipment and electronic equipment
CN110731076A (en) Shooting processing method and device and storage medium
CN107436681A (en) Automatically adjust the mobile terminal and its method of the display size of word
WO2019196240A1 (en) Photographing method, apparatus, computer device, and storage medium
CN106851091A (en) Control method of electronic device, device and electronic equipment
CN110377259B (en) Equipment hiding method, electronic equipment and storage medium
CN103929585B (en) A kind of control method of polaroid, electronic equipment and system
CN112887615A (en) Shooting method and device
CN112153300A (en) Multi-view camera exposure method, device, equipment and medium
CN104994284B (en) A kind of control method and electric terminal of wide-angle camera
CN105791689A (en) Image processing method and image processing device
CN110245618B (en) 3D recognition device and method
CN114189628A (en) Control method and device of shooting function, AR device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant