Traditional Face and Eye Detection with Python - SEEVER BLOG

Saturday, June 8, 2019

Traditional Face and Eye Detection with Python

Face detector is once of most interesting to learn in image processing, today I have tried code face detector using opencv in python 3.7. You can do it at your computer, but before you do, make sure you have installed opencv library.  If you have no installed, my articles before can guide you to install.

First think you do is download this image and saved it as “tes.jpg”.


tes

Second think, pick up haarcascade file from opencv folder installation, usually its located at “C:\Program Files\opencv\sources\data\haarcascades”. Copy paste,  all file in “haarcascades folder” to folder where you saved image file. Afte that, write this code and save in seem folder with image file.


If your code is correct, you can see interesting image like this
facedetec

Now, we can improve our code with eye detector.

And then, Congratulation you succeded make a simple face+eye detector program with opencv

face%252Beye+detec


2 comments:

  1. blogger_logo_round_35

    Promo www.Fanspoker.com :
    - Bonus Freechips 5.000 - 10.000 setiap hari (1 hari dibagikan 1 kali) hanya dengan minimal deposit 50.000 dan minimal deposit 100.000 ke atas
    - Bonus Cashback 0.5% Setiap Senin
    - Bonus Referal 20% Seumur Hidup
    || WA : +855964283802 || LINE : +855964283802 ||

    ReplyDelete
  2. blank

    Best Coin Casino Review USA - Games & Bonuses
    Top Casino Games; What is Coin Casino? 인카지노 Online casino reviews & exclusive promo codes. Signup with Coin Casino to get latest bonuses. หาเงินออนไลน์ No deposit required. Rating: 4.1 · 메리트 카지노 쿠폰 ‎Review by Joseph Falchetti

    ReplyDelete