会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
你看起来真的很好吃
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
下一页
2022年10月31日
face_recognition实现人脸检测+活体检测(通过眨眼时的帧数判断)
摘要: import cv2 import face_recognition import numpy as np from PIL import ImageFont, ImageDraw, Image class FaceRecognition(object): # 已知姓名的人脸编码 known_fac
阅读全文
posted @ 2022-10-31 15:08 你看起来真的很好吃
阅读(494)
评论(0)
推荐(0)
2022年10月14日
python2 接口下载文件,文件名设置中文无效解决方案
摘要: from urllib import quote _file_name = quote("测试".encode("utf-8")) data = models.AdaptationPChannel.export_active_project(start_date) response = HttpRe
阅读全文
posted @ 2022-10-14 19:58 你看起来真的很好吃
阅读(80)
评论(0)
推荐(0)
2022年10月11日
django ImportExportModelAdmin 导出的文件中中文乱码解决方案
摘要: @admin.register(BuildFunction) class BuildFunctionAdmin(SimpleHistoryAdmin, ImportExportModelAdmin): form = BuildFunctionForm list_display = ('id', 'c
阅读全文
posted @ 2022-10-11 15:46 你看起来真的很好吃
阅读(67)
评论(0)
推荐(0)
2022年9月1日
css3 弹性盒子
摘要: /* 使用弹性盒子布局 */ display: flex; /* 设置子元素在父元素排列方向 */ flex-direction: row; /* 子元素沿主轴对齐方式 */ /* justify-content: space-around; */ /* 定义子元素是否换行,默认不换行,如果装不开会
阅读全文
posted @ 2022-09-01 19:48 你看起来真的很好吃
阅读(18)
评论(0)
推荐(0)
2022年8月4日
ECS通过keepalived实现高可用
摘要: keepalived实现浮动IP 1: 由于ECS不能支持多播,keepalived需要通过单播实现arrp通信浮动IP实现连接公网 1:申请havip 目前处于公测(免费),审核通过时间大概2天2:申请EIP3:havip绑定ECS资源和EIP 官方实现高可用文档: https://help.al
阅读全文
posted @ 2022-08-04 02:12 你看起来真的很好吃
阅读(163)
评论(0)
推荐(0)
2022年7月28日
keepalived配置安装
摘要: 1:关闭防火墙 关闭防火墙:systemctl stop firewalld 禁用防火墙:systemctl disable firewalld 2:禁用SELinux,不禁用会影响邮件发送 notify_master 查看SELinux状态:getenforce 禁用SELinux:修改/etc/
阅读全文
posted @ 2022-07-28 20:04 你看起来真的很好吃
阅读(1146)
评论(0)
推荐(0)
2022年6月11日
爬虫-电影演员
摘要: # -*-coding:utf-8-*- import requests import re from bs4 import BeautifulSoup import json headers = { "Accept": "*/*", "Accept-Encoding": "gzip, deflat
阅读全文
posted @ 2022-06-11 21:56 你看起来真的很好吃
阅读(62)
评论(0)
推荐(0)
2022年6月8日
爬虫-获取内陆明星
摘要: # -*-coding:utf-8-*-import requestsimport mathimport jsonif __name__ == "__main__": count = "100" page_count = math.ceil(26148/100) with open("b.txt",
阅读全文
posted @ 2022-06-08 17:23 你看起来真的很好吃
阅读(82)
评论(0)
推荐(0)
2022年5月23日
爬虫练习一
摘要: # -*-coding:utf-8-*-import requestsimport refrom bs4 import BeautifulSoupdef get_encoding(response): """获取页面编码""" encoding = response.apparent_encodin
阅读全文
posted @ 2022-05-23 12:27 你看起来真的很好吃
阅读(41)
评论(0)
推荐(0)
2022年4月7日
virtualbox虚拟机使用
摘要: 1:mac安装virtualhttps://www.cnblogs.com/andong2015/p/7688120.html2: 下载centos7虚拟镜像下载地址:http://isoredirect.centos.org/centos/7/isos/x86_64/一般使用阿里的迷你镜像http
阅读全文
posted @ 2022-04-07 23:06 你看起来真的很好吃
阅读(55)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
下一页
公告