Blob size
Getting the z position trough blob size is easy. However the resolution is 4 bits only. Also, I have a jump between a value of 6 and a value of 15 when getting closer to the camera. I think I’ll use two IR sources with constant distance and calculate the evolution of the tracked distance to infer the distance with a better resolution.