会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
winniez
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
下一页
2018年3月3日
大疆技术+intel芯片的可编程无人机Tello的编程环境搭建
摘要: 1、下载并安装node 2、下载Tello.js 3、下载并安装Scratch 2.0 Offline 4、windows 命令行模式下(cmd): 5、打开scrach ,按住shift键+files->import experimental HTTP extension,弹出对话框中选择第2步中
阅读全文
posted @ 2018-03-03 11:07 winniez
阅读(7292)
评论(0)
推荐(0)
2018年2月27日
如何使用chrome 浏览器自带截屏?
摘要: 方法一(鼠标拉框选择截图)、 1、ctrl+shift+c 2、按住ctrl 后拖动鼠标 方法二 1、F12 2、【ctrl+shift+p】 3、输入“capture” 4、选择以下任意 1)“ capture full size screenshot”【整个网页】 2)“capture node
阅读全文
posted @ 2018-02-27 12:10 winniez
阅读(29545)
评论(0)
推荐(2)
2018年2月10日
python 下载视频文件
摘要: 一、安装youtube-dl pip install youtube-dl pip install -U youtube-dl 二、全局模式 代理设置成全局模式 三、下载命令 youtube-dl “https://www.videourl.com/watch?v=lskjdfljsldjflsdy
阅读全文
posted @ 2018-02-10 20:36 winniez
阅读(1159)
评论(0)
推荐(0)
2018年2月5日
用设定的时间快速对视频进行截图
摘要: import PILfrom PIL import Imagefrom PIL import ImageDrawfrom PIL import ImageFontimport mathimport timefrom moviepy.editor import VideoFileClip, conca
阅读全文
posted @ 2018-02-05 12:48 winniez
阅读(348)
评论(0)
推荐(0)
不打开视频文件从视频的指定时间下截图
摘要: import PILfrom PIL import Imagefrom PIL import ImageDrawfrom PIL import ImageFontfrom moviepy.editor import VideoFileClip, concatenate_videoclipsclip1
阅读全文
posted @ 2018-02-05 11:37 winniez
阅读(516)
评论(0)
推荐(0)
2018年2月4日
极简代码搞定视频剪辑
摘要: 1、安装moviepy pip install moviepy 2、下载ffmpeg import imageio imageio.plugins.ffmpeg.download() 3、代码 4、运行结果
阅读全文
posted @ 2018-02-04 15:56 winniez
阅读(995)
评论(0)
推荐(0)
python 遍历本地文件
摘要: files = os.listdir("./") for f in files: if f.lower()[-3:] == "mp4": print (f)
阅读全文
posted @ 2018-02-04 15:51 winniez
阅读(341)
评论(0)
推荐(0)
2018年2月1日
安装Anaconda需要知道的pc信息
摘要: 1、windows 32/64版本 如何查看:WIN+BREAK组合键 2、python 版本 如何查看:在命令行模式输入help() 3、python 安装路径 如何查看: import sys print(sys.path) 4、下载路径: https://www.anaconda.com/do
阅读全文
posted @ 2018-02-01 09:49 winniez
阅读(245)
评论(0)
推荐(0)
2018年1月28日
编译python源代码为可执行文件(.py--->.exe)
摘要: 一、安装pyinstaller pip install pyinstaller 二、编译: pyinstaller facedetectandsaveimage.py 结果: 自动生成"C:\Users\username\dist\FaceDetectAndSaveImage"文件夹和相关文件(包括
阅读全文
posted @ 2018-01-28 18:50 winniez
阅读(2266)
评论(0)
推荐(0)
只用22行代码完成对照片的人脸检测
摘要: 可以从一张照片中检测出多张脸部,并保存在photos文件夹下。 代码如下: import cv2name = "test"number = 0image_path = './1.jpg'casc_path = './haarcascades/haarcascade_frontalface_alt.x
阅读全文
posted @ 2018-01-28 16:18 winniez
阅读(358)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
下一页
公告