上一页 1 ··· 4 5 6 7 8 9 10 下一页
摘要: 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)
摘要: 方法一(鼠标拉框选择截图)、 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)
摘要: 一、安装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)
摘要: 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)
摘要: 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)
摘要: files = os.listdir("./") for f in files: if f.lower()[-3:] == "mp4": print (f) 阅读全文
posted @ 2018-02-04 15:51 winniez 阅读(341) 评论(0) 推荐(0)
摘要: 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)
摘要: 一、安装pyinstaller pip install pyinstaller 二、编译: pyinstaller facedetectandsaveimage.py 结果: 自动生成"C:\Users\username\dist\FaceDetectAndSaveImage"文件夹和相关文件(包括 阅读全文
posted @ 2018-01-28 18:50 winniez 阅读(2266) 评论(0) 推荐(0)
摘要: 可以从一张照片中检测出多张脸部,并保存在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 下一页