Training classifier and its updation done. Testing it on inputs and forming binary images left todo.