会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
风吹南下
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
16
17
18
19
20
21
22
23
下一页
2020年4月28日
django部署报错django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: admin
摘要: 是因为settings.py里面重复注册了app名称
阅读全文
posted @ 2020-04-28 17:28 程序员小艺
阅读(629)
评论(0)
推荐(0)
编辑
linux后台运行shell脚本
摘要: nohup command &
阅读全文
posted @ 2020-04-28 13:20 程序员小艺
阅读(911)
评论(0)
推荐(0)
编辑
windows运行django时报UnicodeDecodeError的错误,其实就是字符编码错误
摘要: 可能是因为计算机中文名称引起的
阅读全文
posted @ 2020-04-28 00:20 程序员小艺
阅读(197)
评论(0)
推荐(0)
编辑
2020年4月23日
thinkphp启动gateway
摘要: php think worker:gateway
阅读全文
posted @ 2020-04-23 15:02 程序员小艺
阅读(454)
评论(0)
推荐(0)
编辑
2020年4月18日
window安装dlib、face_recognition
摘要: face_recognition简介 face_recognition是Python的一个开源人脸识别库,支持Python 3.3+和Python 2.7。引用官网介绍: Recognize and manipulate faces from Python or from the command l
阅读全文
posted @ 2020-04-18 09:22 程序员小艺
阅读(203)
评论(0)
推荐(0)
编辑
2020年4月17日
python人脸检测
摘要: import cv2 import dlib import numpy as np import os class Config(object): predictor_path = 'shape_predictor_68_face_landmarks.dat' test_img = 'test.jp
阅读全文
posted @ 2020-04-17 14:09 程序员小艺
阅读(265)
评论(0)
推荐(0)
编辑
face_recognition对比图像
摘要: import face_recognition #官方api文档:https://face-recognition.readthedocs.io/en/latest/face_recognition.html first_image = face_recognition.load_image_fil
阅读全文
posted @ 2020-04-17 13:17 程序员小艺
阅读(330)
评论(0)
推荐(0)
编辑
2020年4月10日
微信小程序打开指定的地图位置
摘要: wx.getLocation({//获取当前经纬度 type: 'wgs84', //返回可以用于wx.openLocation的经纬度,官方提示bug: iOS 6.3.30 type 参数不生效,只会返回 wgs84 类型的坐标信息 success: function (res) { wx.op
阅读全文
posted @ 2020-04-10 15:35 程序员小艺
阅读(1070)
评论(0)
推荐(0)
编辑
2020年4月7日
django配置上传到根路径下的upload
摘要: settings.py MEDIA_ROOT = os.path.join(BASE_DIR, 'upload/').replace('\\', '/') # upload即为图片上传的根路径
阅读全文
posted @ 2020-04-07 19:37 程序员小艺
阅读(304)
评论(0)
推荐(0)
编辑
django配置根下upload里面的图片显示
摘要: from django.urls import path,include,re_pathfrom auction.settings import MEDIA_ROOTfrom django.views.static import serve urlpatterns = [ re_path(r'^up
阅读全文
posted @ 2020-04-07 19:35 程序员小艺
阅读(197)
评论(0)
推荐(0)
编辑
上一页
1
···
16
17
18
19
20
21
22
23
下一页
公告