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 best solutions below
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
- segmentation fault: 11, extracting data in vector
- Disable OpenCL in OpenCV completely
- Python - Writing your own function with opencv giving an error
- Opengl Augmented Reality in Android from solvepnp
- OpenCv Multispectral Image openCV
- Displaying bitmap image on Android (OpenCV)
- Applying homography on non planar surface
- BackgroundSubtractor getBackgroundImage() function return empty Image
- How to choose good SURF feature keypoints?
- opencv python error: Assertion failed (size.width>0 && size.height>0)
- CIDetector to filter rectangle and get cropped image
- How to detect squares in video with OpenCV?
- Python OpenCV error: (-215) size.width>0 && size.height>0 in function imshow
- OpenCV algorithm of contours searching and creation of bounding rectagle
- OpenCV Opening/Closing shifts the positions of the pixels
Related Questions in IMAGE-PROCESSING
- Need help in detecting multiple blobs
- Image based steganography that survives resizing?
- WinRT Extract Thumbnail from RAW image format
- 3D B-Spline approximation
- Qualitative and Quantitative analysis of filtered back projection / iradon in matlab
- How to detect objects in an image based on colour?
- How to make sense (handle) when computes logarithm of zero in prior information
- scilab - Drawing bounding box
- Lowpass filter non working
- Get a single line representation for multiple close by lines clustered together in opencv
- error while drawing several x-marks on a binary image in matlab
- Which method should I use to find gradient direction of pixels in an image?
- Finding Circle Boundary Pixels Coordinates and RGB Intensity Values from An RGB Input Image in Matlab
- using SURF for handdetection
- Using only one tool from CLImageEditor
Related Questions in FACE-DETECTION
- Android camera2.params.face rectangle placement on canvas
- Face Detection with "Beyond Face Reality" SDK, copy to new canvas javascript
- Face detection throws error: !empty() in function cv::CascadeClassifier::detectMultiScale
- Opencv c++ face detection code not working
- Face alignment using openImaj API libraries
- Detecting a baby's face using OpenCV
- Real time face detection is not working
- Detect open or closed eye using openCV in python
- How to use Microsoft Face API to identify faces in a group pictures
- ‘GLib-GIO-Message: Using the 'memory' GSettings backend.’ throw when Face Detection in Ubuntu
- Face Detection with Camera
- In open CV, python how can i remove lag in the camera
- Google CustomSearch ignores imgType?
- training data augmentation in caffe along with its multilabel
- Error while detecting Face and Eye using OpenCV (Haar Cascade Object Detection)
Related Questions in DLIB
- dlib optimization and boost multi_array cannot be included in the same file with gcc. (enable_if)
- Error linking clang++ with dlib and intel mkl
- C++ Dlib load_image_dataset issues
- How do I enable SSE2 from the command line
- Converting openCV Mat to Dlib's image
- macOS - Trouble installing dlib
- Building dlib for android ndk
- Cmake Error During Installation of dlib on Windows?
- Get ROI from face landmark points cv2 dlib
- Python Dlib installation error : Could not find Boost
- g++ doesn't detect that a file exists, and won't link it
- java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol “__aeabi_memmove4”
- C++ try statement won't work with "#include"
- import dlib ImportError Symbol not found: _PyClass_Type
- Ellipse Fitting for pupil center
Related Questions in EYE-DETECTION
- How to detect both eyes Pupil using Python and OpenCV
- how to change eye pupil color using opencv in android
- how to detect eye pupil circularly in opencv
- can we detect eye without face detection in open cv
- Library Reference Issue using opencv in android
- Opencv - detecting whether the eye is closed or open
- haar cascade for eye ball in opencv android
- android - eye detection even without face detection during camera preview
- OpenCV Eye Tracking looses out for some frames
- Detect Eye Landmark using dlib
- OpenCV & Python : Face Detection using haarcascades is detecting many boxes as eyes.
- Is it possible to fire Click event on button through eye tracker using python? how?
- Eye detection with OpenCV (detecting eye from "Scream's mask")
- Error while detecting state of eye between two frames
- How do I play audio? (when detecting that user is asleep in front of camera)
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)
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?
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.