This is code of my graduate work using opencv