parameters: (path)
return_statement: return img.flatten()
docstring: conver image to vector
      :param path: path to the image
      :return: numpy vector
docstring_summary: conver image to vector
      :param path: path to the image
      :return: numpy vector
docstring_tokens: conver image to vector : param path : path to the image : return : numpy vector
function: def imageToVector(path):
      """
      conver image to vector
      :param path: path to the image
      :return: numpy vector
      """
      img = numpy.array(Image.open(path)) #.convert('1'))
      #img = numpy.array(Image.open(path).filter(ImageFilter.MedianFilter()).filter(ImageFilter.CONTOUR))
      return img.flatten()
function_tokens: def imageToVector ( path ) : img = numpy . array ( Image . open ( path ) ) #.convert('1')) #img = numpy.array(Image.open(path).filter(ImageFilter.MedianFilter()).filter(ImageFilter.CONTOUR)) return img . flatten ( )