What it the base technology used in electronic speaking pens?
It's Anoto: 


  based on its patented dot pattern technology which provides a methodology for accumulating digital big data from analogue inputs.


https://en.wikipedia.org/wiki/Anoto