Haar-like features are digital image features used in object recognition. They owe their name to their intuitive similarity with Haar wavelets and were used in the first real-time face detector.[1]

Historically, working with only image intensities (i.e., the RGB pixel values at each and every pixel of image) made the task of feature calculation computationally expensive. A publication by Papageorgiou et al.[2] discussed working with an alternate feature set based on Haar wavelets instead of the usual image intensities. Viola and Jones[1] adapted the idea of using Haar wavelets and developed the so-called Haar-like features. A Haar-like feature considers adjacent rectangular regions at a specific location in a detection window, sums up the pixel intensities in each region and calculates the difference between these sums. This difference is then used to categorize subsections of an image. For example, let us say we have an image database with human faces. It is a common observation that among all faces the region of the eyes is darker than the region of the cheeks. Therefore a common Haar feature for face detection is a set of two adjacent rectangles that lie above the eye and the cheek region. The position of these rectangles is defined relative to a detection window that acts like a bounding box to the target object (the face in this case).

In the detection phase of the Viola–Jones object detection framework, a window of the target size is moved over the input image, and for each subsection of the image the Haar-like feature is calculated. This difference is then compared to a learned threshold that separates non-objects from objects. Because such a Haar-like feature is only a weak learner or classifier (its detection quality is slightly better than random guessing) a large number of Haar-like features are necessary to describe an object with sufficient accuracy. In the Viola–Jones object detection framework, the Haar-like features are therefore organized in something called a classifier cascade to form a strong learner or classifier.

The key advantage of a Haar-like feature over most other features is its calculation speed. Due to the use of integral images, a Haar-like feature of any size can be calculated in constant time (approximately 60 microprocessor instructions for a 2-rectangle feature).

最新文章

  1. DbContext 和ObjectContext两者的区别
  2. centos6配置网卡
  3. WPF 图片显示中的保留字符问题
  4. 贝叶斯决策_bayes(新闻分类)
  5. lighttpd的超时参数详解
  6. Machine Learning Done Wrong
  7. [Python shelve模块Error]bsddb.db.DBPageNotFoundError: (-30986, 'DB_PAGE_NOTFOUND: Requested page not found')
  8. ip地址0.0.0.0与127.0.0.1的区别(转载)
  9. ubuntu 添加右键打开方式,无法添加程序打开方式
  10. linux利用命令重置大量密码
  11. innerHTML,outerHTML,innerText,outerText
  12. 洛谷P2845-Switching on the Lights 开关灯
  13. Light OJ 1148
  14. SIP消息
  15. Android APK反编译(一)
  16. 堆排序——HeapSort
  17. MySQL5.7在JSON解析后丢失小数部分的Bug
  18. [hihoCoder] #1089 : 最短路径·二:Floyd算法
  19. 正则表达式—RegEx(RegularExpressio)(三)
  20. Django框架【基础篇】

热门文章

  1. 【转】Python自动化测试 (一) Eclipse+Pydev 搭建开发环境
  2. Windows下查看什么进程占用文件
  3. BZOJ3790:神奇项链
  4. bzoj 3295 (洛谷3157、3193) [Cqoi2011]动态逆序对——树套树 / CDQ分治
  5. (转)Android 自定义 spinner (背景、字体颜色)
  6. 1021. Deepest Root (25)——DFS+并查集
  7. [转载]交换机STP协议
  8. wireshark怎么抓包、wireshark抓包详细图文教程(转)
  9. Element-UI使用基本介绍
  10. uboot启动完成,kernel启动时lcd屏…