This project is for detection of tip of tongue in real time and video, and track it. Libraries used in this project are: Python, OpenCV, dlib, numpy, matplotlib
- The default camera used is in-build webcam (0), if you re using usb webcam (1) set the camera number on line 12 in detect-tongue-tip-real-time.py
- Execute
python detect-tongue-tip-real-time.py
; pressq
to escape anytime
- Get a video you want to input.
- Change line 12 in detect-tongue-with-blob-tracking-revised.py to use your video
- Just execute
python3 detect-tongue-with-blob-tracking-revised.py
- Divide the video into frames
- Fetch mouth part
- Detect blob keypoints in the mouth part using OpenCV
- Based on detections in step 2 and 3, an algorithm is implemented in python, numpy around the height of inner mouth, width of mouth, blob keypoint to detect the tip of tongue