Using dlib, is it possible to detect eye landmarks without face detection? If yes, how? and if no, any suggestion or advice? Thank you!
Detect Eye Landmark using dlib
1.8k views Asked by Paulo Estrella At
2
There are 2 answers
0
thachnb
On
It's possible by training your own object detector using dlib. Simple HOG detector can do that. Steps are:
Prepare train data
Draw bounding boxes on training data set
Train it and save as model
Load model to use.
You can go from simple object detector using HOG in dlib, or higher level using deep learning dlib MMOD.
Here is the link to MMOD (deep learning based, higher accuracy): http://dlib.net/dnn_mmod_train_find_cars_ex.cpp.html
Related Questions in OPENCV
- Creating multiple instances of a class with different initializing values in Flutter
- OpenCV2 on CLion
- How to Draw Chinese Characters on a Picture with OpenCV
- Python cv2 imwrite() - RGB or BGR
- AttributeError: 'Sequential' object has no attribute 'predict_classes'. Did you mean: 'predict_step'?
- Search for an icon on an image OpenCV
- DJI Tello won't follow me
- Python OpenCV and PyGame threading issue
- Need help in Converting Python script (Uses Yolo's pose estimation) to an android app
- Line Segmentation Problem: How to detect lines and draw bounding box of that line on handwritten letters Using CV2
- Configure CmakeLists.txt to avoid manually copying dlls
- How to detect the exact boundary of a Sudoku using OpenCV when there are multiple external boundaries?
- AttributeError: 'Results' object has no attribute 'box'. can anyone explain this?
- How to generate a VPI warpmap for polynomial distortion correction?
- I am trying to make a project of object detection on kaggle notebook using yolo. and i am facing this error. here is my code and my error
Related Questions in IMAGE-PROCESSING
- RuntimeError: Given groups=1, weight of size [64, 1, 3, 3], expected input[1, 3, 416, 416] to have 1 channels, but got 3 channels instead
- Unable to open shape_predictor_68_face_landmarks.dat
- When transferring mri t1 to mni152 spaces, the dimensions change and lose information, is that not a problem?
- How to detect the exact boundary of a Sudoku using OpenCV when there are multiple external boundaries?
- Nuke BlinkScript: Why does the convolution kernel scale down the image?
- CV2 Python - image merging based on homography matrix - error in mergeing
- Python pillow library text align center
- Implementing Image Processing for Dimension Measurement in Arduino-based Packaging System
- AI tools for generating clean clipping paths
- efficient way to remove a background from an image in python
- I want to segment an MRI image of the spine and obtain only the vertebrae using Matlab
- Find Gradient Magnitude using skimage.feature.hog module
- AR Image Display Issue
- Using python OpenCV to crop an image based on reference marks
- Python: Generating an image using Multiprocessing freezes
Related Questions in FACE-DETECTION
- Unable to open shape_predictor_68_face_landmarks.dat
- MediaPipe buffer too small
- How to use Google ML KIT to recognize facial expressions Determine whether a person is smiling or has their eyes closed
- How can i remove background from face image using PRNet and get an image containing only face?
- How can I improve the accuracy of the my program to detect the required faces properly?
- Facial Recognition in Flutter using Google ML Kit
- I cannot find the problem in this code for cropping the face in the bounding box and then saving it
- Not Able to access external webcam in react-use-face-detection
- Error de OpenCV: ConvolutionLayerImpl::getMemoryShapes() - Assertion failed
- Detect and crop face using flutter google_mlkit_face_detection
- There is already a vedacore folder, but it can't be brought in via the import
- Face orientor using RTSP camera
- Flutter: Detecting Face from Image URL and Cropping Profile Picture
- How to turnoff capturing sound from expo-camera when taking pictures
- How to add custom normalize image data by MlContext.Transform?
Related Questions in DLIB
- CS0103 dlibdotnet and emu.cv facerect not in context
- How to implement gaze tracking in drowsiness detection system
- Working on developing face detection in C++ with openCV & dlib, program is ready but how to compile including dlib and opencv in cmake
- I don't understand why the face from the image is not transferred to the face in the video from the camera
- i have install face_recognition_models but it is not importing in vscode and keep saying inytsall face_recognition model consider i am a new mac user
- Import Face_recognition gets stuck while using it inside a myfunctions module
- Apply smile effect to face image in android application
- i cant download dlib using pip
- Can't install dlib even after doing everything
- I have a problem pip installing the dlib library
- CNN in Dlib Face Detected
- how do I install dlib version 19.22 for facial recognition with a webcam?
- Integrating dlib into a Xamarin android project
- I can not install dlib in python as there is error
- Dlib ImportError: DLL load failed while importing _dlib_pybind11: The specified module could not be found
Related Questions in EYE-DETECTION
- How can I implement a laser eyes overlay using OpenCV and Python?
- How do I play audio? (when detecting that user is asleep in front of camera)
- Automatically selecting ROI after the target object is detected once in live video and if it loses track of it then search again in that ROI only
- OpenCV error (-215:Assertion failed) !empty()
- Pupil detection project with OpenCV & Android-Studio gets ArrayIndexOutOfBoundsException
- Is there a way to use OpenCV functions to perform face recognition based on eye detection?
- Is it possible to fire Click event on button through eye tracker using python? how?
- Firebase MLKit Eye Contour getPoints
- Detect faces without eyebrows and jaw using opencv
- I am trying to detect eyes using Tensorflow. Is there any pre-trained model of eye detection?
- OpenCV not detecting eyes correctly
- Executing command on 2 or 3 consecutive Eye Blinks using OpenCV in Python
- DLIB's Upper and lower eye lid detection accuracy is not correct for closed eye
- Error: the following arguments are required
- Detect Eye Landmark using dlib
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Q: Is it possible to detect eye landmarks without face detection?
A: No, because the dlib facial landmark requires faces as inputs.
Q: and if no, any suggestion or advice?
A: The simplest way for face detection in your case is to use face detection from dlib
dlib.get_frontal_face_detector(). However, you can use any face detection as long as you can find the bounding box to detect landmarks.