trainer.py 文件源码

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

项目:textboxes 作者: shinjayne 项目源码 文件源码
def get_image_detections(path):
    tb = TB()

    #cv2.namedWindow("outputs", cv2.WINDOW_NORMAL)
    sample = cv2.imread(path)[:, :, :3]
    sample = cv2.resize(sample, (300,300))

    boxes_, confidences_ = tb.single_image(sample)

    return boxes_, confidences_
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号