using open source tools of opencv,&& fann....