Video tabanlı klavyeden metin algılama

No Thumbnail Available

Date

2026

Journal Title

Journal ISSN

Volume Title

Publisher

Başkent Üniversitesi Fen Bilimleri Enstitüsü

Abstract

Bu tez çalışmasında, standart bir RGB kameradan alınan klavye görüntülerinden gerçek zamanlı metin girişi üreten, tamamen görsel işaretlemeye dayalı bir klavye etkileşim sistemi geliştirilmiştir. Önerilen sistemde Türkçe klavye görüntüsü girdi olarak alınmakta ve kullanıcı tarafından yazılan metin otomatik olarak algılanarak karakter dizisine dönüştürülmektedir. Sistemde, klavye sınırlarının ve tuş konumlarının belirlenmesinde YOLOv8n modeli, parmak uçlarının izlenmesinde ise MediaPipe Hands tabanlı el takibi yöntemi kullanılmıştır. Gerçek zamanlı çalışan sistemde ölçüm gürültüsü ve el hareketlerinden kaynaklanan titreşimlerin metin üretiminde kararsızlığa yol açmasını önlemek amacıyla zamansal filtreleme ve One-Euro filtreleme yöntemleri uygulanmıştır. Böylece el hareket hızı, tuşlar arası geçişler, tuş üzerinde bekleme süresi ve aynı tuşun tekrarlı algılanması gibi problemlere yönelik çözümler geliştirilmiştir. Ayrıca çoklu parmak kullanımında istemsiz ardışık karakter üretimini önlemek amacıyla minimum basış aralığı denetimi ve çıktı tekrar engelleme katmanı sisteme entegre edilmiştir. Klavyede yazılan metnin Türkçe karakterlerle doğru şekilde oluşturulabilmesi için bir normalizasyon modülü kullanılmıştır. Sistemin benzetim çalışmalarında Keyboard Detection v2 veri seti kullanılmış ve YOLO tabanlı tuş algılama modelinin başarımı standart değerlendirme ölçütleri kullanılarak test edilmiştir. Geliştirilen sistemin gerçek kullanım koşullarındaki performansı, 10 katılımcıyla gerçekleştirilen kontrollü kullanıcı deneyleri ile değerlendirilmiştir. Deneyler; yalnızca sol el, yalnızca sağ el ve iki el kullanımı olmak üzere üç farklı senaryo kapsamında yürütülmüştür. Her katılımcı, her senaryoda Türkçe alfabedeki tüm harfleri içeren bir cümle, ASCII karakterlerinden oluşan bir kelime, Türkçe özel karakter içeren bir kelime ve noktalı sayısal bir dizi olmak üzere dört farklı görev tipini tamamlamıştır. Böylece farklı kullanıcı, senaryo ve görev kombinasyonları dikkate alındığında toplam 120 deneysel oturum gerçekleştirilmiştir. Gerçek zamanlı uygulamanın performansı; karakter hata oranı (CER), hedef–çıktı metin benzerliği, tam doğru yazım başarısı, karakter ve kelime yazım hızı (CPM/WPM), görev tamamlama süresi, YOLO güven skoru ve el işaret noktası kayıp oranı gibi performans ölçütleri kullanılarak değerlendirilmiştir. In this thesis, a fully vision-based keyboard interaction system was developed to generate real-time text input from keyboard images captured by a standard RGB camera. In the proposed system, Turkish keyboard images are used as input, and the text typed by the user is automatically detected and converted into a character sequence. The YOLOv8n model was employed to determine keyboard boundaries and key positions, while a MediaPipe Hands-based hand tracking method was used to track fingertip positions. In the real-time system, temporal filtering and One-Euro filtering methods were applied to prevent measurement noise and hand-motion-induced jitter from causing instability in text generation. Accordingly, solutions were developed for problems such as hand movement speed, transitions between keys, dwell time on a key, and repeated detection of the same key. In addition, a minimum inter-press interval control and an output repetition suppression layer were integrated into the system to prevent unintended consecutive character generation during multi-finger use. A normalization module was also used to ensure that the text typed on the keyboard was correctly generated with Turkish characters. In the model training and evaluation phase, the Keyboard Detection v2 dataset was used, and the performance of the YOLO-based key detection model was tested using standard evaluation metrics. The performance of the developed system under real-use conditions was evaluated through controlled user experiments conducted with 10 participants. The experiments were carried out under three different scenarios: left-hand-only use, right-hand-only use, and two-hand use. In each scenario, each participant completed four different task types: a sentence containing all letters of the Turkish alphabet, a word consisting of ASCII characters, a word containing Turkish-specific characters, and a dotted numerical sequence. Considering different users, scenarios, and task combinations, a total of 120 experimental sessions were conducted. The performance of the real-time application was evaluated using metrics such as character error rate (CER), target–output text similarity, exact text entry accuracy, character and word entry speed (CPM/WPM), task completion time, YOLO confidence score, and hand landmark loss rate.

Description

Keywords

YOLOv8n, El pozu takibi, One-Euro filtre, CER, WPM

Citation

Endorsement

Review

Supplemented By

Referenced By