project6 Smart Librarian by Python Optical Character Recognition 더보기 from PIL import Image import http.client, urllib.request, urllib.parse, urllib.error, base64, json import cv2 import numpy as np import winsound def order_points(pts): rect = np.zeros((4, 2), dtype = "float32") s = pts.sum(axis = 1) rect[0] = pts[np.argmin(s)] rect[2] = pts[np.argmax(s)] diff = np.diff(pts, axis = 1) rect[1] = pts[np.argmin(diff)] rect[3] = pts[np.argmax(diff)] return rect d.. 2021. 4. 24. BU Story Episode Directing 보호되어 있는 글 입니다. 2021. 4. 23. 이전 1 2 다음