发布时间:2022-08-24 11:55:22
from tkinter import messagebox as msgboximport tkinter as tkimport webbrowserimport randomclass Lifes: def __init__(self, rows=36, cols=36): self.row = rows+2 .........【阅读全文】
发布时间:2022-08-19 14:27:13
public class DispatcherServlet extends HttpServlet { private Map mapping = new HashMap(); @Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletE.........【阅读全文】
发布时间:2022-08-18 11:44:35
import numpy as npfrom 图像识别 import picutilsimport cv2# 读取视频cap = cv2.VideoCapture('xxx.mp4')# 设置标志位 超过5就变色m = 0while (1): m += 1 # 颜色数组的下标 l = 0 &nbs.........【阅读全文】
发布时间:2022-08-16 13:54:29
import turtleimport time# 清屏函数def clear_all(): turtle.penup() turtle.goto(0, 0) turtle.color('white') turtle.pensize(800) turtle.pendown() .........【阅读全文】
发布时间:2022-08-12 12:00:14
# -*- coding: utf-8 -*-import cv2import dlibimport numpy as npdetector = dlib.get_frontal_face_detector() # dlib的正向人脸检测器predictor = dlib.shape_predictor(r'shape_predictor_68_face_landmarks.dat') # dlib的人脸形状检测器def get_image_size(image): &.........【阅读全文】