Skip to content

RishalAggarwal/face-detection-linked-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

face-detection-linked-list

Linked List

The linked list class defined in the code is a singly linked list with function like append remove and insert. Append adds a node to the end of the list. Insert adds a node at a certain location and remove deletes a certain node. The create_cycle function creates a loop in the linked list such that the last node is linked to a previous node. The locate_cycle function finds the node that the last node is linked in case there is a loop in the list. The display and the display_cycle functions display all the nodes in the list and the loop respectively. The length and the loop_length function find the length of the list and the loop respectively.

Face Detection

For detecting the face in the photo I used the opencv haarcascade frontal face detector. This returns rectanguar coordinates for the location of the face. I made the scaling factor 1.1 and the min no. of neighbors parameter as 5. For blurring the image I used a averaging kernal of size 30x30. Two samples of what it can do is given below.

Alt text

Alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages