convert_play.py 文件源码

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

项目:tefla 作者: litan 项目源码 文件源码
def subplots(img,row_count,col_count,crop_img):
    gs = gridspec.GridSpec(2, 2, width_ratios=[4, 3])
    plt.subplot(gs[0])
    imshow(plt, img)

    plt.subplot(gs[1])
    plt.plot(np.array(row_count))

    plt.subplot(gs[2])
    plt.plot(np.array(col_count))

    plt.subplot(gs[3])
    plt.imshow(crop_img)
    plt.show()

#crops an image from both dark and light background
#works best on a single color background
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号