CoolFace
Apppublic

ESMATUGBA/pencil-sketch-face-recognition

sourceHugging Faceapache-2.0updated 6mo agoView on Hugging Face
0likes
App README

🎨 Karakalem Eskiz ve Yüz Tanıma Uygulaması

🎨 Pencil Sketch & Face Recognition App

Bu proje, Python ve OpenCV kullanarak görüntü işleme ve makine öğrenmesi tekniklerini bir araya getirir. Kullanıcıdan alınan fotoğrafları karakalem taslağa dönüştürür ve eş zamanlı olarak LBPH, KNN ve CNN modelleriyle analiz eder.

This project combines image processing and machine learning using Python and OpenCV. It converts user-uploaded photos into pencil sketches and analyzes them using LBPH, KNN, and CNN models.


🚀 Özellikler / Features

  • —Pencil Sketch: Görüntü işleme filtreleri ile gerçekçi karakalem efekti. (Realistic pencil sketch effect via image filters.)
  • —LBPH (Local Binary Patterns Histograms): Klasik yüz tanıma algoritması. (Classic face recognition algorithm.)
  • —KNN (K-Nearest Neighbors): Özellik tabanlı sınıflandırma. (Feature-based classification.)
  • —CNN (Convolutional Neural Networks): Derin öğrenme tabanlı yüksek doğruluklu tahmin. (High-accuracy prediction via deep learning.)

🛠️ Teknik Gereksinimler / Requirements

Uygulamanın çalışması için aşağıdaki dosyaların ana dizinde olması gerekir: The following files must be in the root directory:

  • —app.py (Uygulama kodu)
  • —requirements.txt (Kütüphaneler)
  • —model1_lbph.yml (LBPH Modeli)
  • —model2_knn.pkl (KNN Modeli)
  • —model3_cnn.keras (CNN Modeli)

📖 Kullanım / How to Use

  1. 1.Resim Yükle: Bir .jpg veya .png dosyası seçin. (Upload a .jpg or .png file.)
  2. 2.Sonuçları İncele: Sol tarafta orijinal, sağ tarafta karakalem sonucunu görün. (See the original on the left and the sketch on the right.)
  3. 3.Model Tahminleri: Alt kısımda 3 farklı modelin analiz sonuçlarını karşılaştırın. (Compare the results of 3 different models below.)