2014-11-10
提取音频
ffmpeg -i input -vn output.mp3
-vn 不需要视频 no video
压缩
ffmpeg -i input -acodec copy -vcodec copy -s 800x600 output
-s scale 压缩后大小
2014-11-10
ffmpeg -i input -vn output.mp3
-vn 不需要视频 no video
ffmpeg -i input -acodec copy -vcodec copy -s 800x600 output
-s scale 压缩后大小
特点:速度快,算法简单,但无法匹配变换(如,旋转等)后的图像。
特点:标准的图像配准算法,可用于图像匹配,健全性强,计算速度较慢,涉及很多数学知识(本人数学基础巨差,完全看不懂)
代表算法: sirf, surf
特点:速度较快,健全性不强,可以通过产生特殊的直方图兼容图像变换
特征匹配与机器学习相结合
特点:速度快,健全性强,但算法实现复杂
Image comparison - fast algorithm - Stack Overflow
Simple image comparison in .NET
y = a * cos(x * b)
其中,a决定幅度,b决定周期。
根据余弦公式绘制曲线,形成闭合路径,再填充颜色,做遮罩成去掉无用部分
Setting environment for using Microsoft Visual Studio 2008 x86 tools. >cl waterwave.cpp /Zi /link user32.lib gdi32.lib
in the custom UITableViewHeaderFooterCell, the width of the reuse view can not be configed in a right way. And there is a warnning 'Setting the background color on UITableViewHeaderFooterView has been deprecated. Please use contentView.backgroundColor instead.' during the running.
the reason that the view that is added to xib is UITableViewCell. instead of UICollectionReusableView, the problems are fixed.
在定制UITableView的section的Footer时,重用的模板view不能正确的布局,width总不能正确匹配并且 程序运行时,总是出现'Setting the background color on UITableViewHeaderFooterView has been deprecated. Please use contentView.backgroundColor instead.'的警告。
原因是,在向xib添加view时,使用的是UITableViewCell,用UICollectionReusableView替换即可可解决问题。