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

全部博文(365)

文章存档

2023年(8)

2022年(130)

2021年(155)

2020年(50)

2019年(22)

我的朋友

发布时间:2022-06-02 16:50:39

import numpy as npimport PILimport PIL.Imageimport scipyimport scipy.ndimageimport dlibdef get_landmark(filepath, predictor):    """get landmark with dlib    :return: np.array shape=(68, 2)    """&n.........【阅读全文】

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

发布时间:2022-06-01 17:13:50

import requests      # 发送网络请求模块import jsonimport pprint        # 格式化输出模块import pandas as pd  # 数据分析当中一个非常重要的模块from pyecharts import options as optsfrom pyecharts.charts import Bar,Lin.........【阅读全文】

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

发布时间:2022-05-30 12:57:32

from turtle import *def go_to(x, y):    up()    goto(x, y)    down()def small_Circle(size):  # 函数用于绘制心的小圆    speed(10)    for i in range(210): &nb.........【阅读全文】

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

发布时间:2022-05-23 17:08:48

a,b,c = 5,3,4def traceFunc(theta):    x = a*np.cos(theta)    y = b*np.sin(theta)    return x,ydef lineFunc(x,y):    return [-c,x,c], [0,y,0]def txtFunc(theta):    th .........【阅读全文】

阅读(4672) | 评论(0) | 转发(1)

发布时间:2022-05-19 12:29:48

import osfrom PIL import Image# 源目录# MyPath = 'E:/play/FaceMask_CelebA-master/facemask_image/'MyPath = 'E:/play/FaceMask_CelebA-master/save/masks/'# 输出目录OutPath = 'E:/play/FaceMask_CelebA-master/save/Binarization/'def processImage(filesoure, destsoure, name, imgt.........【阅读全文】

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

登录 注册