Skip to content

Algorithm of facial detection in images and videos with the OpenCV library.

License

Notifications You must be signed in to change notification settings

vmeazevedo/Face_Detection_OpenCV

Repository files navigation

Detecção facial via OpenCV

O código foi desenvolvido para realizar a identificação facial em imagens e vídeos através da biblioteca OpenCV, o usuário pode optar por realizar o upload de uma imagem para identificar os rostos nela ou realizar uma filmagem em tempo real dele mesmo enquanto o programa identifica seu rosto e os olhos.

Exemplo de funcionamento do código:

Versão 1.2.0:

Nessa versão o usuário consegue identificar os rostos em uma imagem através da biblioteca OpenCV o qual gera um retângulo azul ao redor de cada rosto identificado. É necessário que o usuário altere o diretório onde a imagem está no código para informar ao programa qual imagem ele quer processar.

op4

Versão 1.3.0:

Já na versão atual, o usuário consegue realizar a identificação do seu rosto e olhos diretamente de uma Webcam, celular, ou qualquer outro método que ele realize para se filmar em tempo real.

novo

Facial detection via OpenCV

The code was developed to perform facial identification in images and videos through the OpenCV library, the user can choose to upload an image to identify the faces in it or take a real-time shot of himself while the program identifies his face and the eyes.

Example of code operation:

Version 1.2.0:

In this version the user can identify the faces in an image through the OpenCV library which generates a blue rectangle around each identified face. It is necessary for the user to change the directory where the image is in the code to inform the program which image he wants to process.

op4

Version 1.3.0:

In the current version, the user is able to perform the identification of his face and eyes directly from a Webcam, cell phone, or any other method he uses to shoot himself in real time.

novo