• <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

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

            #

            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 閱讀(672) | 評論 (0)編輯 收藏

            JAVA學(xué)習(xí)筆記

                 摘要:   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 閱讀(268) | 評論 (0)編輯 收藏

            自學(xué)筆記整理

            //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)編輯 收藏

            醫(yī)生誓言

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

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

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

            前段時間參與研究的視覺跟蹤方法被Computer Vision and Image Understanding(CVIU)正式錄用發(fā)表,幾個月的工作總算有回報,感覺在視覺方面有了一定的進(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},
            }

            我建立的論文主頁如下:http://cs.nju.edu.cn/ywguo/tracking2013/result.html

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

            leetcode難度及面試頻率(轉(zhuǎn))

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

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

            計算機(jī)視覺、機(jī)器學(xué)習(xí)相關(guān)領(lǐng)域論文和源代碼大集合(轉(zhuǎn))

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

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

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

            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)編輯 收藏

            復(fù)制網(wǎng)頁到word去除背景顏色

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

            轉(zhuǎn)自:
            http://wenku.baidu.com/view/c72c87ec6294dd88d1d26b03.html

            posted @ 2013-02-25 11:04 abilitytao 閱讀(618) | 評論 (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)編輯 收藏

            僅列出標(biāo)題
            共42頁: 1 2 3 4 5 6 7 8 9 Last 
            老色鬼久久亚洲AV综合| 精品久久人人爽天天玩人人妻| 99国内精品久久久久久久| 国产精品久久亚洲不卡动漫| 精品久久久久久无码中文字幕一区 | 久久久噜噜噜久久熟女AA片| 精品久久一区二区三区| 三级韩国一区久久二区综合| 亚洲午夜久久久久久久久久| 大美女久久久久久j久久| 色老头网站久久网| 色综合久久综精品| 人妻少妇久久中文字幕一区二区| 国产成人精品久久免费动漫| 久久综合九色综合久99| 成人国内精品久久久久一区| 久久无码AV中文出轨人妻| 熟妇人妻久久中文字幕| 亚洲国产精品无码久久久秋霞2| 日韩欧美亚洲综合久久影院d3| 99久久这里只精品国产免费| 亚洲美日韩Av中文字幕无码久久久妻妇| 亚洲人成精品久久久久| 国产三级精品久久| 国内精品久久久久影院一蜜桃| 狠狠色丁香久久婷婷综合蜜芽五月| 国产99精品久久| 久久99精品久久久久久动态图 | 久久久国产99久久国产一| 一级做a爰片久久毛片人呢| 国产精品久久久久久久久| 亚洲va久久久噜噜噜久久男同 | 亚洲午夜久久影院| 99久久婷婷国产综合亚洲| 少妇精品久久久一区二区三区| 要久久爱在线免费观看| 偷窥少妇久久久久久久久| 久久九九全国免费| 亚洲精品高清国产一久久| 国产精品一区二区久久精品无码 | 新狼窝色AV性久久久久久|