Face-Recogntion-Detection icon indicating copy to clipboard operation
Face-Recogntion-Detection copied to clipboard

Face Recognition/Detection (image/video) using skin tone threshold algorithm, haar cascade for face detection and LBPH for face recognition. It also implements the concept of multithreaded server wit...

Results 1 Face-Recogntion-Detection issues
Sort by recently updated
recently updated
newest added

According to your [article](https://medium.com/swlh/estimating-the-object-distance-using-the-camera-obscura-formulas-and-lens-equations-python-7baaa75a26b8): ![image](https://user-images.githubusercontent.com/1248927/139940720-89ba6e35-7d99-4125-8f6d-fc3acbc4abb5.png) However, your [code](https://github.com/Harmouch101/Face-Recogntion-Detection/blob/bec01b81497c18a189326fa229f166b290b8397e/face_detect.py#L41) divides by width: `Distance1 = 11.5*(img.shape[1]/float(w))` Shouldn't that be: `Distance1 = 11.5*(img.shape[1]/float(h))`