【发布时间】:2016-08-04 04:05:11
【问题描述】:
我已经尝试实现这个code,但是当我想按照本教程确定轮廓的最极端点时遇到了麻烦。
# determine the most extreme points along the contour
extLeft = tuple(c[c[:, :, 0].argmin()][0])
extRight = tuple(c[c[:, :, 0].argmax()][0])
extTop = tuple(c[c[:, :, 1].argmin()][0])
extBot = tuple(c[c[:, :, 1].argmax()][0])
谁能帮我解决这个问题?
【问题讨论】:
标签: c++ image-processing opencv3.0