Git Product home page Git Product logo

Comments (6)

swook avatar swook commented on July 19, 2024

This is most definitely due to the pre-trained weights not being loaded before inference. Please ensure that the model files are in the correct location (run the script using bash) and check that the console output indicates the loading of the available weights.

from gazeml.

patilsvaibhav avatar patilsvaibhav commented on July 19, 2024

Thanks swook, that worked!
I'm running a windows system so manually extracted the zip files. The folder structure was indeed incorrect. Its working perfectly now.

I have one more issue where I'm stuck.
Now my question is, how to estimate the gaze point on the screen that user is looking at. Below is some more information that I have:

  1. Camera is located on top of screen (just like in case of webcam and laptop)
  2. Person is not at any standard distance from the camera

also please note that I don't want to calibrate at fixed points on screen. Because it would again need human intervention

I was thinking of finding the intersection point of the gaze vector with the plane of camera. This seems doable mathematically. However, I'm not able to find how to define the plane of the Camera.

Could you please direct me in the right direction?

Appreciate your help.

Regards,
Vaibhav

from gazeml.

swook avatar swook commented on July 19, 2024

I'm sorry but it's not most ideal to be poked at 2 different github issues and one e-mail, regarding the exact same question, presumably from you and your colleague. I will address this in #9.

from gazeml.

patilsvaibhav avatar patilsvaibhav commented on July 19, 2024

from gazeml.

swook avatar swook commented on July 19, 2024

No worries, it happens 😄

from gazeml.

liuyantingyvonne avatar liuyantingyvonne commented on July 19, 2024

Hello,

I've been trying to get this code to run for some time now. When I do, i can only see two red dots at corner of eyes, and no gaze vector or iris landmarks as in the video.

I digged deeper and the issue apparently is in the values of heatmaps.
This is how it looks:
HeatMaps_amax: [0.04515158 0.07932845 0.05255887 0.06401039 0.02747708 0.0497707
0.06598783 0.04077904 0.03464168 0.00753675 0.01112193 0.00911523
0.03209448 0.03100399 0.0287441 0.02697178 0.03532294 0.05629761]

None of them are even close to 0.1, and the key conditions require them to atleast greater than 0.7.
So the estimation code block never gets executed.

I have downloaded the model files from the BASH script and kept both folders under output directory.
Still there is no improvement in the values.

Can you please suggest what could be the issue here.
TIA
Vaibhav

Hello, Could you please tell me where the pre-training weight should be placed in the Windows system?

from gazeml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.