• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            The Fourth Dimension Space

            枯葉北風寒,忽然年以殘,念往昔,語默心酸。二十光陰無一物,韶光賤,寐難安; 不畏形影單,道途阻且慢,哪曲折,如渡飛湍。斬浪劈波酬壯志,同把酒,共言歡! -如夢令

            #

            JAVA File Watcher Service

            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

            posted @ 2014-09-17 22:36 abilitytao 閱讀(669) | 評論 (0)編輯 收藏

            JAVA學習筆記

                 摘要:   Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->package hw2;abstract class Book{  String title;  Strin...  閱讀全文

            posted @ 2014-09-16 18:22 abilitytao 閱讀(267) | 評論 (0)編輯 收藏

            自學筆記整理

            //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();
            // }
            //}

            #include<iostream>
            #include
            <cstdio>
            #include
            <cstdlib>
            #include
            <sstream>
            #include
            <string>
            #include
            <sys/types.h>
            #include
            <sys/wait.h>
                                                            
            using namespace std;

            const int MAXN = 1000;
            char hostname[MAXN];
            char pathname[MAXN];
            string cmline;
            string cm1;
            string cm2;
            int main()
            {
                cout
            <<"------------------strat of SHELL program---------------------"<<endl;
                

                
            while(true)    
                
            {
                    istringstream scin(cmline);
                    gethostname(hostname,MAXN);
                    getcwd(pathname,MAXN);
                    printf(
            "%s %s $ ",hostname,pathname);
                    
            int status;
                    getline(cin,cmline);
                    scin
            >>cm1;
                    getline(scin,cm2);
                    cout
            <<cmline<<endl;
                    cout
            <<cm1<<endl;
                    cout
            <<cm2<<endl;
                    
            if(cm1=="cd")
                    
            {
                        system(cmline.c_str());
                        cout
            <<cmline<<endl;
                        
            continue;
                    }

                    
            if(fork()!=0)
                    
            {
                        waitpid(
            -1,&status,0);    
                    }

                    
            else
                    
            {

                
            //        cout<<cm1<<endl;
                
            //        cout<<cm2<<endl;
                
            //        system("ls -l");
                        system((cmline).c_str());
                    }

                }


                cout
            <<"-------------------end of SHELL program----------------------"<<endl;
                
            return 0;

            }


            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;
                }
                    
                
            }

            posted @ 2014-09-02 23:27 abilitytao 閱讀(230) | 評論 (0)編輯 收藏

            醫生誓言

            準許我進入醫業時:
            我鄭重地保證自己要奉獻一切為人類服務。
            我將要給我的師長應有的崇敬及感戴;
            我將要憑我的良心和尊嚴從事醫業;
            病人的健康應為我的首要的顧念;
            我將要尊重所寄托給我的秘密;
            我將要盡我的力量維護醫業的榮譽和高尚的傳統;
            我的同業應視為我的手足;
            我將不容許有任何宗教,國籍,種族,政見或地位的考慮介于我的職責和病人間;
            我將要盡可能地維護人的生命,自從受胎時起;
            即使在威脅之下,我將不運用我的醫學知識去違反人道。
            我鄭重地,自主地并且以我的人格宣誓以上的約定。
                                                                                 ——世界醫學協會一九四八年日內瓦大會采用

            posted @ 2013-11-28 13:58 abilitytao 閱讀(271) | 評論 (0)編輯 收藏

            國際期刊論文Object Tracking Using Learned Feature Manifolds, CVIU 2013 獲正式發表

            前段時間參與研究的視覺跟蹤方法被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

            posted @ 2013-10-16 15:43 abilitytao 閱讀(694) | 評論 (0)編輯 收藏

            leetcode難度及面試頻率(轉)

                 摘要:       1Two Sum25arraysort    setTwo Pointers2Add Two Numbers34linked listTwo Pointers     Math3Longest Substring Without Repe...  閱讀全文

            posted @ 2013-09-16 22:18 abilitytao 閱讀(9815) | 評論 (0)編輯 收藏

            計算機視覺、機器學習相關領域論文和源代碼大集合(轉)

                 摘要: 注:下面有project網站的大部分都有paper和相應的code。Code一般是C/C++或者Matlab代碼。最近一次更新:2013-3-17一、特征提取Feature Extraction:·         SIFT [1] [Demo program...  閱讀全文

            posted @ 2013-04-25 19:30 abilitytao 閱讀(2142) | 評論 (0)編輯 收藏

            流行的視覺跟蹤方法(轉)

            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

            posted @ 2013-04-20 17:26 abilitytao 閱讀(593) | 評論 (0)編輯 收藏

            復制網頁到word去除背景顏色

            經常會從網上復制網頁到word留做備用,但是有時候會有底紋顯得整個word文檔很不美觀。按一下方法可以很方便的去除背景顏色,而且不需要先復制到記事本在黏貼到word,省去更改字體和圖片的麻煩。
            1.選中"頁面布局"標簽,再選中要更改的文字
            2.點擊頁面布局中的"頁面邊框"按鈕
            3.在"底紋和邊框"對話框中選中底紋標簽,在填充顏色中選中無顏色最后點擊確定,即可
            此文針對word2007風格及WPS.

            轉自:
            http://wenku.baidu.com/view/c72c87ec6294dd88d1d26b03.html

            posted @ 2013-02-25 11:04 abilitytao 閱讀(615) | 評論 (0)編輯 收藏

            CV Datasets on the web

                 摘要: Participate in Reproducible ResearchDetectionPASCAL VOC 2009 datasetClassification/Detection Competitions, Segmentation Competition, Person Layou...  閱讀全文

            posted @ 2013-02-25 10:38 abilitytao 閱讀(1469) | 評論 (0)編輯 收藏

            僅列出標題
            共42頁: 1 2 3 4 5 6 7 8 9 Last 
            久久综合伊人77777麻豆| 亚洲va久久久噜噜噜久久男同 | 99国内精品久久久久久久| 久久精品毛片免费观看| a高清免费毛片久久| 久久99亚洲综合精品首页| 久久久久久久久66精品片| 99久久综合国产精品免费| 久久精品国产亚洲av高清漫画 | 久久人人爽人爽人人爽av | 久久久久无码精品国产不卡| 久久99国产综合精品| 99久久婷婷国产综合精品草原| 久久久久久国产精品无码下载 | 亚洲国产精品18久久久久久| 精品午夜久久福利大片| 亚洲精品97久久中文字幕无码 | 亚洲αv久久久噜噜噜噜噜| 国产精品九九久久免费视频 | 欧美亚洲日本久久精品| 人人狠狠综合久久88成人| 国产精品久久久久一区二区三区| 香蕉久久影院| 久久精品视频免费| 亚洲AV乱码久久精品蜜桃| 久久影视国产亚洲| 一级做a爱片久久毛片| 日本强好片久久久久久AAA| 思思久久99热只有频精品66| 国产—久久香蕉国产线看观看| 久久夜色精品国产噜噜麻豆| 久久婷婷人人澡人人| 青青青国产成人久久111网站| 一本久久知道综合久久| 欧美精品丝袜久久久中文字幕| 国产日产久久高清欧美一区| 奇米影视7777久久精品| 亚洲午夜久久久久妓女影院| 久久久久亚洲AV无码观看| 麻豆久久久9性大片| 日韩精品无码久久一区二区三|