上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 76 下一页
摘要: 执行 dlib.__file__ 输出 '/anaconda2/lib/python2.7/site-packages/dlib/__init__.pyc' 阅读全文
posted @ 2016-02-25 11:04 ahuo 阅读(1482) 评论(0) 推荐(0) 编辑
摘要: 解决方案:pip install pydot2 阅读全文
posted @ 2016-01-12 09:37 ahuo 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 一、python中对文件、文件夹操作时经常用到的os模块和shutil模块常用方法。1.得到当前工作目录,即当前Python脚本工作的目录路径: os.getcwd()2.返回指定目录下的所有文件和目录名:os.listdir()3.函数用来删除一个文件:os.remove()4.删除多个目录:os... 阅读全文
posted @ 2016-01-08 09:03 ahuo 阅读(1794) 评论(1) 推荐(0) 编辑
摘要: lsusbcat /sys/kernel/debug/usb/devicesT: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2B: Alloc= 17/900 us ( 2%), #Int= 1, #Iso= 0D: Ver=... 阅读全文
posted @ 2015-12-31 13:59 ahuo 阅读(2178) 评论(0) 推荐(0) 编辑
摘要: root 登录sudo gedit /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf加:greeter-show-manual-login=true设置密码:sudo passwd root右键在当前位置打开终端sudo apt-get install... 阅读全文
posted @ 2015-12-30 10:25 ahuo 阅读(279) 评论(0) 推荐(0) 编辑
摘要: csv2npycccsv=numpy.genfromtxt('/root/c.csv', delimiter = ',')buf2npyimga=numpy.frombuffer(buf,numpy.uint8) 阅读全文
posted @ 2015-12-25 08:59 ahuo 阅读(379) 评论(0) 推荐(0) 编辑
摘要: for dir in `find ./ -type d ` ;do echo -n "$dir " ;find $dir -type f | wc -l ;echo "" ;done;./4336694 59./0630088 38./0001667 196./3545234 5./3840810 ... 阅读全文
posted @ 2015-12-23 13:55 ahuo 阅读(290) 评论(0) 推荐(0) 编辑
摘要: def findface(image):import cv2 frame=cv2.imread('n1.jpg')classifier=cv2.CascadeClassifier("haarcascade_frontalface_alt.xml")minSize=(10,10) faceRects=... 阅读全文
posted @ 2015-11-20 16:10 ahuo 阅读(322) 评论(0) 推荐(0) 编辑
摘要: private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e){ WebBrowser WebCtl = webB... 阅读全文
posted @ 2015-11-10 09:27 ahuo 阅读(1026) 评论(0) 推荐(0) 编辑
摘要: faceimg = x222;faceDetector = vision.CascadeObjectDetector();bbox = step(faceDetector, faceimg);facebox = insertObjectAnnotation(faceimg,'r... 阅读全文
posted @ 2015-10-30 15:07 ahuo 阅读(1542) 评论(0) 推荐(0) 编辑
摘要: clc;clear all;for i=1:40for j=1:10image=imread(strcat('N:\FACE\orl_faces\s',...int2str(i),'\',int2str(j),'.pgm'));imwrite(image,strcat('N:\FACE\orl_fa... 阅读全文
posted @ 2015-10-29 17:50 ahuo 阅读(654) 评论(0) 推荐(0) 编辑
摘要: +cv就是测试:h=cv.imread('c:\h.jpg'); 阅读全文
posted @ 2015-10-20 09:57 ahuo 阅读(820) 评论(0) 推荐(0) 编辑
摘要: clc;clear;close all;traindata = [1,0; 3,10; 2,2; 2,3; -1,-1; -6,-4; -4,-1; -1.5, -3];group = [1 1 1 1 -1 -1 -1 ... 阅读全文
posted @ 2015-10-19 11:07 ahuo 阅读(312) 评论(0) 推荐(0) 编辑
摘要: SSL:ServicePointManager.ServerCertificateValidationCallback += (sender, cert, chain, sslPolicyErrors) => true;var client = new RestClient(apihost); ... 阅读全文
posted @ 2015-10-15 09:43 ahuo 阅读(546) 评论(0) 推荐(0) 编辑
摘要: 禁用:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\Schannel\Protocols验证: 阅读全文
posted @ 2015-10-08 16:06 ahuo 阅读(1310) 评论(1) 推荐(0) 编辑
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 76 下一页