#
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 自動(dòng)生成的 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;
}
}
準(zhǔn)許我進(jìn)入醫(yī)業(yè)時(shí):
我鄭重地保證自己要奉獻(xiàn)一切為人類服務(wù)。
我將要給我的師長(zhǎng)應(yīng)有的崇敬及感戴;
我將要憑我的良心和尊嚴(yán)從事醫(yī)業(yè);
病人的健康應(yīng)為我的首要的顧念;
我將要尊重所寄托給我的秘密;
我將要盡我的力量維護(hù)醫(yī)業(yè)的榮譽(yù)和高尚的傳統(tǒng);
我的同業(yè)應(yīng)視為我的手足;
我將不容許有任何宗教,國(guó)籍,種族,政見或地位的考慮介于我的職責(zé)和病人間;
我將要盡可能地維護(hù)人的生命,自從受胎時(shí)起;
即使在威脅之下,我將不運(yùn)用我的醫(yī)學(xué)知識(shí)去違反人道。
我鄭重地,自主地并且以我的人格宣誓以上的約定。
——世界醫(yī)學(xué)協(xié)會(huì)一九四八年日內(nèi)瓦大會(huì)采用
前段時(shí)間參與研究的視覺跟蹤方法被Computer Vision and Image Understanding(CVIU)正式錄用發(fā)表,幾個(gè)月的工作總算有回報(bào),感覺在視覺方面有了一定的進(jìn)步!
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},
}
我建立的論文主頁(yè)如下:http://cs.nju.edu.cn/ywguo/tracking2013/result.html
摘要: 1Two Sum25arraysort setTwo Pointers2Add Two Numbers34linked listTwo Pointers Math3Longest Substring Without Repe...
閱讀全文
摘要: 注:下面有project網(wǎng)站的大部分都有paper和相應(yīng)的code。Code一般是C/C++或者M(jìn)atlab代碼。最近一次更新: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
經(jīng)常會(huì)從網(wǎng)上復(fù)制網(wǎng)頁(yè)到word留做備用,但是有時(shí)候會(huì)有底紋顯得整個(gè)word文檔很不美觀。按一下方法可以很方便的去除背景顏色,而且不需要先復(fù)制到記事本在黏貼到word,省去更改字體和圖片的麻煩。
1.選中"頁(yè)面布局"標(biāo)簽,再選中要更改的文字
2.點(diǎn)擊頁(yè)面布局中的"頁(yè)面邊框"按鈕
3.在"底紋和邊框"對(duì)話框中選中底紋標(biāo)簽,在填充顏色中選中無(wú)顏色最后點(diǎn)擊確定,即可
此文針對(duì)word2007風(fēng)格及WPS.
轉(zhuǎn)自:http://wenku.baidu.com/view/c72c87ec6294dd88d1d26b03.html
摘要: Participate in Reproducible ResearchDetectionPASCAL VOC 2009 datasetClassification/Detection Competitions, Segmentation Competition, Person Layou...
閱讀全文