OpenCV:获取图像当中某一点的坐标

import numpy as np
image=np.zeros((300,300,3),dtype='uint8')
(cx,cy)=image.shape[1]//2,image.shape[0]//2#其中的cx和cy就是我们图像中点的坐标

 

posted @ 2019-06-26 13:13  Geeksongs  阅读(8860)  评论(0编辑  收藏  举报

Coded by Geeksongs on Linux

All rights reserved, no one is allowed to pirate or use the document for other purposes.