#
public static void main(String[] args) throws IOException { try { WatchService watcher = FileSystems.getDefault().newWatchService(); Path watchedDir = Paths.get("C:\\Users\\Administrator\\workspace\\test"); WatchKey key = watchedDir.register(watcher, StandardWatchEventKinds.ENTRY_CREATE, StandardWatchEventKinds.ENTRY_DELETE,StandardWatchEventKinds.ENTRY_MODIFY); System.out.println("Watching "+ watchedDir); while(true) { key = watcher.take(); for(WatchEvent<?> event: key.pollEvents()) { WatchEvent.Kind<?> kind = event.kind(); WatchEvent<Path> ev = (WatchEvent<Path>)event; Path pathName = ev.context(); if(kind == StandardWatchEventKinds.ENTRY_MODIFY) System.out.println(pathName + " modified!"); else if(kind == StandardWatchEventKinds.ENTRY_DELETE) System.out.println(pathName+" deleted"); else { System.out.println(pathName + "created"); } } key.reset(); } } catch (InterruptedException e) { // TODO 自动生成的 catch 块
e.printStackTrace(); } }输出:Watching C:\Users\Administrator\workspace\test
test7.txt deleted
test8.txtcreated
test8.txt modified!
newFilecreated
newFile modified!
newFile modified!
newDircreated
newDir modified!
.newFile.swpcreated
.newFile.swp modified!
.newFile.swpxcreated
.newFile.swpx modified!
.newFile.swpx deleted
.newFile.swp deleted
.newFile.swpcreated
.newFile.swp modified!
.newFile.swp modified!
.newFile.swp modified!
newFile~created
newFile~ modified!
newFile~ modified!
newFile~ modified!
newFile~ modified!
newFile~ modified!
newFile modified!
newFile modified!
newFile~ deleted
.newFile.swp modified!
.newFile.swp deleted
newDir deleted
newFile deleted
test8.txt deleted
新建文件夹 deleted
摘要:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->package hw2;abstract class Book{ String title; Strin...
阅读全文
//test.cs
using System;
class Student: IComparable
{
string name;
int Grade;
bool Listen;
public Student(string n)
{
name = n;
Grade = 0;
Listen = false;
}
public void print()
{
Console.WriteLine(name);
}
public string getname()
{
return name;
}
#region
public int CompareTo(Student b)
{
return this.name.CompareTo(b.getname());
}
#endregion
static void Main(string[] args)
{
}
}
//prog.cs
class Program
{
static void Main(string[] args)
{
Student a = new Student ("aa");
Student b = new Student ("bb");
Swap(ref a, ref b);
a.print();
b.print();
}
static void Swap(ref Student a , ref Student b)
{
Student tem = a;
a = b;
b = tem;
Student[] stu = new Student[5];
stu[0] = new Student("bb");
stu[1] = new Student("aa");
stu[2] = new Student("dd");
stu[3] = new Student("cc");
stu[4] = new Student("ee");
foreach(Student s in stu)
s.print();
var stu2 = stu.Orderby(o=>o.name);
foreach(Student s in stu2)
s.print();
}
}
//public class Cmp : IComparer<Student>
//{
// int IComparer<Student>.Compare(Student a, Student b)
// {
// return a.getname()< b.getname();
// }
package testcase;
import static org.junit.Assert.*;
import org.junit.Test;
import demo.test;
public class mytest {
@Test
public void testAdd() {
assertEquals(5.0,test.add(2, 3), 0.0);
}
@Test
public void another() {
assertEquals(1.0,test.add(2, 3), 0.0);
}
}
package demo;
public class test {
public static int add(int a,int b)
{
return a+b;
}
}
准许我进入医业时:
我郑重地保证自己要奉献一切为人类服务。
我将要给我的师长应有的崇敬及感戴;
我将要凭我的良心和尊严从事医业;
病人的健康应为我的首要的顾念;
我将要尊重所寄托给我的秘密;
我将要尽我的力量维护医业的荣誉和高尚的传统;
我的同业应视为我的手足;
我将不容许有任何宗教,国籍,种族,政见或地位的考虑介于我的职责和病人间;
我将要尽可能地维护人的生命,自从受胎时起;
即使在威胁之下,我将不运用我的医学知识去违反人道。
我郑重地,自主地并且以我的人格宣誓以上的约定。
——世界医学协会一九四八年日内瓦大会采用
前段时间参与研究的视觉跟踪方法被Computer Vision and Image Understanding(CVIU)正式录用发表,几个月的工作总算有回报,感觉在视觉方面有了一定的进步!
I am pleased to inform you that your manuscript referenced above has been accepted for publication in Computer Vision and Image Understanding.
When your paper is published on ScienceDirect, you want to make sure it gets the attention it deserves. To help you get your message across, Elsevier has developed a new, free service called AudioSlides: brief, webcast-style presentations that are shown (publicly available) next to your published article. This format gives you the opportunity to explain your research in your own words and attract interest. You will receive an invitation email to create an AudioSlides presentation shortly. For more information and examples, please visit http://www.elsevier.com/audioslides.
Thank you for your contribution to Computer Vision and Image Understanding.
With kind regards,
J.-O. Eklundh
Area Editor
Computer Vision and Image Understanding
Reference:
Yanwen Guo, Ye Chen, Feng Tang, Ang Li, Weitao Luo, and Mingming Liu, Object Tracking Using Learned Feature Manifolds, Computer Vision and Image Understanging, 2013,DOI: 10.1016/j.cviu.2013.09.007 [
Link][
Webpage][Bibtex]
[Bibtex]:
@article{featuremanifold_cviu,
author = {Yanwen Guo, Ye Chen, Feng Tang, Ang Li, Weitao Luo, and Mingming Liu},
title = {Object Tracking Using Learned Feature Manifolds},
journal = {Computer Vision and Image Understanding},
volume = {},
number = {},
year = {2013},
pages = {-},
doi={10.1016/j.cviu.2013.09.
007},
}
我建立的论文主页如下:http://cs.nju.edu.cn/ywguo/tracking2013/result.html
摘要: 1Two Sum25arraysort setTwo Pointers2Add Two Numbers34linked listTwo Pointers Math3Longest Substring Without Repe...
阅读全文
摘要: 注:下面有project网站的大部分都有paper和相应的code。Code一般是C/C++或者Matlab代码。最近一次更新:2013-3-17一、特征提取Feature Extraction:· SIFT [1] [Demo program...
阅读全文
standard mean shift tracker(MS)CVPR-00
“Real-time tracking of non-rigid objects using mean shift”
mean shift tracker(MS)PAMI-03
“Kernel-based object tracking”
covariance tracker(CV)CVPR-06
“Covariance tracking using model update based on lie algebra”
appearance adaptive particle tracker(AAPF)TIP-04
“Visual Tracking and recognition using appearance-adaptive models in particle filters”
ensemble tracker(ES)CVPR-05
“Ensemble Tracking”
L1 tracker ICCV-09
“Robust Visual Tracking using L1 minimization”
visual tracker sampler(VTS)ICCV-11
“Tracking by sampling trackers”
MCMC-method PAMI-05
“MCMC-based particle filtering for tracking a variable number of interacting targets”
Incremental Visual Tracking(IVT)IJCV-08
“Incremental Learning for robust visual tracking”
Multiple Instance Learning(MIL)CVPR-09
“Visual tracking with online multiple instance learning”
Visual Tracking Decomposition(VTD)CVPR-10
“Visual Tracking Decomposition”
Frag tracking CVPR-06
“Robust fragments-based tracking using the integral histogram”
WSL tracker PAMI-03
“Robust online appearance models for visual tracking”
TLD tracker PAMI-12
“Tracking-Learning-Detection”
online boosting BMVC-06
“Real-time Tracking via On-line Boosting”
Semi-boost tracker ECCV-08
“Semi-Supervised On-line Boosting for Robust Tracking”
http://hi.baidu.com/windey1988/item/52e8dac8b644f9dc974452ef
经常会从网上复制网页到word留做备用,但是有时候会有底纹显得整个word文档很不美观。按一下方法可以很方便的去除背景颜色,而且不需要先复制到记事本在黏贴到word,省去更改字体和图片的麻烦。
1.选中"页面布局"标签,再选中要更改的文字
2.点击页面布局中的"页面边框"按钮
3.在"底纹和边框"对话框中选中底纹标签,在填充颜色中选中无颜色最后点击确定,即可
此文针对word2007风格及WPS.
转自:http://wenku.baidu.com/view/c72c87ec6294dd88d1d26b03.html
摘要: Participate in Reproducible ResearchDetectionPASCAL VOC 2009 datasetClassification/Detection Competitions, Segmentation Competition, Person Layou...
阅读全文