From 4e71bf0a9b8cabb2269ed2dd958d8430ff0206e3 Mon Sep 17 00:00:00 2001 From: "ithink.chan" Date: Mon, 16 Mar 2020 11:51:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BF=BB=E8=AF=91=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E4=BD=BF=E4=B9=8B=E6=9B=B4=E5=AE=B9=E6=98=93=E7=90=86?= =?UTF-8?q?=E8=A7=A3.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ithink.chan --- Algorithm/AI/Deep_Learning_Haar_Cascade_Explained.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Algorithm/AI/Deep_Learning_Haar_Cascade_Explained.md b/Algorithm/AI/Deep_Learning_Haar_Cascade_Explained.md index 66dd7fd..b5ab686 100755 --- a/Algorithm/AI/Deep_Learning_Haar_Cascade_Explained.md +++ b/Algorithm/AI/Deep_Learning_Haar_Cascade_Explained.md @@ -61,13 +61,13 @@ Haar 级联分类器最著名的应用是检测图像中的人脸或身体,但 “But among all these features we calculated, most of them are irrelevant. For example, consider the image below. Top row shows two good features. The first feature selected seems to focus on the property that the region of the eyes is often darker than the region of the nose and cheeks. The second feature selected relies on the property that the eyes are darker than the bridge of the nose. But the same windows applying on cheeks or any other place is irrelevant. ” -但是,这些特征中的很大一部分是与任务目标不相关的(没有意义的特征)。以下图为例,第一行显示了两个(与任务目标)相关的特征。第一个特征聚焦于眼部区域比鼻子和脸颊更黑这一特点;而第二个特征依赖于眼部比鼻梁更黑这一事实。但是,将同样的检测窗口应用于脸颊或其他部位则得不到有意义的特征。 +但是,这些特征中的很大一部分是与任务目标不相关的(没有意义的特征)。以下图为例,应用第一行的选择窗口可以得到两个好的特征:选取第一个特征,主要是由于眼部区域通常比鼻子和脸颊更黑;选取第二个特征则依赖于眼部比鼻梁更黑这一现象。但是,将同样的检测窗口应用于脸颊或其他部位则得不到有意义的特征。 ![Integral Images](/img/Deep_Learning_Haar_Cascade_Explained/002.png) “So how do we select the best features out of 160000+ features? This is accomplished using a concept called Adaboost which both selects the best features and trains the classifiers that use them. This algorithm constructs a “strong” classifier as a linear combination of weighted simple “weak” classifiers. The process is as follows.” -在人脸检测这一任务中,类似的特征足足有 160000 多个,如何从中选取最有意义的特征?这由 Adaboost 算法完成,该算法会选取最佳特征并训练分类器来使用这些特征。Adaboost 算法引入了强分类器和弱分类器的概念,强分类器由弱分类器线性组合而成。其算法过程如下: +在人脸检测这样的任务中,特征总数足有 160000 多个,如何从中选取最有意义的特征?这由 Adaboost 算法完成,该算法会选取最佳特征并训练分类器来使用这些特征。Adaboost 算法引入了强分类器和弱分类器的概念,强分类器由弱分类器线性组合而成。其算法过程如下: “During the detection phase, a window of the target size is moved over the input image, and for each subsection of the image and Haar features are calculated. You can see this in action in the video below. This difference is then compared to a learned threshold that separates non-objects from objects. Because each Haar feature is only a "weak classifier" (its detection quality is slightly better than random guessing) a large number of Haar features are necessary to describe an object with sufficient accuracy and are therefore organized into cascade classifiers to form a strong classifier.”