-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, what is the algorithm based on this project, is there a related paper? #5
Comments
The algorithm is straightforward.
|
I will definitely write a paper about the algorithm in the next few days. But @lintangsutawika summed it up well the mains steps. When I isolated an eye (thanks to
But when I binarize the image, I need to pass a threshold value to separate white and black pixels. This value varies a lot depending on the people and webcams (a range of about 10 to 75). Pupils detection can be very accurate with the right value, or inaccurate if the value is wrong. I didn't want to bother users by forcing them to find this threshold value themselves. And anyway, it's not great that this value is hard-coded in any script. So I created an automatic calibration algorithm (76aa16e) to find the right threshold value for the user/webcam. I did some statistics and noticed that the size of the iris is always about 48% of the surface of the eye for all people (when they are looking to the center). Thresholds values to binarize images can differ a lot from person to person, but iris sizes are very stable. So on the current version, here's how works the automatic calibration:
It works well with the people I know, but I would like more feedback from different people. |
Hi, |
Hi @Samagra12 In previous versions of the library (only with Python 2), even if the detection of pupils was good, the program always indicated the direction of gaze as going to the right. But I made a commit a few hours ago to fix it (a062b73). Check your version, I think you cloned the project before this commit. If you still have the problem, tell me and we will try to solve it |
Hi,
Thanks for replying.
I downloaded the newer version and now it works fine, it flashes "looking
centre".
I just wanted to know that it still is not very accurate on my system as it
is seen in your demo, so how can I make it more accurate?
Thanks in advance.
…On Fri, Mar 15, 2019 at 1:03 AM antoinelame ***@***.***> wrote:
Hi @Samagra12 <https://github.com/Samagra12>
Thanks for your feedback!
In the latest versions of the library (only with Python 2), even if the
detection of pupils was good, the program always indicated the direction of
gaze as going to the right. But I made a commit a few hours ago to fix it (
a062b73
<a062b73>).
Check your version, I think you cloned the project before this commit.
If you still have the problem, tell me and we will try to solve it
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AnEabmjqEkSPCBZT7ssC1lBVBNsBgNxtks5vWqQSgaJpZM4bqPb2>
.
|
If you want a better accuracy on the gaze direction (left, center, right): If you want a better accuracy on the detection of pupils: In any case, a good webcam and a bright environment help a lot. Also, you can send me videos samples by email. I would use it to improve the algorithm. |
I thought you used the algorithm from Accurate Eye Centre Localisation by Means of Gradients。 |
HI |
Hi did you write a paper? |
No description provided.
The text was updated successfully, but these errors were encountered: