zoukankan      html  css  js  c++  java
  • Face detection

    Face Detection

      The primary objective is to be able to detect faces and also analysis the facial feature and expression so as to identify attributes such as gender, smile, age of people and also whether the person is wearing glasses.

    Approach OpenCV library is used to detect and segment faces from video images:

    1.Using a cascade of boosted classifiers working with haar-like features.

    2.Training classifiers by a database of face and non-face images.

    3.Input images are scanned at different scales to find regions that are likely to contain faces.

    Gender | Glasses | Smile Detection

      We use the SVM classifier method: data points are dealt with as a p-dimensional vector. We use the library LibSVM.

    stages of the image processing:

    1.Segment out face rectangle

    2.Scale to 24*24 grayscale image

    3.Equalize histogram to increase contrast

    4.Scale the intensity to [-1, 1]

    5.Form a 576 (24x24) dimensional vector

    6.Train the gender model with LIBSVM.

  • 相关阅读:
    鸡哥的限币令(有上下限的网络流/费用流问题)
    AtCoder Regular Contest 128 部分题题解
    一道题
    2021CCPC河南省赛
    10.26训练赛
    博弈论和SG函数
    10.24训练赛
    10.22训练赛
    CF #749
    atcoder ABC233
  • 原文地址:https://www.cnblogs.com/zxwAAA/p/2990318.html
Copyright © 2011-2022 走看看