Skip to main content

python - face detection and training using open cv

using python u can detect faces using the haarcascade and open cv
so what is haar cascade
they are simple xml files that u can download from the site and make use of the functionalities.


u can download from this link it is pretty easy.
https://github.com/opencv/opencv/tree/master/data/haarcascades

so what are the things u need ,open cv thats it.


download the haarcascade_frontalface_default.xml for detecting faces .
similar fashion u can download haarcascade_eye.xml to detect eyes in faces.

The idea was implemented by this guy ,please check out this link
https://www.youtube.com/results?search_query=codingentrepreneurs

he has done a face detection and training module using open cv.

enjoy py.


Comments

Popular posts from this blog

SHA-256 initial values

The simple workout to arrive at the initial values for sha-256 The first 32 bit of the fractional part of the sqroot (first 8 prime number 2-19) Alright what does it say  Sqrroot(prime)- Let’s say the first prime is 2 Sqroot(2)  = 1.414213562373095 Convert to hexadecimal- Since we are worried about the fractional part alone Converting the fractional part would be easy Fractional part- 0.414213562373095 Multiply the fractional part with 16 to arrive at hex 0.414213562373095*16= 6.62741699796952 0.62741699796952*16= 10.03867196751232 0.03867196751232*16=0.61875148019712 0.61875148019712*16=9.90002368315392 0.90002368315392*16=14.40037893046272 0.40037893046272*16=6.40606288740352 0.40606288740352*16=6.49700619845632 0.49700619845632*16=7.95209917530112 Resulting hexadecimal would be 6a09e667 which is  h0 := 0x6a09e667 Iam going to stop at the 8th iteration , why is that ? Since we are interested in 32 bit (8*4=32) Alright to make it clear  Convert hexade...

Running node in browser-https://stackblitz.com

 Here comes the web browser development for web apps you can run your node project in web and do development as well  please tryout the node or any other web development using  https://stackblitz.com/ https://stackblitz.com/ run your scripts in the terminal Import your project from git hub and enjoy web over web development. see you soon.