Python Tag
Published 10 July 2014
Pred časom sa mi dostal do ruky link na zaujímavý článok o rulete, nazvaný “Ako som zarobil peniaze a kúpil si Lexus SC430-2003”. Veľmi som tomu neveril, ale snažím sa mať hlavu otvorenú, tak som si to aspoň prečítal. V tomto poste by som teda chcel zhrnúť svoje postrehy.
Published 10 July 2014
Pred časom sa mi dostal do ruky link na zaujímavý článok o rulete, nazvaný “Ako som zarobil peniaze a kúpil si Lexus SC430-2003”. Veľmi som tomu neveril, ale snažím sa mať hlavu otvorenú, tak som si to aspoň prečítal. V tomto poste by som teda chcel zhrnúť svoje postrehy.
Published 10 July 2014
Pred časom sa mi dostal do ruky link na zaujímavý článok o rulete, nazvaný “Ako som zarobil peniaze a kúpil si Lexus SC430-2003”. Veľmi som tomu neveril, ale snažím sa mať hlavu otvorenú, tak som si to aspoň prečítal. V tomto poste by som teda chcel zhrnúť svoje postrehy.
Published 21 February 2014
I was upgrading my disk to SSD the other day, and to make sure all my data fit, I’ve done some
cleaning up, among others I’ve run brew cleanup
which deletes old formulae. But apparently
somewhere along the way that has broken my Python install. Trying to run Flask server would produce
a cryptic error:
Published 11 February 2014
After the performance improvement from yesterday, I wanted to try some more things,
because the speed of this was still not satisfactory (I spent an hour processing 2000 images).
Published 10 February 2014
I normally don’t do premature performance optimizations, and I was planning on optimizing the whole eye tracker
later, when I felt I had all of the functionality I wanted, but from time to time, you still want to check your
code, particularly when it’s suspiciously slow. So I did examine the code I had written so far using
line_profiler (Abysmal documentation btw.) like so:
Published 1 February 2014
In the previous installments we’ve looked at Pupil Detection
and Iris Detection. Now we’ll look at unwrapping the image
of the iris from a circular pattern to a rectangular one. We will use this later for some other
algorithms.
Published 30 January 2014
Iris detection is significantly more difficult than pupil. Mostly because it is not so well defined, pupil is just a black disk essentially as far as a grayscale image is concerned, but the outer edge of the iris is not nearly as sharp as the outer edge of the pupil is. Also, there is a much higher probability of glints and reflections in the iris, since it is larger than the pupil and this can complicate the detection further. And on top of all that the upper and lower eyelids often cover up portions of the iris, which means that detecting the iris as a circle is going to be either difficult or impossible.
Published 29 January 2014
Pupil Detection will be the basis of my eye tracker. In the end it will rely on accurate and robust
pupil detection, but for now a simple detector will do. Later I will revisit the detection when the
basics of the other components are done.