Skip to content

Commit

Permalink
Merge pull request akshitagupta15june#848 from NEERAJAP2001/random_fo…
Browse files Browse the repository at this point in the history
…rest

Added Face Recognition using Random forest
  • Loading branch information
akshitagupta15june authored Jun 5, 2021
2 parents 8d1b819 + 506f2a6 commit c82c0c1
Show file tree
Hide file tree
Showing 2 changed files with 549 additions and 0 deletions.

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions Face-Detection/Face Detection using Random forest/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## Random Forest :

Random forests are an ensemble learning method for classification (and regression) that operate by constructing a multitude of decision trees at training time and outputting the class that is the mode of the classes output by individual trees.



## Using Random Forests for Face Recognition
A popular dataset that we haven't talked much about yet is the Olivetti face dataset.

The Olivetti face dataset was collected in 1990 by AT&T Laboratories Cambridge. The dataset comprises facial images of 40 distinct subjects, taken at different times and under different lighting conditions. In addition, subjects varied their facial expression (open/closed eyes, smiling/not smiling) and their facial details (glasses/no glasses).

Images were then quantized to 256 grayscale levels and stored as unsigned 8-bit integers. Because there are 40 distinct subjects, the dataset comes with 40 distinct target labels. Recognizing faces thus constitutes an example of a multiclass classification task.


## Output :
![okay](https://user-images.githubusercontent.com/65017645/120203131-035eab80-c245-11eb-840a-f7a08e65a75a.png)

0 comments on commit c82c0c1

Please sign in to comment.