WO2021078271A1 - Method and device for accelerating image detection, and storage medium - Google Patents
Method and device for accelerating image detection, and storage medium Download PDFInfo
- Publication number
- WO2021078271A1 WO2021078271A1 PCT/CN2020/123320 CN2020123320W WO2021078271A1 WO 2021078271 A1 WO2021078271 A1 WO 2021078271A1 CN 2020123320 W CN2020123320 W CN 2020123320W WO 2021078271 A1 WO2021078271 A1 WO 2021078271A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- detection
- image detection
- nnie
- task
- image
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/06—Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons
- G06N3/063—Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons using electronic means
Definitions
- the present invention relates to the field of target detection, and in particular to an acceleration method, device and storage medium for image detection.
- the forward reasoner NNIE used for acceleration in neural networks is the abbreviation of Neural Network Inference Engine. It is a hardware unit for acceleration processing of neural networks, especially deep learning convolutional neural networks. It is used for image/image detection tasks using NNIE.
- a single NNIE can only process one picture/image detection task at the same time.
- the NNIE and the central processing unit CPU must be in serial operation mode, that is, after the NNIE processing is completed, they can be handed over to the CPU
- the existing detection processing cannot meet the two problems of fast processing speed and good detection effect at the same time.
- the model with good detection effect has large input image resolution and large network model, but the processing speed is slow, which is difficult to meet.
- Real-time requirements; models with good real-time performance have low input image resolution and small network models, but the detection effect is poor.
- when a large number of images and images are detected there are problems of low detection efficiency and low CPU usage.
- the main purpose of the present invention is to provide an acceleration method, device and storage medium for image detection, aiming to solve the problem that the prior art using NNIE for image detection cannot satisfy the real-time performance and detection effect.
- an acceleration method for image detection which includes:
- Step S10 receiving a detection task
- Step S20 Set the delay time
- Step S30 Execute the detection task through the neural network forward inference engine NNIE (Neural Network Inference Engine) to perform the first calculation;
- NNIE Neuron Inference Engine
- Step S40 According to the first calculation result, continue to execute the detection task through a central processing unit (CPU) to perform a second calculation;
- CPU central processing unit
- Step S50 When the execution time of the detection task reaches the delay time, trigger the next NNIE to execute the next detection task.
- the delay time is greater than 0 and less than the time required for the completion of a single detection task.
- the delay time is 40 milliseconds.
- a single detection task loop executes the first operation and the second operation in sequence until the current detection task is completed.
- the delay time also elapses, triggering the first NNIE to receive and execute the next detection task, and execute the detection task in turn.
- the detection task includes image detection in an image or video sequence.
- a neural network is used to detect images in an image or video frame sequence.
- the frame rate of the image is 30 fps (Frames Per Second, the number of frames transmitted per second).
- the present invention also provides an image detection acceleration device, characterized in that the image detection acceleration device includes a memory and a processor, and the memory stores an image that can run on the processor.
- a detection acceleration program which implements the steps of the aforementioned image detection acceleration method when the image detection acceleration program is executed by the processor.
- the present invention also provides a storage medium, characterized in that the storage medium is a computer-readable storage medium, the storage medium stores an image detection acceleration program, and the image detection acceleration The program may be executed by one or more processors to implement the steps of the acceleration method for image detection described above.
- the image detection acceleration method, device and storage medium provided by the present invention realize parallel processing of detection tasks, and through a delay trigger mechanism, it is ensured that each NNIE handles different detection tasks, and the detection speed is improved. , While ensuring fast real-time performance, it improves the detection effect and also improves the utilization rate of the central processing unit CPU.
- FIG. 1 is a schematic flowchart of an image detection acceleration method provided by an embodiment of the present invention
- FIG. 2 is a schematic diagram of the working principle of an acceleration method for image detection provided by an embodiment of the present invention
- Figure 3 is a schematic diagram of the existing single NNIE processing and detecting tasks
- FIG. 4 is a schematic diagram of the internal structure of an image detection acceleration device provided by an embodiment of the present invention.
- FIG. 5 is a schematic diagram of modules of an acceleration program for image detection in an image detection acceleration device provided by an embodiment of the present invention.
- FIG. 1 is an image detection acceleration method provided by an embodiment of the present invention.
- the method is used to accelerate image detection and improve the efficiency of image detection.
- the method can be executed by a device, and the device can be implemented by software and/or hardware.
- the acceleration method for image detection includes:
- Step S10 Receive a detection task.
- the detection task is: after acquiring the images in the video frame sequence, the neural network is used to detect the images in the video frame sequence.
- the present invention collects video data through a camera to obtain an image with a sequence of video frames.
- Step S20 Set a delay time; where the delay time is set to d, and the delay time d is greater than 0 and less than the detection time of a single detection task.
- Step S30 Perform the detection task through a first neural network inference engine (NNIE) to perform a first calculation.
- NNIE neural network inference engine
- Step S40 According to the first calculation result, the central processing unit (CPU) executes the detection task to perform a second calculation.
- the end of time for the CPU to execute the second operation of the detection task is T2. Please refer to FIG. 2.
- the time point T1 is the starting point of the second operation, and the time point T2 is the second operation.
- the end point is also the starting point of the next first operation, and the first operation and the second operation are executed in a loop until the detection task is completed once.
- Step S50 When the execution time of the detection task reaches the delay time, trigger the next NNIE to execute the next detection task. Specifically, when the detection task being executed reaches the delay time d, the second NNIE is triggered to execute the next detection task.
- n delay times d are sequentially set, and the n+1th NNIE is triggered to execute the n+1th detection task.
- the delay time d is set, and when the first NNIE is in an idle state, the first NNIE is triggered to execute the new detection task again, and the execution is repeated in turn.
- the first time is the first operation by the NNIE
- the second time is the second operation by the CPU.
- the second operation depends on the result of the first operation.
- the time required to execute a detection task is set to be 100 milliseconds (ms), and the delay time d is set to 40 ms, where the NNIE needs to perform the first operation
- the first calculation time of is 70ms
- the second calculation time T2 required by the CPU for the second calculation is 30ms
- the frame rate of the image is 30fps (Frames Per Second, the number of frames transmitted per second), that is, the image is updated once in 33ms;
- Set the speed of a single NNIE to execute the detection task at 10fps.
- the task detection of a single image requires a single NNIE to be executed 3 times. After a single NNIE is executed, it is executed. At this time, the utilization rate of a single CPU is 30%.
- different single NNIEs are triggered by a delay trigger mechanism.
- the second NNIE is triggered to start the detection task, so that the input image of the second NNIE and the input image of the first NNIE are not the same frame, avoid unnecessary repetitive operations, and execute it in the first NNIE
- the second NNIE is triggered to start execution, ensuring that the input of the two NNIEs are different images, and the detection speed is also greatly improved.
- a single NNIE can detect x pictures
- multiple NNIEs can be in T+ Detecting nx pictures in 40ms, performing detection tasks for a long time, the processing speed of multiple NNIEs is increased by n times, and the utilization rate of CPU is increased.
- FIG 3 is a schematic diagram of an existing single NNIE processing detection task.
- a single NNIE runs the detection task at a speed of 10fps, which has poor real-time performance, and most of the time is run under NNIE.
- the CPU is in an idle state, and the CPU usage rate is low.
- the image detection acceleration method, device and storage medium provided by the present invention realize the parallel processing of detection tasks, and through the delay trigger mechanism, it is ensured that each NNIE handles different detection tasks in a longer period of time.
- the detection speed of the n NNIEs is increased by n times compared to the processing speed of the original NNIE. While ensuring fast real-time speed, the detection effect is improved, and the utilization rate of the central processing unit CPU is also improved.
- the invention also provides an acceleration device for image detection.
- FIG. 4 is a schematic diagram of the internal structure of an image detection acceleration device provided by an embodiment of the present invention.
- the acceleration device for image detection may be a PC (Personal Computer, personal computer), or a terminal device such as a smart phone, a tablet computer, or a portable computer.
- the image detection acceleration device includes at least a memory 11, a processor 12, a communication bus 13, and a network interface 14.
- the memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, and the like.
- the memory 11 may be an internal storage unit of an image detection acceleration device, for example, a hard disk of the image detection acceleration device.
- the memory 11 may also be an external storage device of the image detection acceleration device, such as a plug-in hard disk equipped on the image detection acceleration device, a smart memory card (Smart Media Card, SMC), and a secure digital (Secure Digital). Digital, SD) card, flash card (Flash Card), etc.
- the memory 11 may also include both an internal storage unit of the image detection acceleration device and an external storage device.
- the memory 11 can be used not only to store application software and various data installed in the image detection acceleration device, such as the code of the image detection acceleration program, etc., but also to temporarily store data that has been output or will be output.
- the processor 12 may be a central processing unit (CPU), an inference engine (Neural Network Inference Engine, NNIE), a controller, a microcontroller, a microprocessor, or other data processing chips.
- CPU central processing unit
- NNIE Neural Network Inference Engine
- the communication bus 13 is used to realize the connection and communication between these components.
- the network interface 14 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface), and is usually used to establish a communication connection between the image detection acceleration device and other electronic devices.
- a standard wired interface and a wireless interface such as a WI-FI interface
- the image detection acceleration device may further include a user interface
- the user interface may include a display (Display), an input unit such as a keyboard (Keyboard), and the optional user interface may also include a standard wired interface and a wireless interface.
- the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc.
- the display can also be appropriately called a display screen or a display unit, which is used to display the information processed in the acceleration device for image detection and to display a visualized user interface.
- FIG. 4 only shows an acceleration device for image detection with components 11-14 and an acceleration program for image detection. Those skilled in the art can understand that the structure shown in FIG. 4 does not constitute a limitation on the acceleration device for image detection It may include fewer or more components than shown, or combine some components, or different component arrangements.
- the memory 11 stores an image detection acceleration program; the processor 12 implements the following steps when executing the image detection acceleration program stored in the memory 11:
- Step S10 receiving a detection task
- Step S20 Set the delay time
- Step S30 Execute the detection task through NNIE to perform the first calculation
- Step S40 According to the first calculation result, continue to execute the detection task through the CPU to perform a second calculation;
- Step S50 When the execution time of the detection task reaches the delay time, trigger the next NNIE to execute the next detection task.
- the image detection acceleration program can be divided into a receiving module 10 and a first calculation.
- the module 20, the second arithmetic module 30, the setting module 40 and the triggering module 50 are exemplarily:
- the receiving module 10 is used to receive detection tasks
- the first operation module 20, NNIE executes the detection task to perform the first operation
- the second calculation module 30 is configured to execute the detection task through the CPU according to the first calculation result to perform a second calculation
- the setting module 40 is used to set the delay time
- the triggering module 50 when the execution time of the detection task reaches the delay time, triggers the next NNIE to execute the next detection task.
- the above-mentioned receiving module 10, the first computing module 20, the second computing module 30, the setting module 40, and the triggering module 50 realize the functions or operation steps when the program modules are executed, which are substantially the same as those in the above embodiment, and will not be repeated here.
- an embodiment of the present invention also provides a storage medium, the storage medium is a computer-readable storage medium, the storage medium stores an acceleration program for image detection, and the acceleration program for image detection can be used by one or more The processor executes to achieve the following operations:
- Step S10 receiving a detection task
- Step S20 Set the delay time
- Step S30 Execute the detection task through NNIE to perform the first calculation
- Step S40 According to the first calculation result, continue to execute the detection task through the CPU to perform a second calculation;
- Step S50 When the execution time of the detection task reaches the delay time, trigger the next NNIE to execute the next detection task.
- the specific implementation of the storage medium of the present invention is basically the same as the foregoing embodiments of the image detection acceleration method and device, and will not be repeated here.
- sequence numbers of the above-mentioned embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
- the terms “include”, “include” or any other variants thereof in this article are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements not only includes those elements, but also includes those elements that are not explicitly included.
- the other elements listed may also include elements inherent to the process, device, article, or method. If there are no more restrictions, the element defined by the sentence "including one" does not exclude the existence of other identical elements in the process, device, article, or method that includes the element.
- the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above. , Magnetic disk, optical disk), including several instructions to make a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) execute the method described in each embodiment of the present invention.
- a storage medium such as ROM/RAM
- a terminal device which can be a mobile phone, a computer, a server, or a network device, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Theoretical Computer Science (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Artificial Intelligence (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Computational Linguistics (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Neurology (AREA)
- Image Analysis (AREA)
- Facsimiles In General (AREA)
Abstract
A method and device for accelerating image detection, and a storage medium. The method for accelerating image detection comprises: step S10, receiving a detection task; step S20, configuring a delay time; step S30, executing the detection task by means of a neural network inference engine (NNIE), and performing a first operation; step S40, according to a first operation result, continuing to execute the detection task by means of a central processing unit (CPU), and performing a second operation; and step S50: when the execution time of the detection task has reached the delay time, triggering the next NNIE to execute the next detection task. The method is used to improve real-time processing speed, improve detection performance while ensuring real-time performance, and improve the CPU utilization rate.
Description
本申请要求于2019年10月25日提交中国专利局、申请号为201911024692.2、申请名称为“图像检测的加速方法、装置及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office, the application number is 201911024692.2, and the application name is "Image detection acceleration method, device and storage medium" on October 25, 2019, the entire content of which is incorporated by reference In this application.
本发明涉及目标检测领域,尤其涉及一种图像检测的加速方法、装置及存储介质。The present invention relates to the field of target detection, and in particular to an acceleration method, device and storage medium for image detection.
在神经网络用于加速的正向推理器NNIE是Neural Network Inference Engine的简称,是专门针对神经网络特别是深度学习卷积神经网络进行加速处理的硬件单元,在使用NNIE进行图片/图像的检测任务时,单个所述NNIE在同一个时间点仅能处理一个图片/图像的检测任务,同时,所述NNIE与中央处理器CPU必须是串行运算模式,即当NNIE处理完成后,才能交给CPU进行下一步运算,因此,现有的检测处理无法同时满足处理速度快和检测效果好两方面的问题,检测效果好的模型输入图片的分辨率大,网络模型大,但处理速度慢,难以满足实时性要求;实时性好的模型输入图片的分辨率小,网络模型小,但检测效果差,同时在进行大量的图片和图像检测时,存在检测效率低、CPU使用率低的问题。The forward reasoner NNIE used for acceleration in neural networks is the abbreviation of Neural Network Inference Engine. It is a hardware unit for acceleration processing of neural networks, especially deep learning convolutional neural networks. It is used for image/image detection tasks using NNIE At the same time, a single NNIE can only process one picture/image detection task at the same time. At the same time, the NNIE and the central processing unit CPU must be in serial operation mode, that is, after the NNIE processing is completed, they can be handed over to the CPU For the next step of calculation, the existing detection processing cannot meet the two problems of fast processing speed and good detection effect at the same time. The model with good detection effect has large input image resolution and large network model, but the processing speed is slow, which is difficult to meet. Real-time requirements; models with good real-time performance have low input image resolution and small network models, but the detection effect is poor. At the same time, when a large number of images and images are detected, there are problems of low detection efficiency and low CPU usage.
发明内容Summary of the invention
本发明主要目的是提供一种图像检测的加速方法、装置及存储介质,旨在解决现有技术使用NNIE进行图像检测无法满足实时性和检测效果的问题。The main purpose of the present invention is to provide an acceleration method, device and storage medium for image detection, aiming to solve the problem that the prior art using NNIE for image detection cannot satisfy the real-time performance and detection effect.
为了实现上述目的,本发明提供一种图像检测的加速方法,该方法包括:In order to achieve the above objective, the present invention provides an acceleration method for image detection, which includes:
步骤S10:接收检测任务;Step S10: receiving a detection task;
步骤S20:设置延时时间;Step S20: Set the delay time;
步骤S30:通过神经网络正向推理器NNIE(Neural Network Inference Engine)执行所述检测任务,以进行第一运算;Step S30: Execute the detection task through the neural network forward inference engine NNIE (Neural Network Inference Engine) to perform the first calculation;
步骤S40:根据所述第一运算结果,通过中央处理器CPU(Central Processing Unit)继续执行所述检测任务,以进行第二运算;Step S40: According to the first calculation result, continue to execute the detection task through a central processing unit (CPU) to perform a second calculation;
步骤S50:当所述检测任务执行时间达到所述延时时间时,触发下一个所述NNIE执行下一个检测任务。Step S50: When the execution time of the detection task reaches the delay time, trigger the next NNIE to execute the next detection task.
进一步地,所述延时时间大于0且小于单次所述检测任务完成的时间。Further, the delay time is greater than 0 and less than the time required for the completion of a single detection task.
优选地,所述延时时间为40毫秒。Preferably, the delay time is 40 milliseconds.
进一步地,单次所述检测任务循环依次执行所述第一运算和所述第二运算,直到当次所述检测任务完成。Further, a single detection task loop executes the first operation and the second operation in sequence until the current detection task is completed.
进一步地,最后一个所述NNIE开始接收执行所述检测任务后,同样经过延时时间,触发第一个所述NNIE接收执行下一个检测任务,依次循环执行所述检测任务。Further, after the last NNIE starts to receive and execute the detection task, the delay time also elapses, triggering the first NNIE to receive and execute the next detection task, and execute the detection task in turn.
进一步地,所述检测任务包括图像或视频序列中的图像检测。Further, the detection task includes image detection in an image or video sequence.
进一步地,采用神经网络对图像或者视频帧序列中的图像进行检测。Further, a neural network is used to detect images in an image or video frame sequence.
优选地,所述图像的帧率为30fps(Frames Per Second,每秒传输帧数)。Preferably, the frame rate of the image is 30 fps (Frames Per Second, the number of frames transmitted per second).
为实现上述目的,本发明还提供一种图像检测的加速装置,其特征在于,所述图像检测的加速装置包括存储器和处理器,所述存储器上存储有可在所述处理器上运行的图像检测的加速程序,所述图像检测的加速程序被所述处理器执行时实现上述所述的图像检测的加速方法的步骤。To achieve the above objective, the present invention also provides an image detection acceleration device, characterized in that the image detection acceleration device includes a memory and a processor, and the memory stores an image that can run on the processor. A detection acceleration program, which implements the steps of the aforementioned image detection acceleration method when the image detection acceleration program is executed by the processor.
此外,为实现上述目的,本发明还提供一种存储介质,其特征在于,所述存储介质为计算机可读存储介质,所述存储介质上存储有图像检测的加速程序,所述图像检测的加速程序可被一个或者多个处理器执行,以实现上述所述的图像检测的加速方法的步骤。In addition, in order to achieve the above object, the present invention also provides a storage medium, characterized in that the storage medium is a computer-readable storage medium, the storage medium stores an image detection acceleration program, and the image detection acceleration The program may be executed by one or more processors to implement the steps of the acceleration method for image detection described above.
与现有技术相比,本发明提供的图像检测的加速方法、装置及存储介质,实现并行处理检测任务,通过延时触发机制,保证每个所述NNIE处理不同的检测任务,提升了检测速度,在保证实时性速度快的同时,提高检测效果,也提升中央处理器CPU的利用率。Compared with the prior art, the image detection acceleration method, device and storage medium provided by the present invention realize parallel processing of detection tasks, and through a delay trigger mechanism, it is ensured that each NNIE handles different detection tasks, and the detection speed is improved. , While ensuring fast real-time performance, it improves the detection effect and also improves the utilization rate of the central processing unit CPU.
图1为本发明一实施例提供的图像检测的加速方法流程示意图;FIG. 1 is a schematic flowchart of an image detection acceleration method provided by an embodiment of the present invention;
图2为本发明一实施例提供的图像检测的加速方法工作原理示意图;2 is a schematic diagram of the working principle of an acceleration method for image detection provided by an embodiment of the present invention;
图3为现有单个NNIE处理检测任务示意图;Figure 3 is a schematic diagram of the existing single NNIE processing and detecting tasks;
图4为本发明一实施例提供的图像检测的加速装置的内部结构示意图;4 is a schematic diagram of the internal structure of an image detection acceleration device provided by an embodiment of the present invention;
图5为本发明一实施例提供的图像检测的加速装置中图像检测的加速程序的模块示意图。FIG. 5 is a schematic diagram of modules of an acceleration program for image detection in an image detection acceleration device provided by an embodiment of the present invention.
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions, and advantages of the present invention clearer, the following further describes the present invention in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not used to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
请参阅图1,图1为本发明一实施例提供一种图像检测的加速方法,该方法用于加速图像检测,提高图像检测的效率。该方法可以由一个装置执行,该装置可以由软件和/或硬件实现。所述图像检测的加速方法包括:Please refer to FIG. 1. FIG. 1 is an image detection acceleration method provided by an embodiment of the present invention. The method is used to accelerate image detection and improve the efficiency of image detection. The method can be executed by a device, and the device can be implemented by software and/or hardware. The acceleration method for image detection includes:
步骤S10:接收检测任务。具体地,所述检测任务为:在获取视频帧序列中的图像后,采用神经网络对视频帧序列中的图像进行检测。更详细地,本发明在实际应用中,通过摄像头采集视频数据,以获取具有视频帧序列的图像。Step S10: Receive a detection task. Specifically, the detection task is: after acquiring the images in the video frame sequence, the neural network is used to detect the images in the video frame sequence. In more detail, in practical applications, the present invention collects video data through a camera to obtain an image with a sequence of video frames.
步骤S20:设置延时时间;其中,设置延时时间为d,所述延时时间d大于0且小于单次所述检测任务的检测时间。Step S20: Set a delay time; where the delay time is set to d, and the delay time d is greater than 0 and less than the detection time of a single detection task.
步骤S30:通过第一神经网络推理器(Neural Network Inference Engine,NNIE)执行所述检测任务,以进行第一运算。请参阅图2,具体地,所述第一NNIE1执行所述检测任务的第一运算的时间终点为T1;所述第一NNIE1进行第一运算后产生第一运算结果。Step S30: Perform the detection task through a first neural network inference engine (NNIE) to perform a first calculation. Please refer to FIG. 2, specifically, the time end point for the first operation of the detection task by the first NNIE1 is T1; the first operation result is generated by the first NNIE1 after performing the first operation.
步骤S40:根据所述第一运算结果,通过中央处理器(CPU)执行所述检测任务,以进行第二运算。所述CPU执行所述检测任务的所述第二运算的时间终点为T2,请参阅图2,所述时间点T1为所述第二运算的起点,所述时间点T2为所述第二运算的终点,也是下一个所述第一运算的起点,所述第一运算与第二运算依次循环执行,直到完成一次所述检测任务。Step S40: According to the first calculation result, the central processing unit (CPU) executes the detection task to perform a second calculation. The end of time for the CPU to execute the second operation of the detection task is T2. Please refer to FIG. 2. The time point T1 is the starting point of the second operation, and the time point T2 is the second operation. The end point is also the starting point of the next first operation, and the first operation and the second operation are executed in a loop until the detection task is completed once.
步骤S50:当所述检测任务执行时间达到所述延时时间时,触发下一个 所述NNIE执行下一个检测任务。具体地,当正在执行的所述检测任务达到所述延时时间d时,触发所述第二个NNIE执行下一个检测任务。Step S50: When the execution time of the detection task reaches the delay time, trigger the next NNIE to execute the next detection task. Specifically, when the detection task being executed reaches the delay time d, the second NNIE is triggered to execute the next detection task.
更详细地,依次类推,当存在第n个NNIEn执行第n个检测任务时,依次设置n个延时时间d,及触发第n+1个NNIE执行第n+1个检测任务。In more detail, by analogy, when there is an nth NNIEn executing the nth detection task, n delay times d are sequentially set, and the n+1th NNIE is triggered to execute the n+1th detection task.
进一步地,当最后一个NNIE执行所述检测任务后,同样地,设置延时时间d,并在第一个NNIE处于空闲状态时,触发第一个NNIE再次执行新的检测任务,依次循环执行。Further, after the last NNIE executes the detection task, similarly, the delay time d is set, and when the first NNIE is in an idle state, the first NNIE is triggered to execute the new detection task again, and the execution is repeated in turn.
本发明的实施方式中,对于每次接收到的检测任务,需分两次执行:第一次是由所述NNIE进行第一运算,第二次执行是由所述CPU进行第二运算。所述第二运算依赖于所述第一运算结果。在所述第一NNIE进行第一运算时,所述CPU处于空闲状态。In the embodiment of the present invention, for each detection task received, it needs to be executed in two times: the first time is the first operation by the NNIE, and the second time is the second operation by the CPU. The second operation depends on the result of the first operation. When the first NNIE performs the first operation, the CPU is in an idle state.
请参阅图2,在一具体实施例中,设定执行一个检测任务需要的时间是100毫秒(ms),将所述延时时间d设置为40ms,其中,所述NNIE进行第一运算所需要的第一运算时间是70ms,所述CPU进行第二运算所需要的第二运算时间T2是30ms,图像的帧率为30fps(Frames Per Second,每秒传输帧数),即33ms更新一次图像;设置单个NNIE执行检测任务的速度为10fps,单个图像的任务检测需要单个NNIE执行3次完成,单个NNIE执行完成后由执行,此时单个CPU的使用率为30%。Referring to FIG. 2, in a specific embodiment, the time required to execute a detection task is set to be 100 milliseconds (ms), and the delay time d is set to 40 ms, where the NNIE needs to perform the first operation The first calculation time of is 70ms, the second calculation time T2 required by the CPU for the second calculation is 30ms, and the frame rate of the image is 30fps (Frames Per Second, the number of frames transmitted per second), that is, the image is updated once in 33ms; Set the speed of a single NNIE to execute the detection task at 10fps. The task detection of a single image requires a single NNIE to be executed 3 times. After a single NNIE is executed, it is executed. At this time, the utilization rate of a single CPU is 30%.
在本发明中,不同单NNIE通过延时触发机制实现触发。当第一NNIE开始执行检测任务后的40ms触发第二NNIE开始执行检测任务,这样第二NNIE的输入图像和第一NNIE的输入图像不是同一帧,避免不必要的重复操作,在第一NNIE执行40ms后触发第二NNIE开始执行,保证两个NNIE的输入为不同的图像,检测速度也有很大的提升,假设在T时间内,单个NNIE能够检测x张图片,则多个NNIE能够在T+40ms的时间内检测nx张图片,长时间执行检测任务,多个NNIE处理速度提升n倍,同时提高了CPU的使用率。In the present invention, different single NNIEs are triggered by a delay trigger mechanism. When the first NNIE starts to perform the detection task 40ms, the second NNIE is triggered to start the detection task, so that the input image of the second NNIE and the input image of the first NNIE are not the same frame, avoid unnecessary repetitive operations, and execute it in the first NNIE After 40ms, the second NNIE is triggered to start execution, ensuring that the input of the two NNIEs are different images, and the detection speed is also greatly improved. Assuming that within T time, a single NNIE can detect x pictures, then multiple NNIEs can be in T+ Detecting nx pictures in 40ms, performing detection tasks for a long time, the processing speed of multiple NNIEs is increased by n times, and the utilization rate of CPU is increased.
请参阅图3,是现有单个NNIE处理检测任务示意图,在使用该模型的情况下,单个NNIE运行检测任务的速度为10fps,实时性较差,而且大部分时间是在NNIE下运行,这时候CPU处于空闲状态,CPU的使用率低。Refer to Figure 3, which is a schematic diagram of an existing single NNIE processing detection task. In the case of using this model, a single NNIE runs the detection task at a speed of 10fps, which has poor real-time performance, and most of the time is run under NNIE. At this time The CPU is in an idle state, and the CPU usage rate is low.
与现有技术相比,本发明提供的图像检测的加速方法、装置及存储介质, 实现并行处理检测任务,通过延时触发机制,保证每个所述NNIE处理不同的检测任务,在较长时间的检测任务时,n个所述NNIE的检测速度相比原单所述NNIE的处理速度提升了n倍,在保证实时性速度快的同时,提高检测效果,也提升中央处理器CPU的利用率。Compared with the prior art, the image detection acceleration method, device and storage medium provided by the present invention realize the parallel processing of detection tasks, and through the delay trigger mechanism, it is ensured that each NNIE handles different detection tasks in a longer period of time. In the detection task, the detection speed of the n NNIEs is increased by n times compared to the processing speed of the original NNIE. While ensuring fast real-time speed, the detection effect is improved, and the utilization rate of the central processing unit CPU is also improved.
本发明还提供一种图像检测的加速装置。参照图4所示,为本发明一实施例提供的图像检测的加速装置的内部结构示意图。The invention also provides an acceleration device for image detection. Refer to FIG. 4, which is a schematic diagram of the internal structure of an image detection acceleration device provided by an embodiment of the present invention.
在本实施例中,图像检测的加速装置可以是PC(Personal Computer,个人电脑),也可以是智能手机、平板电脑、便携计算机等终端设备。该图像检测的加速装置至少包括存储器11、处理器12,通信总线13,以及网络接口14。In this embodiment, the acceleration device for image detection may be a PC (Personal Computer, personal computer), or a terminal device such as a smart phone, a tablet computer, or a portable computer. The image detection acceleration device includes at least a memory 11, a processor 12, a communication bus 13, and a network interface 14.
其中,存储器11至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、磁性存储器、磁盘、光盘等。存储器11在一些实施例中可以是图像检测的加速装置的内部存储单元,例如该图像检测的加速装置的硬盘。存储器11在另一些实施例中也可以是图像检测的加速装置的外部存储设备,例如图像检测的加速装置上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器11还可以既包括图像检测的加速装置的内部存储单元也包括外部存储设备。存储器11不仅可以用于存储安装于图像检测的加速装置的应用软件及各类数据,例如图像检测的加速程序的代码等,还可以用于暂时地存储已经输出或者将要输出的数据。The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, and the like. In some embodiments, the memory 11 may be an internal storage unit of an image detection acceleration device, for example, a hard disk of the image detection acceleration device. In other embodiments, the memory 11 may also be an external storage device of the image detection acceleration device, such as a plug-in hard disk equipped on the image detection acceleration device, a smart memory card (Smart Media Card, SMC), and a secure digital (Secure Digital). Digital, SD) card, flash card (Flash Card), etc. Further, the memory 11 may also include both an internal storage unit of the image detection acceleration device and an external storage device. The memory 11 can be used not only to store application software and various data installed in the image detection acceleration device, such as the code of the image detection acceleration program, etc., but also to temporarily store data that has been output or will be output.
处理器12在一些实施例中可以是一中央处理器(Central Processing Unit,CPU)、推理器(Neural Network Inference Engine,NNIE)、控制器、微控制器、微处理器或其他数据处理芯片,用于运行存储器11中存储的程序代码或处理数据,例如执行图像检测的加速程序等。In some embodiments, the processor 12 may be a central processing unit (CPU), an inference engine (Neural Network Inference Engine, NNIE), a controller, a microcontroller, a microprocessor, or other data processing chips. The program code or processing data stored in the running memory 11, for example, an acceleration program for executing image detection, etc.
通信总线13用于实现这些组件之间的连接通信。The communication bus 13 is used to realize the connection and communication between these components.
网络接口14可选的可以包括标准的有线接口、无线接口(如WI-FI接口),通常用于在该图像检测的加速装置与其他电子设备之间建立通信连接。The network interface 14 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface), and is usually used to establish a communication connection between the image detection acceleration device and other electronic devices.
可选地,该图像检测的加速装置还可以包括用户接口,用户接口可以包括显示器(Display)、输入单元比如键盘(Keyboard),可选的用户接口还可 以包括标准的有线接口、无线接口。可选地,在一些实施例中,显示器可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。其中,显示器也可以适当的称为显示屏或显示单元,用于显示在图像检测的加速装置中处理的信息以及用于显示可视化的用户界面。Optionally, the image detection acceleration device may further include a user interface, the user interface may include a display (Display), an input unit such as a keyboard (Keyboard), and the optional user interface may also include a standard wired interface and a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc. Among them, the display can also be appropriately called a display screen or a display unit, which is used to display the information processed in the acceleration device for image detection and to display a visualized user interface.
图4仅示出了具有组件11-14以及图像检测的加速程序的图像检测的加速装置,本领域技术人员可以理解的是,图4示出的结构并不构成对图像检测的加速装置的限定,可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。FIG. 4 only shows an acceleration device for image detection with components 11-14 and an acceleration program for image detection. Those skilled in the art can understand that the structure shown in FIG. 4 does not constitute a limitation on the acceleration device for image detection It may include fewer or more components than shown, or combine some components, or different component arrangements.
在图4所示的图像检测的加速装置实施例中,存储器11中存储有图像检测的加速程序;处理器12执行存储器11中存储的图像检测的加速程序时实现如下步骤:In the embodiment of the image detection acceleration device shown in FIG. 4, the memory 11 stores an image detection acceleration program; the processor 12 implements the following steps when executing the image detection acceleration program stored in the memory 11:
步骤S10:接收检测任务;Step S10: receiving a detection task;
步骤S20:设置延时时间;Step S20: Set the delay time;
步骤S30:通过NNIE执行所述检测任务,以进行第一运算;Step S30: Execute the detection task through NNIE to perform the first calculation;
步骤S40:根据所述第一运算结果,通过CPU继续执行所述检测任务,以进行第二运算;Step S40: According to the first calculation result, continue to execute the detection task through the CPU to perform a second calculation;
步骤S50:当所述检测任务执行时间达到所述延时时间时,触发下一个所述NNIE执行下一个检测任务。Step S50: When the execution time of the detection task reaches the delay time, trigger the next NNIE to execute the next detection task.
参照图5所示,为本发明图像检测的加速装置一实施例中的图像检测的加速程序的程序模块示意图,该实施例中,图像检测的加速程序可以被分割为接收模块10、第一运算模块20、第二运算模块30、设置模块40和触发模块50,示例性地:5, which is a schematic diagram of the program modules of the acceleration program of image detection in an embodiment of the image detection acceleration device of the present invention. In this embodiment, the image detection acceleration program can be divided into a receiving module 10 and a first calculation. The module 20, the second arithmetic module 30, the setting module 40 and the triggering module 50 are exemplarily:
接收模块10,用于接收检测任务;The receiving module 10 is used to receive detection tasks;
第一运算模块20,NNIE执行所述检测任务,以进行第一运算;The first operation module 20, NNIE executes the detection task to perform the first operation;
第二运算模块30,用于根据所述第一运算结果,通过CPU执行所述检测任务,以进行第二运算;The second calculation module 30 is configured to execute the detection task through the CPU according to the first calculation result to perform a second calculation;
设置模块40,用于设置延时时间;The setting module 40 is used to set the delay time;
触发模块50,当所述检测任务执行时间达到所述延时时间时,触发下一个所述NNIE执行下一个检测任务。The triggering module 50, when the execution time of the detection task reaches the delay time, triggers the next NNIE to execute the next detection task.
上述接收模块10、第一运算模块20、第二运算模块30、设置模块40和触发模块50等程序模块被执行时所实现的功能或操作步骤与上述实施例大体相同,在此不再赘述。The above-mentioned receiving module 10, the first computing module 20, the second computing module 30, the setting module 40, and the triggering module 50 realize the functions or operation steps when the program modules are executed, which are substantially the same as those in the above embodiment, and will not be repeated here.
此外,本发明实施例还提出一种存储介质,所述存储介质为计算机可读存储介质,所述存储介质上存储有图像检测的加速程序,所述图像检测的加速程序可被一个或多个处理器执行,以实现如下操作:In addition, an embodiment of the present invention also provides a storage medium, the storage medium is a computer-readable storage medium, the storage medium stores an acceleration program for image detection, and the acceleration program for image detection can be used by one or more The processor executes to achieve the following operations:
步骤S10:接收检测任务;Step S10: receiving a detection task;
步骤S20:设置延时时间;Step S20: Set the delay time;
步骤S30:通过NNIE执行所述检测任务,以进行第一运算;Step S30: Execute the detection task through NNIE to perform the first calculation;
步骤S40:根据所述第一运算结果,通过CPU继续执行所述检测任务,以进行第二运算;Step S40: According to the first calculation result, continue to execute the detection task through the CPU to perform a second calculation;
步骤S50:当所述检测任务执行时间达到所述延时时间时,触发下一个所述NNIE执行下一个检测任务。Step S50: When the execution time of the detection task reaches the delay time, trigger the next NNIE to execute the next detection task.
本发明的存储介质具体实施方式与上述图像检测的加速方法和装置各实施例基本相同,在此不作累述。The specific implementation of the storage medium of the present invention is basically the same as the foregoing embodiments of the image detection acceleration method and device, and will not be repeated here.
需要说明的是,上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。并且本文中的术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、装置、物品或者方法不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、装置、物品或者方法所固有的要素。在没有更多限制的情况下,由语句“包括一……”限定的要素,并不排除在包括该要素的过程、装置、物品或者方法中还存在另外的相同要素。It should be noted that the sequence numbers of the above-mentioned embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments. And the terms "include", "include" or any other variants thereof in this article are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements not only includes those elements, but also includes those elements that are not explicitly included. The other elements listed may also include elements inherent to the process, device, article, or method. If there are no more restrictions, the element defined by the sentence "including one..." does not exclude the existence of other identical elements in the process, device, article, or method that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above. , Magnetic disk, optical disk), including several instructions to make a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) execute the method described in each embodiment of the present invention.
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人 员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only the preferred embodiments of the present invention and the applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made to those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention. The scope of is determined by the scope of the appended claims.
Claims (10)
- 一种图像检测的加速方法,其特征在于,所述图像检测的加速方法包括:A method for accelerating image detection, characterized in that the method for accelerating image detection includes:步骤S10:接收检测任务;Step S10: receiving a detection task;步骤S20:设置延时时间;Step S20: Set the delay time;步骤S30:通过神经网络正向推理器NNIE(Neural Network Inference Engine)执行所述检测任务,以进行第一运算;Step S30: Execute the detection task through the neural network forward inference engine NNIE (Neural Network Inference Engine) to perform the first calculation;步骤S40:根据所述第一运算结果,通过中央处理器CPU(Central Processing Unit)继续执行所述检测任务,以进行第二运算;Step S40: According to the first calculation result, continue to execute the detection task through a central processing unit (CPU) to perform a second calculation;步骤S50:当所述检测任务执行时间达到所述延时时间时,触发下一个所述NNIE执行下一个检测任务。Step S50: When the execution time of the detection task reaches the delay time, trigger the next NNIE to execute the next detection task.
- 根据权利要求1所述的图像检测的加速方法,其特征在于,所述延时时间大于0且小于单次所述检测任务完成的时间。The method for accelerating image detection according to claim 1, wherein the delay time is greater than 0 and less than the time required for a single detection task to be completed.
- 根据权利要求1或2所述的图像检测的加速方法,其特征在于,所述延时时间为40毫秒。The method for accelerating image detection according to claim 1 or 2, wherein the delay time is 40 milliseconds.
- 根据权利要求1或2所述的图像检测的加速方法,其特征在于,单次所述检测任务循环依次执行所述第一运算和所述第二运算,直到当次所述检测任务完成。The method for accelerating image detection according to claim 1 or 2, wherein the first operation and the second operation are sequentially executed in a single cycle of the detection task until the current detection task is completed.
- 根据权利要求1或2所述的图像检测的加速方法,其特征在于,最后一个所述NNIE开始接收执行所述检测任务后,同样经过延时时间,触发第一个所述NNIE接收执行下一个检测任务,依次循环执行所述检测任务。The method for accelerating image detection according to claim 1 or 2, wherein after the last NNIE starts to receive and execute the detection task, a delay time also elapses, triggering the first NNIE to receive and execute the next The detection tasks are executed sequentially and cyclically.
- 根据权利要求1或2所述的图像检测的加速方法,其特征在于,所述检测任务包括图像或视频序列中的图像检测。The method for accelerating image detection according to claim 1 or 2, wherein the detection task includes image detection in an image or video sequence.
- 根据权利要求6所述的图像检测的加速方法,其特征在于,采用神经网络对图像或者视频帧序列中的图像进行检测。The method for accelerating image detection according to claim 6, wherein a neural network is used to detect images in an image or a sequence of video frames.
- 根据权利要求6所述的图像检测的加速方法,其特征在于,所述图像的帧率为30fps(Frames Per Second,每秒传输帧数)。The method for accelerating image detection according to claim 6, wherein the frame rate of the image is 30 fps (Frames Per Second, the number of frames transmitted per second).
- 一种图像检测的加速装置,其特征在于,所述图像检测的加速装置包括存储器和处理器,所述存储器上存储有可在所述处理器上运行的图像检测的加速程序,所述图像检测的加速程序被所述处理器执行时实现如权利要求 1至8中任一项所述的图像检测的加速方法的步骤。An acceleration device for image detection, characterized in that the acceleration device for image detection includes a memory and a processor, and an acceleration program for image detection that can be run on the processor is stored in the memory, and the image detection When the acceleration program is executed by the processor, the steps of the image detection acceleration method according to any one of claims 1 to 8 are implemented.
- 一种存储介质,其特征在于,所述存储介质为计算机可读存储介质,所述存储介质上存储有图像检测的加速程序,所述图像检测的加速程序可被一个或者多个处理器执行,以实现如权利要求1至8中任一项所述的图像检测的加速方法的步骤。A storage medium, characterized in that the storage medium is a computer-readable storage medium, and an acceleration program for image detection is stored on the storage medium, and the acceleration program for image detection can be executed by one or more processors, In order to realize the steps of the method for accelerating image detection according to any one of claims 1 to 8.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911024692.2A CN111047032A (en) | 2019-10-25 | 2019-10-25 | Image detection acceleration method and device and storage medium |
CN201911024692.2 | 2019-10-25 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021078271A1 true WO2021078271A1 (en) | 2021-04-29 |
Family
ID=70231810
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/123320 WO2021078271A1 (en) | 2019-10-25 | 2020-10-23 | Method and device for accelerating image detection, and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111047032A (en) |
WO (1) | WO2021078271A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111047032A (en) * | 2019-10-25 | 2020-04-21 | 深圳市道通智能航空技术有限公司 | Image detection acceleration method and device and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110026042A1 (en) * | 2009-08-03 | 2011-02-03 | Printable Technologies, Inc. | Apparatus & methods for image processing optimization for variable data printing |
CN104267965A (en) * | 2014-10-14 | 2015-01-07 | 北京国双科技有限公司 | Data processing method, data processing device and server |
CN109800705A (en) * | 2019-01-17 | 2019-05-24 | 深圳英飞拓科技股份有限公司 | Accelerate the method and device of Face datection rate |
CN110334577A (en) * | 2019-05-05 | 2019-10-15 | 四川盛通智联网络科技有限公司 | A kind of face identification method for thinking security protection chip based on sea |
CN111047032A (en) * | 2019-10-25 | 2020-04-21 | 深圳市道通智能航空技术有限公司 | Image detection acceleration method and device and storage medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10055255B2 (en) * | 2016-04-14 | 2018-08-21 | International Business Machines Corporation | Performance optimization of hardware accelerators |
CN110109764A (en) * | 2019-05-15 | 2019-08-09 | 重庆天蓬网络有限公司 | Delayed tasks creation method, device, medium and electronic equipment |
-
2019
- 2019-10-25 CN CN201911024692.2A patent/CN111047032A/en active Pending
-
2020
- 2020-10-23 WO PCT/CN2020/123320 patent/WO2021078271A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110026042A1 (en) * | 2009-08-03 | 2011-02-03 | Printable Technologies, Inc. | Apparatus & methods for image processing optimization for variable data printing |
CN104267965A (en) * | 2014-10-14 | 2015-01-07 | 北京国双科技有限公司 | Data processing method, data processing device and server |
CN109800705A (en) * | 2019-01-17 | 2019-05-24 | 深圳英飞拓科技股份有限公司 | Accelerate the method and device of Face datection rate |
CN110334577A (en) * | 2019-05-05 | 2019-10-15 | 四川盛通智联网络科技有限公司 | A kind of face identification method for thinking security protection chip based on sea |
CN111047032A (en) * | 2019-10-25 | 2020-04-21 | 深圳市道通智能航空技术有限公司 | Image detection acceleration method and device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111047032A (en) | 2020-04-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11175823B2 (en) | Method and apparatus for controlling terminal device using gesture control function, and non-transitory computer-readable storage medium | |
WO2020134546A1 (en) | Neural network processor, convolutional neural network data multiplexing method and related device | |
US20220058772A1 (en) | Image Processing Method and Device | |
CN108255585B (en) | SDK abnormal control and application program operation method, device and equipment thereof | |
WO2016150324A1 (en) | Page module rendering method, apparatus and display device | |
US20150234522A1 (en) | Touch event scan method, electronic device and storage medium | |
WO2017173585A1 (en) | Photographing method and terminal | |
US20180129295A1 (en) | Gesture-based control and usage of video relay systems | |
US11430441B2 (en) | Voice device, interaction method of same, device and storage medium | |
WO2020248365A1 (en) | Intelligent model training memory allocation method and apparatus, and computer-readable storage medium | |
US20160196188A1 (en) | Failure recovery of a task state in batch-based stream processing | |
WO2021078271A1 (en) | Method and device for accelerating image detection, and storage medium | |
CN111008305B (en) | Visual search method and device and electronic equipment | |
CN111930283A (en) | Message display method and computing device | |
CN104714839A (en) | Method and device for controlling life cycle of processes | |
CN111124644A (en) | Method, device and system for determining task scheduling resources | |
CN111158875A (en) | Multi-module-based multi-task processing method, device and system | |
KR20150027687A (en) | A method and system for providing user interaction when capturing content in an electronic device | |
WO2020026010A2 (en) | Task execution control method, device, equipment/terminal/server and storage medium | |
CN113395523A (en) | Image decoding method, device and equipment based on parallel threads and storage medium | |
CN116760936A (en) | Processing device, control method, control device, electronic apparatus, and medium | |
CN116302558A (en) | Thread scheduling method and device and electronic equipment | |
CN109246468B (en) | Video list switching method, device and storage medium based on education system | |
CN114741121B (en) | Method and device for loading module and electronic equipment | |
WO2018201993A1 (en) | Image drawing method, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20878604 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20878604 Country of ref document: EP Kind code of ref document: A1 |