Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A haar detection method based on gpu acceleration

A detection method and scanning window technology, applied in the field of Haar detection, can solve the problems of slow implementation of haar algorithm and failure to meet actual needs, and achieve the effect of improving the scope of application and practical value, shortening data processing time, and shortening implementation time

Active Publication Date: 2018-08-28
深圳市哈工交通电子有限公司
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide a Haar detection method based on GPU acceleration, which solves the problem that the implementation speed of the haar algorithm in the prior art is slow and cannot meet the actual needs

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
  • A haar detection method based on gpu acceleration

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0030] Such as figure 1 As shown, the Haar detection method based on GPU acceleration disclosed by the present invention mainly aims at the problem of slow implementation speed of the haar algorithm in the prior art, and has carried out various technical improvements. Generally speaking, it includes the following steps:

[0031] (1) System initialization, the CPU organizes the scan window, feature frame information and classifier parameter data under all magnification factors into a matrix in the GPU global memory in a one-by-one arrangement, and saves it to the GPU device;

[0032] (2) Set the number of threads in sequence according to the number of columns of the image matrix and call the kernel function twice to perform matrix transposition twice to obtain the integral map and square integral map of the image;

[0033] (3) Arrange the scan window and feature rectangles in the GPU global memory for haar algorithm detection;

[0034] (4) Combine the scanning windows of all s...

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 discloses a Haar detection method based on GPU acceleration, which is characterized in that it includes the following steps: (1) System initialization, CPU transmits and saves the scan window, feature frame information and classifier parameter data under all magnification factors to the GPU device; (2) Set the number of threads in sequence according to the number of columns of the image matrix and call the kernel function twice to perform matrix transposition twice to obtain the integral map and square integral map of the image; (3) scan the window and feature The rectangular frames are arranged in the global memory of the GPU, and the haar algorithm is used for detection; (4) the rectangular frames are merged through the scanning windows of all strong classifiers to obtain the results to be detected. The present invention improves the existing haar algorithm in three aspects: the data preparation method, the fast calculation of the integral graph, and the targeted implementation of Haar detection in stages, so that the implementation speed of the haar algorithm is greatly improved, and the practical value is improved. It is more fully reflected and has high practical value and promotion value.

Description

technical field [0001] The invention relates to a Haar detection method, in particular to a Haar detection method based on GPU acceleration. Background technique [0002] The Haar method is a method for detecting objects of interest on images by using Haar features and cascaded classifiers through training. Haar detection algorithm is widely used due to its excellent performance, but its complex data structure, large amount of calculation, and slow implementation speed cannot meet the actual requirements of fast detection. Contents of the invention [0003] The purpose of the present invention is to provide a Haar detection method based on GPU acceleration, which solves the problem that the implementation speed of the Haar algorithm in the prior art is slow and cannot meet actual needs. [0004] In order to achieve the above object, the technical scheme adopted in the present invention is as follows: [0005] A Haar detection method based on GPU acceleration, comprising ...

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 Patents(China)
IPC IPC(8): G06K9/62
CPCG06V2201/07G06F18/2411
Inventor 曹泉余坚毅
Owner 深圳市哈工交通电子有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products