参考文档InstallOpenCV-PythoninWindows1.下载python2.7.x的32位安装包并安装,将python安装路径加入环境变量PATH中https://www.python.org/2.下载opencv最新版本并安装http://opencv.org/3.下载numpy最新版本并安装,opencv依赖它http://www.numpy.org/4.把opencv安装目录下的..
分类:
编程语言 时间:
2015-12-30 13:50:09
阅读次数:
236
#!/usr/bin/python# -*- coding: utf-8 -*-import os,datetimecrd = os.getcwd()files = os.listdir(crd)for fi in files: mt = os.stat(os.path.abspath...
分类:
其他好文 时间:
2015-12-30 13:00:17
阅读次数:
119
题目:Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its pat...
分类:
其他好文 时间:
2015-12-30 06:58:46
阅读次数:
231
Shell变量的删除:horace@horace-v490u:~$path=${PATH}##设置path和PATH相同内容
horace@horace-v490u:~$echo$path
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
horace@horace-v490u:~$echo${path#/*sbin:}##加上‘#’符号删除..
分类:
系统相关 时间:
2015-12-30 00:33:44
阅读次数:
191
一、头文件gcc 在编译时寻找所需要的头文件 :※搜寻会从-I开始※然后找gcc的环境变量 C_INCLUDE_PATH,CPLUS_INCLUDE_PATH,OBJC_INCLUDE_PATH※再找内定目录/usr/include/usr/local/include/usr/lib/gcc-lib...
分类:
系统相关 时间:
2015-12-30 00:04:41
阅读次数:
216
默认没有/etc/rsync.conf配置文件,要自己创建。然后写入配置内容:usechroot=nohostsallow=10.0.0.0/24hostsdeny=*[pro]path=/var/www/project/comment=project1uid=www-datagid=www-datareadonly=falsehostsallow=*[pro_dev]path=/var/rsync/project/dev/comment=project1DEV..
分类:
其他好文 时间:
2015-12-29 19:36:23
阅读次数:
126
even though I have configured %m2_home% and %path% correctly, the command "mvn" is still not recognized.use command echo to output the system environm...
分类:
其他好文 时间:
2015-12-29 16:16:17
阅读次数:
230
Windows --MySQL zip版本安装记录:step1.官网download zip包:http://cdn.mysql.com//Downloads/MySQL-5.7/mysql-5.7.10-winx64.zipstep2.解压包,path中增加E:\software\mysql-5....
分类:
数据库 时间:
2015-12-29 12:43:44
阅读次数:
222
1、下载sqlite的官方下载地址为http://www.sqlite.org/download.html (sqlite-shell-win32-x86-3090200)2、将sqlite加入到path环境变量中3、打开cmd,输入sqlite3,如果弹出以下消息,就表示成功了。4、sqlite常...
分类:
数据库 时间:
2015-12-29 10:01:40
阅读次数:
203
Given a binary tree, find the length of the longest consecutive sequence path.The path refers to any sequence of nodes from some starting node to any ...
分类:
其他好文 时间:
2015-12-29 06:19:28
阅读次数:
271