How accurate mobile eye tracking can get: (1) Pixels and resolution of your phone camera

Eye tracking and analysis of the human eye is one of the perspective technologies. It can substantially improve our interaction with our smartphones. If you are reading this you probably have your opinion already. The real question is whether the precision is sufficient – thus how precise it can actually get. Assumptions Eye Before we can reason about the precision, let’s first establish some facts/assumptions that we will consider. Eye is a strange natural camera, that has evolved somewhere around 500 million years ago. By analyzing the eye we understand detecting the different elements, the most important is the iris....

Using assembly in Android Studio

There are many reasons why to write your algorithm in assembler. You can have all the optimizations firmly in hand. However, it comes at costs – you need to know a lot about the hardware running your program, your program will be highly non-portable, non readable and you will spend ages on writing it. Oh, did I mention that debugging is a hell? Preparation So, to start using assembly in Android Studio, you need to install Android NDK. You can install it manually (and reference the installation) or from the Android Studio itself ( File > Settings > Appearence & Behaviour...