iitmcvg / eye-gaze

Repository for Eye Gaze Detection and Tracking
MIT License
227 stars 65 forks source link

Error LNK2001 eye_gaze v1.0 #1

Closed gitvbs00 closed 8 years ago

gitvbs00 commented 8 years ago

@Aravind-Shankar Hi, i try to run this program but i keep getting those errors (you can see them in the attachment Debug_Errors). I'm using Visual Studio 2012, opencv 2.4.9, this is how i include the dlib file C:...\Downloads\eye-gaze-1.0\eye-gaze-1.0\src

Debug_Errors.txt Thank you for your help.

Aravind-Suresh commented 8 years ago

These errors are OpenCV linker errors. Check if you compile with appropriate libraries. It throws linker errors for cvtColor, KalmanFilter etc. Also, they are not related to Dlib in any way.

PS: I am @Aravind-Suresh.

rsnk96 commented 8 years ago

Hi

Check your Property Page -->Linker-->Input-->Include Directories. Make sure there's a 'd' appended to the end of each library name (i.e., "opencv_core249d.dll", not "opencv_core249.dll") Visual Studio expects a debug library for a debug compilation.

gitvbs00 commented 8 years ago

@Aravind-Suresh Sorry it was a typo. @Aravind-Suresh, @rsnk96 Thank you, it's running now, there were missing some static libraries. However, it's showing the message "zero faces" on the debug windows while on the other one, only a snapshot image (no video feed ). Also it's taking a lot of time before processing.

Aravind-Suresh commented 8 years ago

It may take a lot of time if Dlib libraries are not linked properly. They need to be built with appropriate flags. Check cmake file. I faced the same problem, but once compiling it with correct optimisation flags, it was faster.

gitvbs00 commented 8 years ago

It's working now, I restarted Visual Studio, and linked again all the static libraries. Do you know a way I could use the eye-gaze to move the cursor by where the user is looking at.

Aravind-Suresh commented 8 years ago

Eye gaze gives you raw details about gaze vectors and pose. Use libraries like x11 for Linux ( Win32 provides tools for mouse controls in Windows ), and then control mouse using these values. Online forums will help you.

Hence, closing this issue. Thanks for your time :)

iev6 commented 8 years ago

Umm, isnt that the whole point of this project? Calibration needs to be done, for that. you need to define starting points and termination points, with some kind of an interpolation formula while tracking the gaze.

Giridhur S Undergraduate Junior Electrical Engineering Indian Institute of Technology,Madras

On Tue, Mar 29, 2016 at 6:11 PM, vbest001 notifications@github.com wrote:

It's working now, I restarted Visual Studio, and linked again all the static libraries. Do you know a way I could use the eye-gaze to move the cursor by where the user is looking at.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub http://t.signauxdeux.com/e1t/c/5/f18dQhb0SmZ58dDMPbW2n0x6l2B9nMJW7sM9dn7dK_MMdBzM2-04?t=https%3A%2F%2Fgithub.com%2Fiitmcvg%2Feye-gaze%2Fissues%2F1%23issuecomment-202875532&si=6699794077843456&pi=bff4f4d9-2822-4bad-da4f-77bb694175db

gitvbs00 commented 8 years ago

Thank you guys. I will work on it.