/*
功能:实现对眼睛、脸部的跟踪。
版本:1.0
时间:2014-4-27
*/
#include
#include
#include
#include
#include
#include
using namespace std;
using namespace cv;
void detectEyeAndFace( Mat frame );
//将下面两个文件复制到当前工...
分类:
其他好文 时间:
2014-04-27 20:40:47
阅读次数:
659
ubuntu下安装tomcat 问题解决方法
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/catalina/startup/Bootstrap : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)...
分类:
其他好文 时间:
2014-04-27 20:39:23
阅读次数:
595
以CAN转UART(串口)为例。
功能简介:
当主程序收到CAN口的数据后;根据按键的不同来选择是使用CAN口发送,还是使用UART口发送。
一、图片
时序图
协作图
二、下载
can2uart.mdl...
对人脸进行检测#include "opencv2/core/core.hpp"
#include "opencv2/objdetect/objdetect.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include
#include
using names...
分类:
其他好文 时间:
2014-04-27 20:26:15
阅读次数:
596
这是一篇分享技巧的文章:使用myeclipse关联帮助文档
① 选中spring.jar
② 鼠标右击,选择properties,弹出框中选择Javadoc Location,找到对应的文档位置,OK
③ 选择spring.jar中的类
④ 按住F1,弹出一个help框,选择Java help:Javadoc for ‘xxx’...
分类:
编程语言 时间:
2014-04-27 20:13:34
阅读次数:
569
单例模式建议保证某个对象仅仅只有一个实例,当只有一个对象来协调整个系统的操作时,在计算机系统中,线程池、缓存、日志对象、对话框、打印机、显卡的驱动程序对象常被设计成单例,总之,选择单例模式就是为了避免不一致状态,避免政出多头。
下面是单例模式的类图:包括的private和static修饰的实例instance、一个private的构造函数、一个static的getInstance函数
...
分类:
编程语言 时间:
2014-04-27 20:10:52
阅读次数:
645
Logging.c:
/*
Copyright (c) 2008-2012 Red Hat, Inc.
This file is part of GlusterFS.
This file is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any...
分类:
其他好文 时间:
2014-04-27 18:57:31
阅读次数:
702
Android-自定义Notification...
分类:
移动开发 时间:
2014-04-27 18:50:50
阅读次数:
747
1、监控目标
当系统可能或处于亚健康状态时及时提醒,预防故障发生报警提示
2、监控内容
2.1 机器监控
Kafka服务器指标
CPU LoadDisk IOMemory
2.2 JVM监控
主要监控JAVA的 GC time(垃圾回收时间),JAVA的垃圾回收机制对性能的影响比较明显
2.3 Kafka系统监控
1、Kafka总体监控
zookeeper上/kaf...
分类:
其他好文 时间:
2014-04-27 18:10:15
阅读次数:
582
这是一篇分享技巧的文章:myeclipse中配置spring xml自动提示。
① window -> preferences -> MyEclipse -> Files and Editors -> XML -> XML Catalog
② 选择User Specified Entries,点击add按钮弹出一个选框,填入以下三项
i. Location: D:\baidu...
分类:
编程语言 时间:
2014-04-27 17:49:51
阅读次数:
667