Tinyrender-Lesson 0 画一个点 原文链接: https://github.com/ssloy/tinyrenderer/wiki/Lesson-0-getting-started import matplotlib.pyplot as plt from PIL import Ima ...
分类:
其他好文 时间:
2020-06-23 21:06:46
阅读次数:
70
centOS安装nginx的常见问题 ./configure:error:c compile cc is not found 当执行命令 ./configure 编译安装nginx时报error:c compile cc is not found 解决: 执行命令 yum -y install gc ...
分类:
其他好文 时间:
2020-06-22 12:24:00
阅读次数:
55
1、定义 compile(pattern, flags=0) ** 正则匹配规则: \w*o\w* \w* 表示匹配由大小写英文字bai母数字和下划线组成的0个或多个du字符o 表示匹zhi配字符o\w*o\w* 表示匹配含有o的字dao符串(不管o在首字母还是在尾字母还是在中间) 2、与finda ...
分类:
其他好文 时间:
2020-06-19 15:39:23
阅读次数:
40
1. TensorFlow model import math import numpy as np import h5py import matplotlib.pyplot as plt import scipy from PIL import Image from scipy import nd ...
分类:
Web程序 时间:
2020-06-16 20:28:35
阅读次数:
54
E:\SourceCode\VUE\vue-element-admin-master>cnpm run dev > vue-element-admin@4.3.0 dev E:\SourceCode\VUE\vue-element-admin-master > vue-cli-service ser ...
分类:
Web程序 时间:
2020-06-16 18:35:15
阅读次数:
448
用到模块 # pillow # 安装 # pip3 install pillow # from PIL import Image, ImageDraw, ImageFont, ImageFilter """ Image:生成图片 ImageDraw:能够在图片上乱涂乱画 ImageFont:控制字体 ...
分类:
其他好文 时间:
2020-06-16 00:50:52
阅读次数:
148
两种方式以及效果: 方式一,使用PIL.Image.blend方式: from PIL import Image, ImageDraw im = Image.open('d:/tmp/58.249.0.220_01_20200604141800866_TIMING.jpg', 'r') im2 = ...
分类:
编程语言 时间:
2020-06-15 15:44:07
阅读次数:
63
1.手写数字数据集 from sklearn.datasets import load_digits digits = load_digits() 2.图片数据预处理 x:归一化MinMaxScaler() y:独热编码OneHotEncoder()或to_categorical 训练集测试集划分 ...
分类:
其他好文 时间:
2020-06-14 20:38:09
阅读次数:
60
问题描述: 当使用pip安装Pillow python3包时提示the headers or library files could not be found for zlib,原因是环境变量设置里找不到zip headers library files相关文件,所以编译失败导致的。 解决方法: 将 ...
分类:
系统相关 时间:
2020-06-14 20:37:55
阅读次数:
183
package jkcs; import java.net.MalformedURLException; import java.net.URL; import java.util.concurrent.TimeUnit; import org.openqa.selenium.remote.Desi ...
分类:
移动开发 时间:
2020-06-13 21:23:50
阅读次数:
86