![](/img/trans.png)
[英]How to mark the center and calculate the diameter of an image using opencv - python?
[英]How to calculate the diameter of irregular shape from jpg input image in Python?
您可以使用scipy.ndimage.imread函數將圖像導入ndarray,然后使用您提到的算法。
img = scipy.ndimage.imread("PATH_TO_MY_IMG.jpg")
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.