前面介绍ASM算法(http://blog.csdn.net/carson2005/article/details/8194317)的时候,笔者提到,ASM是基于统计形状模型的基础上进行的,而AAM则是在ASM的基础上,进一步对纹理(将人脸图像变形到平均形状而得到的形状无关图像g)进行统计建...
分类:
移动开发 时间:
2014-09-26 21:53:08
阅读次数:
221
源码安装 openssl
因为sha1计算的需要,要求有openssl/sha.h头文件,所以要安装 openssl 和 libssl-dev 否则会报错: fatal error: openssl/sha.h:
No such file or directory。由于这台机器不能直接上网,就需要下载源码进行安装。不装 libssl-dev 的话,程序仍然找不到相应的头文件...
分类:
其他好文 时间:
2014-09-26 20:02:48
阅读次数:
244
1.centos 6.2 安装 rar 压缩命令 后 报错/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory解决用 yum install ld-linux.so.2 再次压缩的时候 报libstdc++so.6:ca...
分类:
系统相关 时间:
2014-09-26 14:43:48
阅读次数:
280
网上有很多方法都要引入.htaccess文件,如果是在测试环境下,动态和静态的文件放到一块,可能测试会有一定的问题(由于全部定向到index.php),静态网页访问不了。这里提供一种方法,只需要修改http.conf文件,步骤:1:在配置虚拟目录下加入<Directory/>OptionsIndexesFo..
分类:
Web程序 时间:
2014-09-25 23:39:08
阅读次数:
214
??
服务器目录配置
1、创建服务器目录
(1)在system用户下执行如下命令:CREATE OR REPLACE DIRECTORY MAIL_FILE_DIR AS '/mail_file/data/PROD';
(2)给创建的目录赋权限,执行:GRANT read ,write ON DIRECTORY MAIL_FILE_DIR TO PUBLIC;
如果是双节点的服务...
分类:
数据库 时间:
2014-09-25 22:06:38
阅读次数:
298
oracle@db01:/oraapp/oracle/backup>impdp \'/ as sysdba\' directory=DB_BACKUP dumpfile=newdb.20140918.dmp logfile=newdb_0919.log parallel=4 c>
Import: Release 11.2.0.3.0 - Production on Fri Sep...
分类:
其他好文 时间:
2014-09-25 18:58:07
阅读次数:
282
When a file name is deleted from the directory tree, the file name's connection to the inode number is severed. If the file name is the last "link" to...
分类:
其他好文 时间:
2014-09-25 15:42:39
阅读次数:
177
今天要实现一个需求,当用户触摸HOME键,将应用切换到后台时,启动自动备份的任务。这涉及到ios的后台任务处理,本文简单总结一下首先,ios app有5种状态,分别是:not running, inactive, active, background, suspended,详情请看官方的guide:...
分类:
移动开发 时间:
2014-09-25 15:22:39
阅读次数:
247
工作中碰到一些目录需要写入数据,为了安全起见需要屏蔽特定路径下的php,python解析。nginx相关配置:location~/(data|sites/upload)/.*\.(php|php5|py|pyc|sh)?${denyall;}apache相关配置:<Directory/usr/local/apache/htdocs/bbs/data>php_flagengineoff</Director..
分类:
编程语言 时间:
2014-09-25 13:51:39
阅读次数:
306
<!DOCTYPEhtml>
<html>
<head>
<metacharset="utf-8">
<title></title>
<style>
a{
color:black;
}
a:visited{
color:purple;
}
a:hover{
color:red
}
a:active{
color:blue;
}
</style>
</head>
&..
分类:
Web程序 时间:
2014-09-25 11:42:49
阅读次数:
254