Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3609606
  • 博文数量: 365
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 2522
  • 用 户 组: 普通用户
  • 注册时间: 2019-10-28 13:40
文章分类

全部博文(365)

文章存档

2023年(8)

2022年(130)

2021年(155)

2020年(50)

2019年(22)

我的朋友

发布时间:2022-04-11 13:35:40

def get_head_pose(shape):  # 头部姿态估计    # (像素坐标集合)填写2D参考点    # 17左眉左上角/21左眉右角/22右眉左上角/26右眉右上角/36左眼左上角/39左眼右上角/42右眼左上角/    # 45右眼右上角/31鼻子左上角/35鼻子右上角/48左上.........【阅读全文】

阅读(552) | 评论(0) | 转发(0)

发布时间:2022-04-01 17:26:04

import pygameimport randomdef main():    # 初始化pygame   pygame.init()    # 默认不全屏   fullscreen = False    # 窗口未全屏宽和高   WIDTH, HEIGHT = 1100, 600  .........【阅读全文】

阅读(813) | 评论(0) | 转发(0)

发布时间:2022-03-24 17:21:31

import redisimport uuidimport timeclass LockService:   """    基于Redis实现的分布式锁   """   host = 'localhost'   port = 6379   password = ''   db.........【阅读全文】

阅读(6490) | 评论(0) | 转发(0)

发布时间:2022-03-18 17:21:36

# -*- 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): &.........【阅读全文】

阅读(980) | 评论(0) | 转发(0)

发布时间:2022-03-16 17:18:38

import turtle as Timport randomimport time#=======画樱花的躯干(60,t)===============T.title('凋落的樱花')def Tree(branch, t):    time.sleep(0.0005)    if branch > 3:        if 8 <= branch.........【阅读全文】

阅读(1028) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册