- 博客(3)
- 收藏
- 关注
原创 seglink代码之 generate_anchors_one layer
''' 特别关注np.mgrid函数,例如 x, y = np.mgrid[0:4, 0:4] x = 0, 1, 2, 3 0, 1, 2, 3 0, 1, 2, 3 0, 1, 2, 3y = 0, 0, 0, 0 1, 1, 1, 1 2, 2, 2, 2 3, 3, 3, 3 利用这个函数的性质就能很方便的计算anchor_bo
2017-10-27 19:46:04 1018
原创 Seglink代码之二 数据增强 distorted_bounding_box_crop
def distorted_bounding_box_crop(image, labels, bboxes, xs, ys, min_objec
2017-10-27 19:39:30 1087
原创 Seglink代码之ICDAR2015_to_tfrecords
关键性代码在于 convert_to_example。比较重要的数据有: 1)GT的八个点 2)GT的四个点 3)imagedef convert_to_example(image_data, filename, labels, ignored, labels_text, bboxes, oriented_bboxes, shape): """Build an Example prot
2017-10-24 16:30:34 1330
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人