A machine vision system applied to the teaching of mathematics for blind or visually impaired children