CN114727011A - Camera optimization method and device, electronic equipment and readable storage medium - Google Patents

Camera optimization method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN114727011A
CN114727011A CN202210225587.0A CN202210225587A CN114727011A CN 114727011 A CN114727011 A CN 114727011A CN 202210225587 A CN202210225587 A CN 202210225587A CN 114727011 A CN114727011 A CN 114727011A
Authority
CN
China
Prior art keywords
real
time
shooting
playing
parameters
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
CN202210225587.0A
Other languages
Chinese (zh)
Inventor
田园
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics 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 Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202210225587.0A priority Critical patent/CN114727011A/en
Publication of CN114727011A publication Critical patent/CN114727011A/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/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Landscapes

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

Abstract

The application discloses a camera optimization method, a camera optimization device, electronic equipment and a readable storage medium, which are applied to the technical field of cameras, wherein the camera optimization method comprises the following steps: acquiring playing content of a display device, wherein the display device is provided with a camera; determining real-time shooting parameters corresponding to real-time equipment performance parameters of the display equipment according to the real-time playing parameters corresponding to the playing contents; and shooting through the camera according to the real-time shooting parameters to obtain a shot picture. The application solves the technical problem of poor shooting effect in the prior art.

Description

Camera optimization method and device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of camera technologies, and in particular, to a camera optimization method and apparatus, an electronic device, and a readable storage medium.
Background
With the rapid development of science and technology, the technology of cameras is developed more and more mature, at present, cameras equipped with display equipment adopt fixed shooting parameters for shooting, and when the playing parameters of the display equipment are higher, the preset shooting parameters are relatively higher, so that the situation that a shot picture is stuck easily occurs; when the playing parameters of the display device are low, the preset shooting parameters are relatively low, and the situation that the performance of the display device is excessive and the shot picture is not clear easily occurs, so that the shooting effect is influenced.
Disclosure of Invention
The present application mainly aims to provide a camera optimization method, a camera optimization device, an electronic device, and a readable storage medium, and aims to solve the technical problem of poor shooting effect in the prior art.
In order to achieve the above object, the present application provides a camera optimization method, which is applied to a camera optimization method device, where the camera optimization method includes:
acquiring playing content of a display device, wherein the display device is provided with a camera;
determining real-time shooting parameters corresponding to real-time equipment performance parameters of the display equipment according to the real-time playing parameters corresponding to the playing contents;
and shooting through the camera according to the real-time shooting parameters to obtain a shot picture.
Optionally, the playing content includes advertisement content and movie content, and the step of acquiring the real-time playing parameter corresponding to the playing content includes:
acquiring initial playing parameters;
when the playing content is the advertisement content, the initial playing parameter is adjusted downwards to obtain a real-time playing parameter;
and when the playing content is the movie content, the initial playing parameter is adjusted upwards to obtain a real-time playing parameter.
Optionally, the step of determining a real-time shooting parameter corresponding to a real-time device performance parameter of the display device according to the real-time playing parameter includes:
acquiring real-time equipment performance parameters of the display equipment under the real-time playing parameters;
and determining real-time shooting parameters corresponding to the real-time equipment performance parameters according to a preset configuration file, wherein the preset configuration file comprises an association relation between the equipment performance parameters and the corresponding shooting parameters.
Optionally, the step of determining a real-time shooting parameter corresponding to a real-time device performance parameter of the display device according to the real-time playing parameter corresponding to the playing content further includes:
acquiring a real-time shooting parameter range corresponding to the real-time equipment performance parameter;
and determining real-time shooting parameters corresponding to the current shooting purpose according to the real-time shooting parameter range.
Optionally, the step of determining the real-time shooting parameters corresponding to the current shooting objective according to the real-time shooting parameter range corresponding to the real-time device performance parameters includes:
when the shooting purpose is monitoring, selecting a first shooting parameter as the real-time shooting parameter within the real-time shooting parameter range;
and when the shooting purpose is recording, selecting a second shooting parameter as the real-time shooting parameter within the real-time shooting parameter range, wherein the first shooting parameter is smaller than the second shooting parameter.
Optionally, the real-time device performance parameters include a real-time memory footprint and a real-time CPU footprint,
after the step of determining the real-time shooting parameters corresponding to the real-time device performance parameters of the display device according to the real-time playing parameters corresponding to the playing contents, the camera shooting optimization method further includes:
and when the real-time memory occupation value of the display equipment is larger than or equal to a preset memory occupation threshold value and/or the real-time CPU occupation value of the display equipment is larger than or equal to a preset CPU occupation threshold value, returning to execute the real-time playing parameters corresponding to the playing contents and determining the real-time shooting parameters corresponding to the real-time equipment performance parameters of the display equipment.
Optionally, before the step of obtaining the real-time playing parameter corresponding to the playing content, the camera optimization method further includes:
detecting whether a person is in front of the display equipment;
if yes, setting a preset first playing parameter;
if not, setting a preset second playing parameter.
In order to achieve the above object, the present application further provides a camera optimization method apparatus, where the camera optimization method apparatus is applied to a camera optimization method device, and the camera optimization method apparatus includes:
the acquisition module is used for acquiring the playing content of the display equipment provided with the camera;
the determining module is used for determining real-time shooting parameters corresponding to the real-time equipment performance parameters of the display equipment according to the real-time playing parameters corresponding to the playing contents;
and the shooting module is used for obtaining a shooting picture according to the real-time shooting parameters.
Optionally, the playing content includes advertisement content and movie content, and in the step of obtaining the real-time playing parameter corresponding to the playing content, the determining module is further configured to:
acquiring initial playing parameters;
when the playing content is the advertisement content, the initial playing parameter is adjusted downwards to obtain a real-time playing parameter;
and when the playing content is the movie content, the initial playing parameter is adjusted upwards to obtain a real-time playing parameter.
Optionally, in the step of determining a real-time shooting parameter corresponding to a real-time device performance parameter of the display device according to the real-time playing parameter, the determining module is further configured to:
acquiring real-time equipment performance parameters of the display equipment under the real-time playing parameters;
and determining real-time shooting parameters corresponding to the real-time equipment performance parameters according to a preset configuration file, wherein the preset configuration file comprises an association relation between the equipment performance parameters and the corresponding shooting parameters.
Optionally, in the step of determining the real-time shooting parameter corresponding to the real-time device performance parameter of the display device according to the real-time playing parameter corresponding to the playing content, the determining module is further configured to:
acquiring a real-time shooting parameter range corresponding to the real-time equipment performance parameter;
and determining real-time shooting parameters corresponding to the current shooting purpose according to the real-time shooting parameter range.
Optionally, in the step of determining the real-time shooting parameters corresponding to the current shooting objective according to the real-time shooting parameter range corresponding to the real-time device performance parameters, where the current shooting objective includes monitoring and recording, the determining module is further configured to:
when the shooting purpose is monitoring, selecting a first shooting parameter as the real-time shooting parameter within the real-time shooting parameter range;
and when the shooting purpose is recording, selecting a second shooting parameter as the real-time shooting parameter within the real-time shooting parameter range, wherein the first shooting parameter is smaller than the second shooting parameter.
Optionally, the real-time device performance parameter includes a real-time memory occupancy value and a real-time CPU occupancy value, and after the step of determining the real-time shooting parameter corresponding to the real-time device performance parameter of the display device according to the real-time playing parameter corresponding to the playing content, the determining module is further configured to:
and when the real-time memory occupation value of the display equipment is larger than or equal to a preset memory occupation threshold value and/or the real-time CPU occupation value of the display equipment is larger than or equal to a preset CPU occupation threshold value, returning to execute the real-time playing parameters corresponding to the playing contents and determining the real-time shooting parameters corresponding to the real-time equipment performance parameters of the display equipment.
Optionally, before the step of obtaining the real-time playing parameter corresponding to the playing content, the determining module is further configured to:
detecting whether a person is in front of the display equipment;
if yes, setting a preset first playing parameter;
if not, setting a preset second playing parameter.
The present application further provides an electronic device, the electronic device including: a memory, a processor and a program of the camera optimization method stored on the memory and executable on the processor, which program, when executed by the processor, may implement the steps of the camera optimization method as described above.
The present application also provides a computer-readable storage medium having stored thereon a program for implementing a camera optimization method, which when executed by a processor implements the steps of the camera optimization method as described above.
The present application also provides a computer program product comprising a computer program which, when executed by a processor, performs the steps of the camera optimization method as described above.
Compared with the method that the camera equipped with the display equipment in the prior art adopts fixed shooting parameters to shoot, the method obtains the playing content of the display equipment equipped with the camera; determining real-time shooting parameters corresponding to real-time equipment performance parameters of the display equipment according to the real-time playing parameters corresponding to the playing contents; according to the real-time shooting parameters, the shot picture is obtained, the corresponding shooting parameters are adapted according to the playing parameters and the equipment performance parameters, so that the display equipment can be always configured with the proper shooting parameters without being too high or too low, further, the balance between the performance transfer of the display equipment and the picture shooting effect can be realized, the technical defect that the shot picture is blocked when the display equipment shoots under the preset shooting parameters due to too low equipment performance parameters or the shot picture is not clear due to the excessive performance caused by high equipment performance parameters when the fixed shooting parameters are adopted is avoided, and the shooting effect is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive labor.
Fig. 1 is a schematic flow chart of a first embodiment of the camera optimization method of the present application;
fig. 2 is a schematic device structure diagram of a hardware operating environment related to the image pickup optimization method in the embodiment of the present application.
The objectives, features, and advantages of the present application will be further described with reference to the accompanying drawings.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
In a first embodiment of the imaging optimization method of the present application, referring to fig. 1, the imaging optimization method includes:
step S10, acquiring the playing content of a display device, wherein the display device is provided with a camera;
in this embodiment, it should be noted that the display device may be a television, or may also be a display device having display and shooting functions, such as a monitor and a projector.
Exemplarily, the step S10 includes: the method comprises the steps of obtaining playing content of display equipment and playing labels corresponding to the playing content, wherein the playing labels can be advertisement labels and also can be movie labels.
Further, the step of obtaining the playing label corresponding to the playing content may be obtaining a preview of the playing content, inputting the preview to an image classification model, obtaining an image classification result, and outputting the playing label corresponding to the playing content, where the preview may be a key frame image closest to the playing content or a first frame image of the playing content.
Step S20, determining real-time shooting parameters corresponding to the real-time equipment performance parameters of the display equipment according to the real-time playing parameters corresponding to the playing contents;
in this embodiment, it should be noted that the real-time playing parameter is a real-time playing resolution and a real-time playing frame rate of video playing of the display device, and is used to represent a definition and an image refresh frequency of video playing of the display device, where the higher the real-time playing resolution is, the clearer the playing video is; the higher the real-time playing frame rate, the higher the image refreshing frequency of the playing video. The real-time device performance parameters are real-time CPU occupation values and real-time memory occupation values of the display device and are used for representing resource occupation of the display device, and the higher the real-time CPU occupation values and the real-time memory occupation values are, the higher the resource occupation of the display device is, the more easily the blocking situation occurs. The real-time shooting parameters are the real-time shooting resolution and the real-time shooting frame rate of the display equipment and are used for representing the shooting definition and the image refreshing frequency of the display equipment, and the higher the real-time shooting resolution is, the clearer the shot video or image is; the higher the real-time shooting frame rate, the higher the image refresh frequency of the shooting.
Exemplarily, the step S20 includes: determining a real-time CPU occupation value and a real-time memory occupation value of the display device according to the playing resolution and the playing frame rate corresponding to the playing content; and determining the shooting resolution and the shooting frame rate corresponding to the display equipment according to the real-time CPU occupation value and the real-time memory occupation value of the display equipment.
In step S20, before the step of acquiring the real-time playing parameter corresponding to the playing content, the method for optimizing camera shooting further includes:
step A10, detecting whether a person is in front of the display device;
step A20, if yes, setting a preset first playing parameter;
step A30, if not, setting a preset second playing parameter.
In this embodiment, the preset first playing parameter includes a preset first resolution and a preset first frame rate; the preset second playing parameter comprises a preset second resolution and a preset second frame rate, the preset first resolution is greater than the preset second resolution, and the preset first frame rate is greater than the preset second frame rate.
Illustratively, steps a10 through a30 include: detecting whether a person is in front of the display device, if yes, setting a preset first resolution and a preset first frame rate, and if no person is in front of the display device, setting a preset second resolution and a preset second frame rate.
Further, as an example, the step of detecting whether a person is in front of the display device includes: the method comprises the steps of obtaining regional video stream data of a region in front of the display device, extracting a background frame and a target frame carrying target information to be detected from the regional video stream data, specifically, the regional video stream data at least comprises a regional video frame, carrying out background and foreground separation processing on the regional video frame to obtain video background frame data and video foreground frame data, for example, carrying out background and foreground separation in a mode including but not limited to an optical flow algorithm, a low-rank decomposition mode, a mixed Gaussian modeling mode and the like, and further inputting the target frame into a face recognition classifier to judge whether the target frame is a person or not so as to detect whether the person is in front of the display device or not.
As an example, the step of detecting whether a person is in front of the display device includes: detecting infrared radiation in front of the display equipment through a pyroelectric infrared probe, and judging that a person is in front of the display equipment when the wavelength of the infrared radiation is in a preset wavelength range; and when the wavelength of the infrared radiation is not in a preset wavelength range, judging that no person is in front of the display equipment, wherein the preset wavelength range is a preset human body radiation wavelength range.
As an example, the step of detecting whether a person is in front of the display device includes: carry out vital sign through detecting the radar right display device the place ahead and detect the response to carry out high accuracy classification to the detection target, through detect the radar detects whether life body in display device the place ahead, and judge whether the life body is people.
In step S20, the playing content includes advertisement content and video content, and the step of obtaining the real-time playing parameter corresponding to the playing content includes:
step B10, acquiring initial playing parameters;
step B20, when the playing content is advertisement content, the initial playing parameter is adjusted downwards to obtain real-time playing parameter;
and step B30, when the playing content is the movie content, the initial playing parameter is adjusted upwards to obtain the real-time playing parameter.
In this embodiment, it should be noted that the initial playing parameter may be the preset first playing parameter, and may also be the preset second playing parameter.
In this embodiment, it should be noted that the initial playing parameters include an initial playing resolution and an initial playing frame rate. The movie content can be a TV play or a video and audio video such as a movie.
Exemplarily, the step B10 to the step B30 include: acquiring initial playing parameters and playing labels corresponding to the played content, and when the playing labels are advertisement labels, namely the played content is the advertisement content, adjusting the initial playing resolution and the initial playing frame rate down to obtain a real-time playing resolution and a real-time playing frame rate; and when the playing label is a movie content label, namely the playing content is movie content, the initial playing resolution and the initial playing frame rate are adjusted upwards to obtain a real-time playing resolution and a real-time playing frame rate.
In step S20, the step of determining the real-time shooting parameters corresponding to the real-time device performance parameters of the display device according to the real-time playing parameters includes:
step C10, acquiring real-time equipment performance parameters of the display equipment under the real-time playing parameters;
step C20, determining real-time shooting parameters corresponding to the real-time device performance parameters according to a preset configuration file, where the preset configuration file includes an association relationship between the device performance parameters and the corresponding shooting parameters.
Exemplarily, the step C10 to the step C20 include: acquiring a real-time CPU occupation value and a real-time memory occupation value of the display equipment under the real-time resolution and the real-time frame rate and a preset configuration file; and inquiring the real-time shooting resolution and the real-time shooting frame rate corresponding to the real-time CPU occupation value and the real-time memory occupation value in the preset configuration file.
In step C20, the step of determining the real-time shooting parameters corresponding to the real-time device performance parameters of the display device according to the real-time playing parameters corresponding to the playing content further includes:
step C21, acquiring a real-time shooting parameter range corresponding to the real-time equipment performance parameter;
and step C22, determining the real-time shooting parameters corresponding to the current shooting purpose according to the real-time shooting parameter range.
Exemplarily, the step C21 to the step C22 include: inquiring a real-time shooting resolution range and a real-time shooting frame rate range corresponding to the real-time CPU occupation value and the real-time memory occupation value in the preset configuration file; the method comprises the steps of obtaining a current shooting purpose of the display device and a shooting label corresponding to the current shooting purpose, and selecting a real-time shooting resolution ratio and a real-time shooting frame rate corresponding to the current shooting purpose in the real-time shooting resolution ratio range and the real-time shooting frame rate range, wherein the shooting label can be a monitoring label or a recording label.
Further, the step of obtaining the shooting label corresponding to the current shooting purpose is: and obtaining a corresponding shooting purpose and a shooting label according to the selection of the user, wherein the selection of the user can be the keying in of a recorded video or the monitoring of the dynamic content before the display equipment, the shooting label selected by the user is judged by identifying a keyword, and the operation of clicking a recording or monitoring option can be carried out.
In step C22, the step of determining the real-time shooting parameters corresponding to the current shooting objective according to the real-time shooting parameter range corresponding to the real-time device performance parameters includes:
step D10, when the shooting purpose is monitoring, selecting a first shooting parameter as the real-time shooting parameter in the real-time shooting parameter range;
and D20, when the shooting purpose is recording, selecting a second shooting parameter as the real-time shooting parameter within the real-time shooting parameter range, wherein the first shooting parameter is smaller than the second shooting parameter.
Exemplarily, the steps D10 to D20 include: when the shooting tag is detected to be a monitoring tag, namely the shooting purpose is monitoring, selecting a first real-time resolution as a real-time shooting resolution within the real-time shooting resolution range, and selecting a first real-time frame rate as a real-time shooting frame rate within the real-time shooting frame rate range; and when the shooting label is detected to be a recording label, namely the shooting purpose is recording, selecting a second real-time resolution as a real-time shooting resolution within the real-time shooting resolution range, and selecting a second real-time frame rate as a real-time shooting frame rate within the real-time shooting frame rate range.
And step S30, shooting through the camera according to the real-time shooting parameters to obtain a shot picture.
Exemplarily, the step S30 includes: and shooting the front of the display picture through the camera according to the real-time shooting resolution and the real-time shooting frame rate to obtain a shot picture.
Compared with the method that the camera equipped with the display equipment in the prior art adopts fixed shooting parameters to shoot, the method obtains the playing content of the display equipment equipped with the camera; determining real-time shooting parameters corresponding to real-time equipment performance parameters of the display equipment according to the real-time playing parameters corresponding to the playing contents; according to the real-time shooting parameters, the shot picture is obtained, the corresponding shooting parameters are adapted according to the playing parameters and the equipment performance parameters, so that the display equipment can be always configured with the proper shooting parameters without being too high or too low, further, the balance between the performance transfer of the display equipment and the picture shooting effect can be realized, the technical defect that the shot picture is blocked when the display equipment shoots under the preset shooting parameters due to too low equipment performance parameters or the shot picture is not clear due to the excessive performance caused by high equipment performance parameters when the fixed shooting parameters are adopted is avoided, and the shooting effect is improved.
Example two
Further, based on the first embodiment of the present application, in another embodiment of the present application, the same or similar contents to the first embodiment described above may be referred to the above description, and are not repeated herein. On the basis, in step S20, the real-time device performance parameters include real-time memory usage values and real-time CPU usage values,
after the step of determining the real-time shooting parameters corresponding to the real-time device performance parameters of the display device according to the real-time playing parameters corresponding to the playing content, the method for optimizing camera shooting further comprises the following steps:
step E10, when the real-time memory occupation value of the display device is greater than or equal to the preset memory occupation threshold and/or the real-time CPU occupation value of the display device is greater than or equal to the preset CPU occupation threshold, returning to execute the step of determining the real-time shooting parameters corresponding to the real-time device performance parameters of the display device according to the real-time playing parameters corresponding to the playing content.
In this embodiment, it should be noted that the preset CPU occupation threshold is a preset critical value of a CPU occupation value that the display device can stably operate; the preset memory occupation threshold is a critical value of a memory occupation value of the display equipment which is preset and can stably run
Illustratively, step E10 includes: when the real-time memory occupation value of the display equipment is larger than or equal to a preset memory occupation threshold value and/or the real-time CPU occupation value of the display equipment is larger than or equal to a preset CPU occupation threshold value, returning to execute the real-time playing parameters corresponding to the playing contents and determining the real-time shooting parameters corresponding to the real-time equipment performance parameters of the display equipment; and when the real-time memory occupation value of the display equipment is smaller than a preset memory occupation threshold value and/or the real-time CPU occupation value of the display equipment is smaller than a preset CPU occupation threshold value, executing the step of shooting through the camera according to the real-time shooting parameters to obtain a shot picture.
Compared with the method that the camera equipped with the display equipment in the prior art adopts fixed shooting parameters to shoot, the method obtains the playing content of the display equipment equipped with the camera; determining real-time shooting parameters corresponding to real-time equipment performance parameters of the display equipment according to the real-time playing parameters corresponding to the playing contents; according to the real-time shooting parameters, the shot picture is obtained, the corresponding shooting parameters are adapted according to the playing parameters and the equipment performance parameters, so that the display equipment can be always configured with the proper shooting parameters without being too high or too low, further, the balance between the performance transfer of the display equipment and the picture shooting effect can be realized, the technical defect that the shot picture is blocked when the display equipment shoots under the preset shooting parameters due to too low equipment performance parameters or the shot picture is not clear due to the excessive performance caused by high equipment performance parameters when the fixed shooting parameters are adopted is avoided, and the shooting effect is improved.
EXAMPLE III
The embodiment of the present application further provides a camera optimization method and device, where the camera optimization method and device are applied to camera optimization method equipment, and the camera optimization method and device include:
the acquisition module is used for acquiring the playing content of the display equipment provided with the camera;
the determining module is used for determining real-time shooting parameters corresponding to the real-time equipment performance parameters of the display equipment according to the real-time playing parameters corresponding to the playing contents;
and the shooting module is used for obtaining a shooting picture according to the real-time shooting parameters.
Optionally, the playing content includes advertisement content and video content, and in the step of obtaining the real-time playing parameter corresponding to the playing content, the determining module is further configured to:
acquiring initial playing parameters;
when the playing content is the advertisement content, the initial playing parameter is adjusted downwards to obtain a real-time playing parameter;
and when the playing content is the movie content, the initial playing parameter is adjusted upwards to obtain a real-time playing parameter.
Optionally, in the step of determining a real-time shooting parameter corresponding to a real-time device performance parameter of the display device according to the real-time playing parameter, the determining module is further configured to:
acquiring real-time equipment performance parameters of the display equipment under the real-time playing parameters;
and determining real-time shooting parameters corresponding to the real-time equipment performance parameters according to a preset configuration file, wherein the preset configuration file comprises an association relation between the equipment performance parameters and the corresponding shooting parameters.
Optionally, in the step of determining the real-time shooting parameter corresponding to the real-time device performance parameter of the display device according to the real-time playing parameter corresponding to the playing content, the determining module is further configured to:
acquiring a real-time shooting parameter range corresponding to the real-time equipment performance parameter;
and determining real-time shooting parameters corresponding to the current shooting purpose according to the real-time shooting parameter range.
Optionally, in the step of determining the real-time shooting parameters corresponding to the current shooting objective according to the real-time shooting parameter range corresponding to the real-time device performance parameters, where the current shooting objective includes monitoring and recording, the determining module is further configured to:
when the shooting purpose is monitoring, selecting a first shooting parameter as the real-time shooting parameter within the real-time shooting parameter range;
and when the shooting purpose is recording, selecting a second shooting parameter as the real-time shooting parameter within the real-time shooting parameter range, wherein the first shooting parameter is smaller than the second shooting parameter.
Optionally, the real-time device performance parameter includes a real-time memory occupancy value and a real-time CPU occupancy value, and after the step of determining the real-time shooting parameter corresponding to the real-time device performance parameter of the display device according to the real-time playing parameter corresponding to the playing content, the determining module is further configured to:
and when the real-time memory occupation value of the display equipment is larger than or equal to a preset memory occupation threshold value and/or the real-time CPU occupation value of the display equipment is larger than or equal to a preset CPU occupation threshold value, returning to execute the real-time playing parameters corresponding to the playing contents and determining the real-time shooting parameters corresponding to the real-time equipment performance parameters of the display equipment.
Optionally, before the step of obtaining the real-time playing parameter corresponding to the playing content, the determining module is further configured to:
detecting whether a person is in front of the display equipment;
if yes, setting a preset first playing parameter;
if not, setting a preset second playing parameter.
The camera shooting optimization method device provided by the invention adopts the camera shooting optimization method in the embodiment, so that the technical problem of poor shooting effect is solved. Compared with the prior art, the beneficial effects of the camera optimization method device provided by the embodiment of the invention are the same as those of the camera optimization method provided by the embodiment, and other technical features of the camera optimization method device are the same as those disclosed by the embodiment method, which are not repeated herein.
Example four
An embodiment of the present invention provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the image pickup optimization method in the first embodiment.
Referring now to FIG. 2, shown is a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 2 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 2, the electronic device may include a processing apparatus (e.g., a central processing unit, a graphic processor, etc.) that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) or a program loaded from a storage apparatus into a Random Access Memory (RAM). In the RAM, various programs and data necessary for the operation of the electronic apparatus are also stored. The processing device, the ROM, and the RAM are connected to each other by a bus. An input/output (I/O) interface is also connected to the bus.
Generally, the following systems may be connected to the I/O interface: input devices including, for example, touch screens, touch pads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, and the like; output devices including, for example, Liquid Crystal Displays (LCDs), speakers, vibrators, and the like; storage devices including, for example, magnetic tape, hard disk, etc.; and a communication device. The communication means may allow the electronic device to communicate wirelessly or by wire with other devices to exchange data. While the figures illustrate an electronic device with various systems, it is to be understood that not all illustrated systems are required to be implemented or provided. More or fewer systems may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means, or installed from a storage means, or installed from a ROM. The computer program, when executed by a processing device, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
The electronic equipment provided by the invention adopts the camera shooting optimization method in the embodiment, so that the technical problem of poor shooting effect is solved. Compared with the prior art, the beneficial effects of the electronic device provided by the embodiment of the invention are the same as the beneficial effects of the camera optimization method provided by the embodiment, and other technical features of the electronic device are the same as those disclosed by the embodiment method, which are not repeated herein.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the foregoing description of embodiments, the particular features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
EXAMPLE five
The present embodiment provides a computer-readable storage medium having stored thereon computer-readable program instructions for executing the method of the image pickup optimization method in the first embodiment.
The computer readable storage medium provided by the embodiments of the present invention may be, for example, a USB flash disk, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, or device, or any combination thereof. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present embodiment, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer-readable storage medium may be embodied in an electronic device; or may be present alone without being incorporated into the electronic device.
The computer readable storage medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring playing content of display equipment equipped with the camera; determining real-time shooting parameters corresponding to real-time equipment performance parameters of the display equipment according to the real-time playing parameters corresponding to the playing contents; and obtaining a shooting picture according to the real-time shooting parameters.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented by software or hardware. Wherein the names of the modules do not in some cases constitute a limitation of the unit itself.
The computer-readable storage medium provided by the invention stores computer-readable program instructions for executing the camera shooting optimization method, and solves the technical problem of poor shooting effect. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the embodiment of the invention are the same as the beneficial effects of the camera optimization method provided by the implementation, and are not repeated herein.
EXAMPLE six
The present application also provides a computer program product comprising a computer program which, when executed by a processor, performs the steps of the camera optimization method as described above.
The computer program product provided by the application solves the technical problem of poor shooting effect. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the invention are the same as the beneficial effects of the camera optimization method provided by the embodiment, and are not described herein again.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (10)

1. An image capture optimization method, comprising:
acquiring playing content of a display device, wherein the display device is provided with a camera;
determining real-time shooting parameters corresponding to real-time equipment performance parameters of the display equipment according to the real-time playing parameters corresponding to the playing contents;
and shooting through the camera according to the real-time shooting parameters to obtain a shot picture.
2. The camera optimization method according to claim 1, wherein the broadcast content includes advertisement content and video content, and the step of obtaining the real-time broadcast parameters corresponding to the broadcast content includes:
acquiring initial playing parameters;
when the playing content is the advertisement content, the initial playing parameter is adjusted downwards to obtain a real-time playing parameter;
and when the playing content is the movie content, the initial playing parameter is adjusted upwards to obtain a real-time playing parameter.
3. The camera optimization method according to claim 1, wherein the step of determining the real-time shooting parameters corresponding to the real-time device performance parameters of the display device according to the real-time playing parameters comprises:
acquiring real-time equipment performance parameters of the display equipment under the real-time playing parameters;
and determining real-time shooting parameters corresponding to the real-time equipment performance parameters according to a preset configuration file, wherein the preset configuration file comprises an association relation between the equipment performance parameters and the corresponding shooting parameters.
4. The camera optimization method according to claim 1, wherein the step of determining the real-time shooting parameters corresponding to the real-time device performance parameters of the display device according to the real-time playing parameters corresponding to the playing contents further comprises:
acquiring a real-time shooting parameter range corresponding to the real-time equipment performance parameter;
and determining real-time shooting parameters corresponding to the current shooting purpose according to the real-time shooting parameter range.
5. The camera optimization method according to claim 4, wherein the current shooting objective includes monitoring and recording, and the step of determining the real-time shooting parameters corresponding to the current shooting objective according to the real-time shooting parameter range corresponding to the real-time device performance parameters includes:
when the shooting purpose is monitoring, selecting a first shooting parameter as the real-time shooting parameter within the real-time shooting parameter range;
and when the shooting purpose is recording, selecting a second shooting parameter as the real-time shooting parameter in the real-time shooting parameter range, wherein the first shooting parameter is smaller than the second shooting parameter.
6. The camera optimization method of claim 1, wherein the real-time device performance parameters include real-time memory footprint and real-time CPU footprint,
after the step of determining the real-time shooting parameters corresponding to the real-time device performance parameters of the display device according to the real-time playing parameters corresponding to the playing contents, the camera shooting optimization method further includes:
and when the real-time memory occupation value of the display equipment is larger than or equal to a preset memory occupation threshold value and/or the real-time CPU occupation value of the display equipment is larger than or equal to a preset CPU occupation threshold value, returning to execute the real-time playing parameters corresponding to the playing contents and determining the real-time shooting parameters corresponding to the real-time equipment performance parameters of the display equipment.
7. The camera optimization method according to claim 1, wherein before the step of obtaining the real-time play parameters corresponding to the play content, the camera optimization method further comprises:
detecting whether a person is in front of the display equipment;
if yes, setting a preset first playing parameter;
if not, setting a preset second playing parameter.
8. A camera performance adjustment device, characterized in that camera performance adjustment device includes:
the acquisition module is used for acquiring the playing content of the display equipment provided with the camera;
the determining module is used for determining real-time shooting parameters corresponding to the real-time equipment performance parameters of the display equipment according to the real-time playing parameters corresponding to the playing contents;
and the shooting module is used for obtaining a shooting picture according to the real-time shooting parameters.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
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 steps of the camera optimization method of any one of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon a program for implementing a camera optimization method, the program being executable by a processor for implementing the steps of the camera optimization method according to any one of claims 1 to 7.
CN202210225587.0A 2022-03-07 2022-03-07 Camera optimization method and device, electronic equipment and readable storage medium Pending CN114727011A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210225587.0A CN114727011A (en) 2022-03-07 2022-03-07 Camera optimization method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210225587.0A CN114727011A (en) 2022-03-07 2022-03-07 Camera optimization method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN114727011A true CN114727011A (en) 2022-07-08

Family

ID=82237941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210225587.0A Pending CN114727011A (en) 2022-03-07 2022-03-07 Camera optimization method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114727011A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004282143A (en) * 2003-03-12 2004-10-07 Fuji Xerox Co Ltd Image processor and display control method therefor
CN107333107A (en) * 2017-07-21 2017-11-07 广东美的制冷设备有限公司 Monitor image pickup method, device and its equipment
CN108024079A (en) * 2017-11-29 2018-05-11 广东欧珀移动通信有限公司 Record screen method, apparatus, terminal and storage medium
CN110881136A (en) * 2019-11-14 2020-03-13 腾讯科技(深圳)有限公司 Video frame rate control method and device, computer equipment and storage medium
CN111064885A (en) * 2019-12-19 2020-04-24 上海传英信息技术有限公司 Quick photographing method, mobile terminal and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004282143A (en) * 2003-03-12 2004-10-07 Fuji Xerox Co Ltd Image processor and display control method therefor
CN107333107A (en) * 2017-07-21 2017-11-07 广东美的制冷设备有限公司 Monitor image pickup method, device and its equipment
CN108024079A (en) * 2017-11-29 2018-05-11 广东欧珀移动通信有限公司 Record screen method, apparatus, terminal and storage medium
CN110881136A (en) * 2019-11-14 2020-03-13 腾讯科技(深圳)有限公司 Video frame rate control method and device, computer equipment and storage medium
CN111064885A (en) * 2019-12-19 2020-04-24 上海传英信息技术有限公司 Quick photographing method, mobile terminal and computer readable storage medium

Similar Documents

Publication Publication Date Title
WO2020092025A1 (en) Real time tone mapping of high dynamic range image data at time of playback on a lower dynamic range display
US11928152B2 (en) Search result display method, readable medium, and terminal device
WO2020244553A1 (en) Subtitle border-crossing processing method and apparatus, and electronic device
CN110796664B (en) Image processing method, device, electronic equipment and computer readable storage medium
CN109446025B (en) Operation behavior playback method and device, electronic equipment and readable medium
CN114845212A (en) Volume optimization method and device, electronic equipment and readable storage medium
CN115460353B (en) Teaching tracking camera equipment configuration method and device, electronic equipment and medium
CN109922366B (en) Equipment parameter adjusting method, device, equipment and medium
WO2023098576A1 (en) Image processing method and apparatus, device, and medium
US11755758B1 (en) System and method for evaluating data files
US20220245920A1 (en) Object display method and apparatus, electronic device, and computer readable storage medium
CN114727011A (en) Camera optimization method and device, electronic equipment and readable storage medium
CN113099101B (en) Camera shooting parameter adjusting method and device and electronic equipment
CN114677738A (en) MV recording method, MV recording device, electronic equipment and computer readable storage medium
CN115174818A (en) Target tracking method based on sound positioning, electronic equipment and readable storage medium
CN114653066A (en) Game item recommendation method and device, electronic equipment and storage medium
CN114724528B (en) Display control method and device of display device, electronic device and storage medium
CN115348478B (en) Equipment interactive display method and device, electronic equipment and readable storage medium
CN111063011A (en) Face image processing method, device, equipment and medium
CN114489547A (en) Screen projection method and device, electronic equipment and readable storage medium
CN114501041B (en) Special effect display method, device, equipment and storage medium
CN115410232B (en) Blackboard writing snapshot method and device, electronic equipment and readable storage medium
CN114428596B (en) Screen projection display method, electronic equipment and readable storage medium
CN110047520B (en) Audio playing control method and device, electronic equipment and computer readable storage medium
WO2022242544A1 (en) Live-streaming video stream playing method and apparatus, and electronic 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