Python 2.7 如何将英寸更改为米?;

Python 2.7 如何将英寸更改为米?;,python-2.7,opencv3.0,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)

这是代码,如何将英寸更改为米

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)

您有什么问题?我想更换putText单元,我不知道怎么做