渐变:backgroud:linear-gradient()语法:linear-gradient(起点,开始颜色,结束颜色); 起点:top,right,bottom,left,top left,top right, bottom left,bottom right,例:.test{ bac...
分类:
Web程序 时间:
2015-05-14 15:46:51
阅读次数:
119
介绍在小米的开机动画和一些欢迎界面中, 我们经常看到这种闪闪发光的流光字体。看起来很炫酷,其实实现原理相当简单,我们只需要写自定义控件继承TextView,然后使用渲染器Gradient设置颜色渐变和Paint的setShadowLayer方法设置阴影,然后不断刷新改变位移即可。
实现首先写一个shineTextView类继承自TextView.public class ShineTextVi...
分类:
移动开发 时间:
2015-05-13 10:37:07
阅读次数:
3642
http://daneden.github.io/animate.css/.site__title { color: #f35626; background-image: -webkit-linear-gradient(92deg,#f35626,#feab3a); -webkit-backg...
分类:
Web程序 时间:
2015-05-12 20:55:04
阅读次数:
488
1、HOG特征: 方向梯度直方图(Histogram of Oriented Gradient, HOG)特征是一种在计算机视觉和图像处理中用来进行物体检測的特征描写叙述子。它通过计算和统计图像局部区域的梯度方向直方图来构成特征。Hog特征结合SVM分类器已经被广泛应用于图像识别中,尤其在行人检測中...
分类:
其他好文 时间:
2015-05-10 11:07:58
阅读次数:
186
Initialization of deep networks24 Feb 2015Gustav LarssonAs we all know, the solution to a non-convex optimization algorithm (like stochastic gradient ...
分类:
Web程序 时间:
2015-05-02 13:44:49
阅读次数:
167
Logistic Regression and Gradient DescentLogistic regression is an excellent tool to know for classification problems. Classification problems are prob...
分类:
其他好文 时间:
2015-05-02 13:40:13
阅读次数:
102
grandient 分为: linear-gradient 线性渐变,其共有三个参数,第一个参数表示线性渐变的方向,top是从上到下、left是从左到右,如果定义成left top,那就是从左上角到右下角。第二个和第三个参数分别是起点颜色和终点颜色。你还可以在它们之间插入更多的参数,表示多种颜色的....
分类:
Web程序 时间:
2015-04-25 22:31:18
阅读次数:
145
原文http://blog.csdn.net/zhazhiqiang/article/details/21047207一、理论1、HOG特征描述子的定义: locally normalised histogram of gradient orientation in dense overlappi....
分类:
其他好文 时间:
2015-04-25 13:38:14
阅读次数:
174
原创Blog,转载请注明出处
blog.csdn.net/hello_hwc前言:想要丰富之前写的一个库,用到了颜色渐变,于是就写了这个简单的库。效果
Github地址
https://github.com/wenchenhuang/WCGradientCircleLayer于是,基于这个新写的库,对之前写的下拉刷新库进行了更新
支持了view载入自动刷新,和渐变Item
Github地址...
分类:
移动开发 时间:
2015-04-24 19:13:57
阅读次数:
314
/*在给元素设置渐变色时,此时的颜色是作为背景图片来显示*/
#content{ /*针对FireFox浏览器*/ background-image: -moz-linear-gradient(top,#fff,#eee); background-image:-webkit-linear-gradi...
分类:
Web程序 时间:
2015-04-22 11:26:58
阅读次数:
156