Frame rate adjusting method and device

An adjustment method and frame rate technology, which is applied in the field of image processing, can solve problems such as poor flexibility and inability to apply to different scenarios, and achieve the effect of ensuring the picture, improving the effect of the algorithm, and reducing the number of frames sent

Pending Publication Date: 2021-03-16
ZHEJIANG DAHUA TECH CO LTD
View PDF0 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a method and device for adjusting the frame rate of frame extraction, so as to at least solve the problems in the related art that the frame rate processed by the fixed algorithm cannot be applied to different scenarios and has poor flexibility

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Frame rate adjusting method and device
  • Frame rate adjusting method and device
  • Frame rate adjusting method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0078] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking running on a mobile terminal as an example, figure 1 It is a block diagram of the hardware structure of the mobile terminal of the frame rate adjustment method of the embodiment of the present invention, such as figure 1 As shown, the mobile terminal may include one or more ( figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the above-mentioned mobile terminal also A transmission device 106 for communication functions as well as input and output devices 108 may be included. Those of ordinary skill in the art can understand that, figure 1 The shown structure is only for illustration, and does not limit the struct...

Embodiment 2

[0150] According to another embodiment of the present invention, there is also provided a frame rate adjustment device for frame extraction, Figure 14 It is a block diagram of a frame rate adjusting device according to an embodiment of the present invention, such as Figure 14 shown, including:

[0151] The first acquiring module 142 is used to acquire the time-consuming identification of the extracted current video frame by the first algorithm;

[0152] The second obtaining module 144 is used to obtain the CPU usage rate of the central processing unit;

[0153] An adjustment module 146, configured to adjust the frame rate of frame extraction according to the time-consuming identification and the CPU usage.

[0154] Optionally, the device further includes: a third acquiring module, configured to acquire the processing time for the second algorithm to process the identification result of the first algorithm after acquiring the time-consuming identification of the extracted c...

Embodiment 3

[0177] Embodiments of the present invention also provide a computer-readable storage medium, in which a computer program is stored, wherein the computer program is set to execute the steps in any one of the above method embodiments when running.

[0178] Optionally, in this embodiment, the above-mentioned storage medium may be configured to store a computer program for performing the following steps:

[0179] S1, acquiring time-consuming identification of the extracted current video frame by the first algorithm;

[0180] S2, obtaining the CPU usage rate of the central processing unit;

[0181] S3. Adjust the frame rate of frame extraction according to the time-consuming identification and the CPU usage rate.

[0182] Optionally, in this embodiment, the above-mentioned storage medium may include but not limited to: U disk, read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), Various media that can store computer progr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a frame rate adjusting method and device, and the method comprises the steps: obtaining the recognition time consumption of a first algorithm for an extracted current video frame; obtaining the CPU occupancy rate of a central processing unit; according to the identification time consumption and the CPU occupancy rate, adjusting the frame extraction rate, the problems that the frame rate processed by a fixed algorithm is not suitable for different scenes and the flexibility is poor in the related technology can be solved, the frame sending number and the algorithm effectare improved in a scene with less targets (low pressure), and the frame sending number is reduced in a scene with more targets (high pressure). A smooth picture is ensured. The method can be flexiblyapplied to different scenes.

Description

technical field [0001] The present invention relates to the field of image processing, in particular to a method and device for adjusting frame rate of frame extraction. Background technique [0002] In the field of monitoring, in addition to image acquisition, it is also necessary to use algorithms to identify targets in the image. The hardware carriers for algorithm calculation include: CPU, GPU, and other dedicated hardware such as DSP, NNI E, NPU, etc. Usually, one of the above-mentioned algorithm hardware carriers is used to perform some simple target detection (such as human faces, vehicles); and then execute operations in the CPU, which may also use algorithms (such as target optimization, linkage, data comparison, etc.). Due to the performance (that is, computing power) and cost of these computing hardware, it is impossible to perform algorithmic analysis on every frame of image collected, so there is a frame extraction process. [0003] Scenarios that require inte...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/50G06K9/00
CPCG06F9/5027G06F2209/5022G06V10/955
Inventor 吴允苏昭行
Owner ZHEJIANG DAHUA TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products