最近在搞上身检测(Upper-body detection),本文使用了http://groups.inf.ed.ac.uk/calvin/calvin_upperbody_detector/进行上身检测
其中作者用到了voc-release 3.1 (DPM)来做上身检测,并综合了VJ的face detector来辅助上身检测。DPM更高版本的代码可以从http://www.cs.be...
分类:
其他好文 时间:
2014-12-05 09:16:24
阅读次数:
270
Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.If the last word doe...
分类:
其他好文 时间:
2014-12-04 00:46:14
阅读次数:
164
原文:SQL点滴33—SQL中的字符串操作计算字符串长度len()用来计算字符串的长度 select sname ,len(sname) from student 字符串转换为大、小写lower() 用来将一个字符串转换为小写,upper() 用来将一个字符串转换为大写 select lower('...
分类:
数据库 时间:
2014-12-03 18:37:01
阅读次数:
178
select * from c_table t where upper(t.name) like '%F%';--将字段全转成大写select * from c_table t where lower(t.name) like '%f%';--将字段全转成小写select * from c_tabl...
分类:
数据库 时间:
2014-12-03 13:53:43
阅读次数:
208
这题的特点是 引入了个fib数组 其实就是 延迟更新的时候 换了个方式我觉得线段树的题目 不用什么解释 如果一下子没做出来 如果需要使用lazy的话 都是因为 不能很好地定义它的内容lower_bound真心蛮好的 省去了自己手写二分 但也要看情况使用 = = 对了 它还有个兄弟叫做 upper_b...
分类:
其他好文 时间:
2014-12-02 23:53:41
阅读次数:
305
使用数据处理函数:/*Upper返回大写*/select vend_name,Upper(vend_name) as vend_name_upcasefrom vendorsorder by vend_name;常用文本处理函数:Left() 返回左边的字符;Length() 返回串的长度;Loca...
分类:
数据库 时间:
2014-12-02 15:09:58
阅读次数:
184
STL中关于二分查找的函数有三个lower_bound 、upper_bound 、binary_search 。这三个函数都运用于有序区间(当然这也是运用二分查找的前提),下面记录一下这两个函数。ForwardIter lower_bound(ForwardIter first, ForwardI...
分类:
编程语言 时间:
2014-12-01 00:42:59
阅读次数:
257
function [P, L, U] = plu(A)
% The implementation of PLU Factorization
% L is lower triangular and U is upper triangular
% P is permutation matrix
% Author: Zhenlin Du(Johnsondu)
% Email: qlduzhlin@...
分类:
其他好文 时间:
2014-11-30 23:19:21
阅读次数:
297
function [Q,R] = gram_schmidt_qr(A)
% Formation: A = QR
% The implementation of QR Factorization(classical Gram-Schmidt method)
% Q is orthonormal basis for R(A)
% R is an upper-triangular matrix wit...
分类:
其他好文 时间:
2014-11-30 23:18:22
阅读次数:
286
function [T, P] = householder(A)
% Formations: RA = T, where A is original matrix
% The implementation of Householder Reduction
% R is constructed as a product of elementary reflector
% T is upper tri...
分类:
其他好文 时间:
2014-11-30 23:18:18
阅读次数:
221