utils.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:dist-dqn 作者: viswanathgs 项目源码 文件源码
def resize_image(image, width, height):
  """
  Resize the image screen to the configured width and height and
  convert it to grayscale.
  """
  grayscale = cv2.cvtColor(image, cv2.COLOR_RGB2GRAY)
  return cv2.resize(grayscale, (width, height))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号