style.py 文件源码

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

项目:cv-api 作者: yasunorikudo 项目源码 文件源码
def encord(frame, q):
    img = cv2.resize(frame, (frame.shape[1] // 2, frame.shape[0] // 2))
    img = img[:, ::-1].copy()

    s = StringIO()
    io.imsave(s, img, plugin='pil')
    s.seek(0)
    files = {'file': s,}

    q.put([img, files])
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号