• <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)寒,忽然年以殘,念往昔,語(yǔ)默心酸。二十光陰無(wú)一物,韶光賤,寐難安; 不畏形影單,道途阻且慢,哪曲折,如渡飛湍。斬浪劈波酬壯志,同把酒,共言歡! -如夢(mè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 自動(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

            posted @ 2014-09-17 22:36 abilitytao 閱讀(664) | 評(píng)論 (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 閱讀(262) | 評(píng)論 (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 閱讀(226) | 評(píng)論 (0)編輯 收藏

            醫(yī)生誓言

            準(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ì)采用

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

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

            前段時(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

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

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

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

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

            計(jì)算機(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 閱讀(2134) | 評(píng)論 (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 閱讀(591) | 評(píng)論 (0)編輯 收藏

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

            經(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

            posted @ 2013-02-25 11:04 abilitytao 閱讀(613) | 評(píng)論 (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 閱讀(1466) | 評(píng)論 (0)編輯 收藏

            僅列出標(biāo)題
            共42頁(yè): 1 2 3 4 5 6 7 8 9 Last 
            精品久久久久久国产91| 国产精品久久久久久久久久免费| 色综合久久中文字幕综合网| 久久夜色撩人精品国产小说| 久久综合色老色| 国产成人精品久久二区二区| 久久精品国产99国产精品| 区久久AAA片69亚洲| 97久久精品国产精品青草| 日本精品久久久久中文字幕8| 久久无码国产| 久久精品无码一区二区三区| 尹人香蕉久久99天天拍| 国内精品久久久久久99蜜桃| 人人狠狠综合久久亚洲| 久久久久人妻精品一区二区三区| 国内精品免费久久影院| 99999久久久久久亚洲| 欧美久久亚洲精品| 久久久综合九色合综国产| 午夜欧美精品久久久久久久| 久久精品这里只有精99品| 久久精品9988| 成人妇女免费播放久久久| 亚洲精品国产美女久久久| 久久人人爽人人爽人人片av麻烦| 香蕉久久一区二区不卡无毒影院 | 国产一级持黄大片99久久| 亚洲精品视频久久久| 国产成人精品综合久久久| 久久婷婷五月综合色奶水99啪| 伊人色综合九久久天天蜜桃| 久久亚洲2019中文字幕| 久久精品亚洲男人的天堂| 久久久WWW成人| 日韩AV毛片精品久久久| 国产福利电影一区二区三区,免费久久久久久久精 | 久久久久四虎国产精品| 国产精品福利一区二区久久| 午夜精品久久久久久毛片| 久久综合香蕉国产蜜臀AV|