CN114189435A - Parameter configuration method and device, electronic equipment and storage medium - Google Patents

Parameter configuration method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114189435A
CN114189435A CN202111459571.8A CN202111459571A CN114189435A CN 114189435 A CN114189435 A CN 114189435A CN 202111459571 A CN202111459571 A CN 202111459571A CN 114189435 A CN114189435 A CN 114189435A
Authority
CN
China
Prior art keywords
target
image
frame
rate
resolution
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
CN202111459571.8A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202111459571.8A priority Critical patent/CN114189435A/en
Publication of CN114189435A publication Critical patent/CN114189435A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Image Analysis (AREA)

Abstract

The embodiment of the application discloses a parameter configuration method, a parameter configuration device, electronic equipment and a storage medium, wherein the method comprises the following steps: carrying out target detection on the target frame image; analyzing a target object detected from the target frame image to obtain a target analysis result; and configuring image acquisition parameters based on the target analysis result.

Description

Parameter configuration method and device, electronic equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of communication, and in particular, to a parameter configuration method and apparatus, an electronic device, and a storage medium.
Background
At present, engineers often configure fixed image acquisition parameters to a camera based on experience, so that the camera can operate in a fixed configuration after image acquisition services are turned on.
However, when the camera performs image acquisition with a fixed image acquisition parameter configuration, when a subsequent algorithm flow is required to perform subsequent characteristic analysis on a target object in an image, there is a problem that an image with a sufficient resolution cannot be provided for the algorithm. For example, in an application that requires the face recognition of the owner, if the camera outputs an image with a fixed small resolution to the algorithm for detection, the cut-out portrait will not provide a good face recognition accuracy; if the resolution is fixed to be high for detection, power consumption is wasted when no face appears. In addition, the real-time requirement of the instant response application cannot be met in time. If the camera outputs images at a fixed low frame rate, the algorithm is difficult to respond in time when the target attribute changes rapidly; if the camera outputs images at a fixed high frame rate, power consumption is wasted when no target object appears, and flexibility and accuracy of image acquisition parameter configuration are low.
Disclosure of Invention
The embodiment of the application provides a parameter configuration method, a parameter configuration device, electronic equipment and a storage medium, and improves flexibility and accuracy of image acquisition parameter configuration.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a parameter configuration method, which comprises the following steps:
carrying out target detection on the target frame image;
analyzing the target object detected from the target frame image to obtain a target analysis result;
and configuring image acquisition parameters based on the target analysis result.
In the above method, the target analysis result includes: the analyzing the target object detected from the target frame image to obtain a target analysis result includes:
acquiring a first detection frame containing the target object from the target frame image;
and calculating the image area ratio of the first detection frame in the target frame image to obtain the current image ratio.
In the above method, the image acquisition parameters include a target image resolution, and the configuring the image acquisition parameters based on the target analysis result includes:
determining a first resolution as the target image resolution under the condition that the current image ratio is smaller than a preset ratio threshold;
determining a second resolution as the target image resolution when the current image ratio is greater than or equal to the preset ratio threshold;
wherein the first resolution is higher than the second resolution.
In the above method, the target analysis result includes: the analyzing the target object detected from the target frame image to obtain a target analysis result includes:
acquiring a historical frame image containing the target object;
performing target tracking on the target object in the historical frame image and the target frame image to obtain a target tracking result;
calculating the change rate of the preset type attribute of the target object by using the target tracking result to obtain the attribute change rate;
wherein the preset type attribute comprises one or more of the following items: object state, image area ratio, and plane position.
In the above method, the image acquisition parameters include a target image frame rate, and the configuring the image acquisition parameters based on the target analysis result includes:
determining a first frame rate as the target image frame rate under the condition that the attribute change rate is greater than a preset rate threshold;
determining a second frame rate as the target image frame rate when the attribute change rate is less than or equal to the preset rate threshold;
wherein the first frame rate is higher than the second frame rate.
The embodiment of the application provides a parameter configuration device, including:
a detection module configured to perform target detection on the target frame image;
the analysis module is configured to analyze the target object detected from the target frame image to obtain a target analysis result;
a configuration module configured to configure image acquisition parameters based on the target analysis results.
In the above apparatus, the target analysis result includes: a current image fraction of the target object, the analysis module configured to:
acquiring a first detection frame containing the target object from the target frame image;
and calculating the image area ratio of the first detection frame in the target frame image to obtain the current image ratio.
In the above apparatus, the image acquisition parameters include a target image resolution, and the configuration module is configured to:
determining a first resolution as the target image resolution under the condition that the current image ratio is smaller than a preset ratio threshold;
determining a second resolution as the target image resolution when the current image ratio is greater than or equal to the preset ratio threshold;
wherein the first resolution is higher than the second resolution.
In the above apparatus, the target analysis result includes: a rate of change of a property of the target object, the analysis module configured to:
acquiring a historical frame image containing the target object;
performing target tracking on the target object in the historical frame image and the target frame image to obtain a target tracking result;
calculating the change rate of the preset type attribute of the target object by using the target tracking result to obtain the attribute change rate;
wherein the preset type attribute comprises one or more of the following items: object state, image area ratio, and plane position.
In the above apparatus, the image configuration parameter includes a target image frame rate, and the configuration module is configured to:
determining a first frame rate to the target image frame rate under the condition that the attribute change rate is greater than a preset rate threshold;
determining a second frame rate as the target image frame rate when the attribute change rate is less than or equal to the preset rate threshold;
wherein the first frame rate is higher than the second frame rate.
An embodiment of the present application provides an electronic device, including: a processor, a memory, and a communication bus;
the communication bus is configured to realize communication connection between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the parameter configuration method.
The embodiment of the application provides a computer readable storage medium, on which a computer program is stored, and the computer program realizes the parameter configuration method when being executed by a processor.
The embodiment of the application provides a parameter configuration method, a parameter configuration device, electronic equipment and a storage medium, wherein the method comprises the following steps: carrying out target detection on the target frame image; analyzing a target object detected from the target frame image to obtain a target analysis result; and configuring image acquisition parameters based on the target analysis result. According to the technical scheme provided by the embodiment of the application, the target object in the image is analyzed, so that the image acquisition parameters are dynamically configured, and the flexibility and the accuracy of the configuration of the image acquisition parameters are improved.
Drawings
Fig. 1 is a schematic flowchart of a parameter configuration method according to an embodiment of the present application;
fig. 2 is a schematic diagram of an exemplary parameter configuration process provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of an exemplary process for determining image acquisition parameters according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a parameter configuration apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The following describes in detail the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems by embodiments and with reference to the drawings. The following embodiments may be combined with each other and may not be described in detail in some embodiments for the same or similar concepts or processes.
The technical means described in the embodiments of the present application may be arbitrarily combined without conflict.
The embodiment of the application provides a parameter configuration method, which is applied to a parameter configuration device. The specific type of the parameter configuration apparatus is not limited in the embodiments of the present application, and may be any user equipment, for example, a smart phone, a personal computer, a notebook computer, a tablet computer, a portable wearable device, and the like.
Fig. 1 is a schematic flowchart of a parameter configuration method according to an embodiment of the present application. As shown in fig. 1, in the embodiment of the present application, the parameter configuration method mainly includes the following steps:
and S101, carrying out target detection on the target frame image.
In an embodiment of the present application, the parameter configuration apparatus may perform target detection on a target frame image.
It should be noted that, in the embodiment of the present disclosure, the target frame image may be any one frame image acquired by an image acquisition device, for example, a camera, and may be one frame image acquired at specific time intervals or one frame image acquired in real time, and the embodiment of the present disclosure is not limited.
It should be noted that, in the embodiment of the present application, the parameter configuration apparatus may perform target detection on the target frame image by using a specific target detection algorithm or a model detection model, where a target to be detected is specifically a target object, for example, a specific person, a human hand, and the like, and the target object may be set according to actual needs and application scenarios, and the embodiment of the present application is not limited.
And S102, analyzing the target object detected from the target frame image to obtain a target analysis result.
In the embodiment of the application, after the parameter configuration device performs the target detection on the target frame image, the detected target object can be analyzed, so as to obtain the target analysis result.
It should be noted that, in the embodiment of the present application, the parameter configuration apparatus may perform analysis of various types of attributes with respect to the target object, and the analysis result constitutes a target analysis result. The specific analysis content of the parameter configuration device can be set according to actual requirements and application scenarios, and the embodiment of the present application is not limited.
Specifically, in the embodiment of the present application, the target analysis result includes: the current image proportion of the target object, the parameter configuration device analyzes the target object detected from the target frame image to obtain a target analysis result, and the method comprises the following steps: acquiring a first detection frame containing a target object from a target frame image; and calculating the image area ratio of the first detection frame in the target frame image to obtain the current image ratio.
It is understood that, in the embodiment of the present application, the parameter configuration apparatus performs target detection on the target image frame, and the detected target object may be marked by a detection frame in the target image frame, where the detection frame is denoted as a first detection frame. The parameter configuration device may directly acquire the first detection frame from the target frame image, and calculate an image area ratio of the first detection frame in the target frame image, that is, calculate a ratio of the area of the first detection frame to the area of the target frame image, and obtain the ratio, that is, a current image ratio of the target object.
It is understood that, in the embodiment of the present application, the current image proportion of the target object is determined based on one frame image of the detected target object, that is, the target frame image, which reflects the situation that the target object is actually at one moment, and is actually a static attribute of the target object. The current image ratio is only an exemplary static attribute, and of course, the parameter configuration apparatus may also calculate other types of static attributes of the target object by using the target frame image according to other specific algorithms, as the target analysis result or a part of the target analysis result, which is not limited in the embodiment of the present application.
Specifically, in the embodiment of the present application, the target analysis result includes: the parameter configuration device analyzes the target object detected from the target frame image to obtain a target analysis result, and comprises: acquiring a historical frame image containing a target object; performing target tracking on a target object in the historical frame image and the target frame image to obtain a target tracking result; calculating the change rate of the preset type attribute of the target object by using the target tracking result to obtain the attribute change rate; the preset type attribute comprises one or more of the following items: object state, image area ratio, and plane position.
It is understood that, in the embodiment of the present application, before the target frame image is acquired, a historical frame image that also includes the target object may be acquired, and for this, the parameter configuration apparatus may acquire the historical frame image, so as to compare with the target frame image, and calculate the dynamic attribute information of the target object, that is, the change rate of the preset type attribute. The historical frame image including the target object may be one or more frame images, and the embodiment of the present application is not limited.
It should be noted that, in the embodiment of the present application, the parameter configuration device may obtain the target tracking result by using a multi-target tracking algorithm according to the target detection result in the historical frame image and in combination with the target detection result in the target frame image, so as to respectively calculate the change rate of the preset type number of the target objects in the detection frame for the target objects.
It should be noted that, in the embodiment of the present application, the parameter configuration apparatus calculates the change rate of the preset type attribute of the target object by using the target tracking result, where in a case that the preset type attribute includes the object state, the change rate of the state of the target object actually needs to be calculated, for example, a rate of gesture change is calculated in application of gesture recognition, in a case that the preset type attribute includes an image area ratio, the change rate of the area of the target object actually needs to be calculated, which can be used as auxiliary information for determining that the target object approaches the rate of the image acquisition device, and in a case that the preset type information includes a plane position, the motion rate of the target object actually needs to be calculated. The preset type attributes are only some exemplary attributes provided, and of course, other attributes may be set according to actual needs and application scenarios, and the embodiment of the present application is not limited.
It is to be understood that, in the embodiment of the present application, the calculating of the change rate of the preset type attribute of the target object is determined based on the multi-frame image in which the target object is detected, that is, the target frame image and the history frame image, and the change condition of the target object in a period of time is actually a dynamic attribute of the target object.
It should be noted that, in the embodiments of the present application, the above-mentioned are only some exemplary analysis manners of the target object and specific contents of the target analysis result, and the specific analysis manners and the target analysis results are not limited in the embodiments of the present application.
S103, configuring image acquisition parameters based on the target analysis result.
In the embodiment of the application, the parameter configuration device can configure the image acquisition parameters based on the target analysis result for subsequent image acquisition under the condition of obtaining the target analysis result of the target object.
Fig. 2 is a schematic diagram of an exemplary parameter configuration process provided in an embodiment of the present application. As shown in fig. 2, in the embodiment of the present application, first, after a target service is turned on, for example, after a target AON service is turned on, a camera is configured to be in a "low power consumption mode" according to image acquisition parameters of a low resolution and a low frame rate, and a graph is configured accordingly, then a target detection algorithm is performed on an acquired image to obtain a target detection result, if a target object is not detected, the camera is continuously configured to be in the image acquisition parameters of the low resolution and the low frame rate to graph, if the target object is detected, the target object is analyzed to determine a target analysis result according to the analysis result, wherein if image acquisition parameters of a high resolution and a high frame rate are determined based on the target analysis result, the camera is configured to be in a "high performance mode" according to the image acquisition parameters of the high resolution and the high frame rate, if the image acquisition parameters of the low resolution and the low frame rate are determined based on the target analysis result, then the camera is configured into a "low power mode" with image acquisition parameters of low resolution and low frame rate maintained.
Specifically, in this embodiment of the present application, as described in step S102, the target analysis result may include a current image ratio of the target object, correspondingly, the image capturing parameter may include a target image resolution, and the parameter configuring device configures the image capturing parameter based on the target analysis result, including: determining the first resolution as a target image resolution under the condition that the current image ratio is smaller than a preset ratio threshold; determining the second resolution as a target resolution under the condition that the current image proportion is greater than or equal to a preset proportion threshold; wherein the first resolution is higher than the second resolution.
It is understood that, in the embodiment of the present application, in the case that the target analysis result includes the current image proportion of the target object, the parameter configuration device may determine the image resolution that the image capture output image needs to achieve, that is, the target image resolution, based on the size of the current image proportion.
It can be understood that, in the embodiment of the present application, the parameter configuration device may obtain the preset ratio threshold, and if the current image ratio is smaller than the preset ratio threshold, the target object is characterized as a small target, in this case, a high-resolution image frame needs to be generated during image acquisition, so that the target object can be clearly displayed, so as to ensure the accuracy of subsequent image processing, for example, face recognition processing and other processing, and therefore, the first resolution with a higher resolution may be determined as the target image resolution; if the current image ratio is larger than or equal to the preset ratio threshold, the target object is represented as a large target, and in this case, the target object can be clearly displayed only by generating an image frame with low resolution during image acquisition, and meanwhile, the power consumption generated by image acquisition is reduced, so that the second resolution with lower resolution can be determined as the target image resolution.
It should be noted that, in the embodiment of the present application, the first resolution is higher than the second resolution, and the specific values of the first resolution and the second resolution may be preset according to actual needs and application scenarios, or dynamically updated by using a specific algorithm, which is not limited in the embodiment of the present application.
Specifically, in this embodiment of the present application, as described in step S102, the target analysis result may include a change rate of an attribute of the target object, and correspondingly, the image acquisition parameter may include a target image frame rate, and the parameter configuration device configures the image acquisition parameter based on the attribute analysis result, including: determining the first frame rate as a target image frame rate under the condition that the attribute change rate is greater than a preset rate threshold; determining the second frame rate as the target image frame rate under the condition that the attribute change rate is less than or equal to a preset rate threshold; wherein the first frame rate is higher than the second frame rate.
It is understood that, in the embodiment of the present application, in the case that the target analysis result includes a property change rate of the target object, the parameter configuration apparatus may determine, based on a magnitude of the property change rate, an image frame rate that needs to be reached by the output image during image acquisition, that is, the target image frame rate.
It can be understood that, in the embodiment of the present application, the parameter configuration device may obtain the preset rate threshold, and if the attribute change rate is greater than the preset rate threshold, the representation target object has a fast change speed, in this case, image output needs to be performed at a higher frame rate during image acquisition, so that the real-time requirement of the immediate response application can be met, and therefore, a first frame rate with a higher frame rate may be determined as the target image frame rate; if the attribute change rate is less than or equal to the preset rate threshold, the characteristic target object has a slow change speed, in this case, image acquisition only needs to output images at a low frame rate, and power consumption generated by image acquisition is reduced, so that a second frame rate with a low resolution can be determined as the target image frame rate.
It should be noted that, in the embodiment of the present application, the first frame rate is higher than the second frame rate, and specific values of the first frame rate and the second frame rate may be preset according to actual needs and application scenarios, or dynamically updated by using a specific algorithm, which is not limited in the embodiment of the present application.
Fig. 3 is a schematic flowchart of an exemplary process for configuring image acquisition parameters according to an embodiment of the present application. As shown in fig. 3, first, the parameter configuration device needs to obtain a target detection result of a historical image frame, and in combination with the target detection result of the target image frame, a target tracking result is obtained by using a multi-target tracking algorithm, so as to calculate change rates of different attributes for the target object, respectively, and determine whether to configure a higher frame rate according to a comparison between the change rates and a preset rate threshold, where the calculated content specifically includes, but is not limited to, the following: a rate of change in an object state of the target object, a rate of change in an image area ratio of the target object, and a rate of change in a plane position of the target object, that is, a rate of movement of the target object. In addition, the parameter configuration device may calculate an image area ratio of the target object in the target image frame, obtain a current image ratio, and compare the current image ratio with a preset ratio threshold to determine whether a higher resolution needs to be set. And finally, fusing the results to configure image acquisition parameters, thereby outputting image acquisition configuration.
The embodiment of the application provides a parameter configuration method, which comprises the following steps: carrying out target detection on the target frame image; analyzing a target object detected from the target frame image to obtain a target analysis result; and configuring image acquisition parameters based on the target analysis result. According to the parameter configuration method provided by the embodiment of the application, the target object in the image is analyzed, so that the image acquisition parameters are dynamically configured, and the flexibility and the accuracy of the image acquisition parameter configuration are improved.
The embodiment of the application provides a parameter configuration device. Fig. 4 is a schematic structural diagram of a parameter configuration apparatus according to an embodiment of the present application. As shown in fig. 4, in an embodiment of the present application, a parameter configuration apparatus includes:
a detection module 401 configured to perform target detection on a target frame image;
an analysis module 402 configured to analyze a target object detected from the target frame image, resulting in a target analysis result;
a configuration module 403 configured to configure image acquisition parameters based on the target analysis result.
In an embodiment of the present application, the target analysis result includes: a current image fraction of the target object, the analysis module 402 configured to:
acquiring a first detection frame containing the target object from the target frame image;
and calculating the image area ratio of the first detection frame in the target frame image to obtain the current image ratio.
In an embodiment of the present application, the image acquisition parameter includes a target image resolution, and the configuration module 403 is configured to:
determining a first resolution as the target image resolution under the condition that the current image ratio is smaller than a preset ratio threshold;
determining a second resolution as the target image resolution when the current image ratio is greater than or equal to the preset ratio threshold;
wherein the first resolution is higher than the second resolution.
In an embodiment of the present application, the target analysis result includes: a rate of change of a property of the target object, the analysis module 402 configured to:
acquiring a historical frame image containing the target object;
performing target tracking on the target object in the historical frame image and the target frame image to obtain a target tracking result;
calculating the change rate of the preset type attribute of the target object by using the target tracking result to obtain the attribute change rate;
wherein the preset type attribute comprises one or more of the following items: object state, image area ratio, and plane position.
In an embodiment of the present application, the image acquisition parameter includes a frame rate of a target image, and the configuration module 403 is configured to:
determining a first frame rate to the target image frame rate under the condition that the attribute change rate is greater than a preset rate threshold;
determining a second frame rate as the target image frame rate when the attribute change rate is less than or equal to the preset rate threshold;
wherein the first frame rate is higher than the second frame rate.
The embodiment of the application provides a parameter configuration device, which is used for carrying out target detection on a target frame image; analyzing a target object detected from the target frame image to obtain a target analysis result; and configuring image acquisition parameters based on the target analysis result. According to the parameter configuration device provided by the embodiment of the application, the target object in the image is analyzed, so that the image acquisition parameters are dynamically configured, and the flexibility and the accuracy of the image acquisition parameter configuration are improved.
The embodiment of the application provides electronic equipment. Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 5, in an embodiment of the present application, an electronic apparatus includes: a processor 501, a memory 502, and a communication bus 503;
the communication bus 503 is configured to implement communication connection between the processor 501 and the memory 502;
the processor 501 is configured to execute one or more programs stored in the memory 502 to implement the parameter configuration method.
The embodiment of the application provides a computer readable storage medium, on which a computer program is stored, and the computer program realizes the parameter configuration method when being executed by a processor. The computer-readable storage medium may be a volatile Memory (volatile Memory), such as a Random-Access Memory (RAM); or a non-volatile Memory (non-volatile Memory), such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk (Hard Disk Drive, HDD) or a Solid-State Drive (SSD); or may be a separate device including one or any combination of the above memories, such as a mobile phone, computer, tablet device, personal digital assistant
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of implementations of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart block or blocks and/or flowchart block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks in the flowchart and/or block diagram block or blocks.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application are included in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (12)

1. A method for configuring parameters, comprising:
carrying out target detection on the target frame image;
analyzing the target object detected from the target frame image to obtain a target analysis result;
and configuring image acquisition parameters based on the target analysis result.
2. The method of claim 1, wherein the target analysis results comprise: the analyzing the target object detected from the target frame image to obtain a target analysis result includes:
acquiring a first detection frame containing the target object from the target frame image;
and calculating the image area ratio of the first detection frame in the target frame image to obtain the current image ratio.
3. The method of claim 2, wherein the image acquisition parameters include a target image resolution, and wherein configuring image acquisition parameters based on the target analysis results comprises:
determining a first resolution as the target image resolution under the condition that the current image ratio is smaller than a preset ratio threshold;
determining a second resolution as the target image resolution when the current image ratio is greater than or equal to the preset ratio threshold;
wherein the first resolution is higher than the second resolution.
4. The method of claim 1, wherein the target analysis results comprise: the analyzing the target object detected from the target frame image to obtain a target analysis result includes:
acquiring a historical frame image containing the target object;
performing target tracking on the target object in the historical frame image and the target frame image to obtain a target tracking result;
calculating the change rate of the preset type attribute of the target object by using the target tracking result to obtain the attribute change rate;
wherein the preset type attribute comprises one or more of the following items: object state, image area ratio, and plane position.
5. The method of claim 4, wherein the image acquisition parameters comprise a target image frame rate, and wherein configuring image acquisition parameters based on the target analysis results comprises:
determining a first frame rate as the target image frame rate under the condition that the attribute change rate is greater than a preset rate threshold;
determining a second frame rate as the target image frame rate when the attribute change rate is less than or equal to the preset rate threshold;
wherein the first frame rate is higher than the second frame rate.
6. An apparatus for parameter configuration, comprising:
a detection module configured to perform target detection on the target frame image;
the analysis module is configured to analyze the target object detected from the target frame image to obtain a target analysis result;
a configuration module configured to configure image acquisition parameters based on the target analysis results.
7. The apparatus of claim 6, wherein the target analysis results comprise: a current image fraction of the target object, the analysis module configured to:
acquiring a first detection frame containing the target object from the target frame image;
and calculating the image area ratio of the first detection frame in the target frame image to obtain the current image ratio.
8. The apparatus of claim 7, wherein the image acquisition parameters comprise a target image resolution, the configuration module configured to:
determining a first resolution as the target image resolution under the condition that the current image ratio is smaller than a preset ratio threshold;
determining a second resolution as the target image resolution when the current image ratio is greater than or equal to the preset ratio threshold;
wherein the first resolution is higher than the second resolution.
9. The apparatus of claim 6, wherein the target analysis results comprise: a rate of change of a property of the target object, the analysis module configured to:
acquiring a historical frame image containing the target object;
performing target tracking on the target object in the historical frame image and the target frame image to obtain a target tracking result;
calculating the change rate of the preset type attribute of the target object by using the target tracking result to obtain the attribute change rate;
wherein the preset type attribute comprises one or more of the following items: object state, image area ratio, and plane position.
10. The apparatus of claim 9, wherein the image configuration parameters comprise a target image frame rate, and wherein the configuration module is configured to:
determining a first frame rate to the target image frame rate under the condition that the attribute change rate is greater than a preset rate threshold;
determining a second frame rate as the target image frame rate when the attribute change rate is less than or equal to the preset rate threshold;
wherein the first frame rate is higher than the second frame rate.
11. An electronic device, comprising: a processor, a memory, and a communication bus;
the communication bus is configured to realize communication connection between the processor and the memory;
the processor configured to execute one or more programs stored in the memory to implement the parameter configuration method of any of claims 1-5.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the parameter configuration method according to any one of claims 1 to 5.
CN202111459571.8A 2021-12-02 2021-12-02 Parameter configuration method and device, electronic equipment and storage medium Pending CN114189435A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111459571.8A CN114189435A (en) 2021-12-02 2021-12-02 Parameter configuration method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111459571.8A CN114189435A (en) 2021-12-02 2021-12-02 Parameter configuration method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114189435A true CN114189435A (en) 2022-03-15

Family

ID=80541996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111459571.8A Pending CN114189435A (en) 2021-12-02 2021-12-02 Parameter configuration method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114189435A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109784256A (en) * 2019-01-07 2019-05-21 腾讯科技(深圳)有限公司 Face identification method and device, storage medium and electronic device
CN110896449A (en) * 2019-11-10 2020-03-20 张晓东 Real-time camera resolution adjustment system and method
CN112616028A (en) * 2020-12-15 2021-04-06 深兰人工智能(深圳)有限公司 Vehicle-mounted camera parameter adjusting 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
CN109784256A (en) * 2019-01-07 2019-05-21 腾讯科技(深圳)有限公司 Face identification method and device, storage medium and electronic device
CN110896449A (en) * 2019-11-10 2020-03-20 张晓东 Real-time camera resolution adjustment system and method
CN112616028A (en) * 2020-12-15 2021-04-06 深兰人工智能(深圳)有限公司 Vehicle-mounted camera parameter adjusting method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109255352B (en) Target detection method, device and system
US9560271B2 (en) Removing unwanted objects from photographed image
CN108960163B (en) Gesture recognition method, device, equipment and storage medium
US20170161953A1 (en) Processing method and device for collecting sensor data
CN108090908B (en) Image segmentation method, device, terminal and storage medium
CN111027438A (en) Human body posture migration method, mobile terminal and computer storage medium
CN110781859A (en) Image annotation method and device, computer equipment and storage medium
CN108875519B (en) Object detection method, device and system and storage medium
CN110858316A (en) Classifying time series image data
CN112258404A (en) Image processing method, image processing device, electronic equipment and storage medium
CN103810696A (en) Method for detecting image of target object and device thereof
CN112381071A (en) Behavior analysis method of target in video stream, terminal device and medium
CN109784327B (en) Boundary box determining method and device, electronic equipment and storage medium
CN112416206A (en) Display window adjusting method, device, electronic device and storage medium
CN111582032A (en) Pedestrian detection method and device, terminal equipment and storage medium
CN108551552A (en) Image processing method, device, storage medium and mobile terminal
CN111583280B (en) Image processing method, device, equipment and computer readable storage medium
CN111192312B (en) Depth image acquisition method, device, equipment and medium based on deep learning
CN112417985A (en) Face feature point tracking method, system, electronic equipment and storage medium
CN113489909B (en) Shooting parameter determining method and device and electronic equipment
CN111583329B (en) Augmented reality glasses display method and device, electronic equipment and storage medium
KR20130103217A (en) Apparatus for providing blurred image and method for providing blurred image
CN104917963A (en) Image processing method and terminal
CN114189435A (en) Parameter configuration method and device, electronic equipment and storage medium
CN112529766B (en) Image processing method and device and electronic equipment

Legal Events

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