会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
程序之家
os .net vc++ asm driver wireless
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
24
25
26
27
28
29
30
31
32
···
77
下一页
2016年3月2日
linux 复制目录结构,但不复制文件
摘要: find src -type d | sed 's/src/mkdir -p dst/'|sh
阅读全文
posted @ 2016-03-02 11:14 ahuo
阅读(1202)
评论(0)
推荐(0)
2016年2月25日
python 查看模块的存放位置
摘要: 执行 dlib.__file__ 输出 '/anaconda2/lib/python2.7/site-packages/dlib/__init__.pyc'
阅读全文
posted @ 2016-02-25 11:04 ahuo
阅读(1490)
评论(0)
推荐(0)
2016年1月12日
Couldn't import dot_parser
摘要: 解决方案:pip install pydot2
阅读全文
posted @ 2016-01-12 09:37 ahuo
阅读(345)
评论(0)
推荐(0)
2016年1月8日
python文件目录操作
摘要: 一、python中对文件、文件夹操作时经常用到的os模块和shutil模块常用方法。1.得到当前工作目录,即当前Python脚本工作的目录路径: os.getcwd()2.返回指定目录下的所有文件和目录名:os.listdir()3.函数用来删除一个文件:os.remove()4.删除多个目录:os...
阅读全文
posted @ 2016-01-08 09:03 ahuo
阅读(1805)
评论(1)
推荐(0)
2015年12月31日
linux usb信息查看与调试
摘要: 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
阅读(2244)
评论(0)
推荐(0)
2015年12月30日
ubuntu 常用配置
摘要: 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
阅读(288)
评论(0)
推荐(0)
2015年12月25日
numpy转换
摘要: csv2npycccsv=numpy.genfromtxt('/root/c.csv', delimiter = ',')buf2npyimga=numpy.frombuffer(buf,numpy.uint8)
阅读全文
posted @ 2015-12-25 08:59 ahuo
阅读(394)
评论(0)
推荐(0)
2015年12月23日
linux统计文件夹内文件数
摘要: 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
阅读(310)
评论(0)
推荐(0)
2015年11月20日
python opencv 人脸识别
摘要: 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
阅读(333)
评论(0)
推荐(0)
2015年11月10日
c# webBrowser下载图片
摘要: private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e){ WebBrowser WebCtl = webB...
阅读全文
posted @ 2015-11-10 09:27 ahuo
阅读(1048)
评论(0)
推荐(0)
2015年10月30日
MATLAB 人脸定位
摘要: faceimg = x222;faceDetector = vision.CascadeObjectDetector();bbox = step(faceDetector, faceimg);facebox = insertObjectAnnotation(faceimg,'r...
阅读全文
posted @ 2015-10-30 15:07 ahuo
阅读(1555)
评论(0)
推荐(0)
2015年10月29日
pgm转jpg
摘要: 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
阅读(673)
评论(0)
推荐(0)
2015年10月20日
matlab 使用OPENCV
摘要: +cv就是测试:h=cv.imread('c:\h.jpg');
阅读全文
posted @ 2015-10-20 09:57 ahuo
阅读(831)
评论(0)
推荐(0)
2015年10月19日
MATLAB SVM
摘要: 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
阅读(319)
评论(0)
推荐(0)
2015年10月15日
RestClient POST
摘要: SSL:ServicePointManager.ServerCertificateValidationCallback += (sender, cert, chain, sslPolicyErrors) => true;var client = new RestClient(apihost); ...
阅读全文
posted @ 2015-10-15 09:43 ahuo
阅读(551)
评论(0)
推荐(0)
上一页
1
···
24
25
26
27
28
29
30
31
32
···
77
下一页
公告