如何将英寸换成米?

时间:2018-04-20 06:22:03

标签: python-2.7 opencv3.0

以下是代码,如何将英寸更改为米?

box = cv2.boxPoints(marker)
cv2.drawContours(image, [box.astype(int)], -1, (0, 255, 0), 2)
cv2.putText(image, "%.2fft" % (inches / 12),
    (image.shape[1] - 200, image.shape[0] - 20), cv2.FONT_HERSHEY_SIMPLEX,
    2.0, (0, 255, 0), 3)
cv2.imshow("image", image)
cv2.waitKey(0)

this

0 个答案:

没有答案