2023-04-01から1ヶ月間の記事一覧
# https://www.learning-nao.com/?p=2020 import numpy as numpy import cv2 def make_list(filepath: str): # read img = cv2.imread('tmp.bmp', 0) # find_contours contours, hierarchy = cv2.findContours(img, cv2.RETR_LIST, cv2.CHAIN_APPROX_SIMPLE)…