Text this: Development of patient training system using image processing technique