SlideShare a Scribd company logo
1 of 143
Download to read offline
Senior Project

                                               ก
                                        F     ก
                     ก   F




                       51B22
  ก ก               ก F Fก         ก
 ก ก                ก                       F
  The Study of Motion Detection and Its Application
         A Case Study of Security Webcam




       484 20547 26                 ก


       F       ก                                   ก     ก
. .        F                                  .              F
                                        . .        F F

                   ก     ก    2551
Senior Project

                                               ก
                                        F     ก
                     ก   F




                       51B22
  ก ก               ก F Fก         ก
 ก ก                ก                       F
  The Study of Motion Detection and Its Application
         A Case Study of Security Webcam




       484 20547 26                 ก


       F       ก                                   ก     ก
. .        F                                  .              F
                                        . .        F F

                   ก     ก    2551
F                                                                                                                                                                            ก
=========================================================================================================================================================================================



                                                                                                                                                                                         F

                                                                                                       ก                            Fก ก           Fก         F              F
            F         ก                                             F                                                   F              F                          Fก
                           F         F                     Fก                    F       ก ก                                                  ก                             ก
                                         F ก                    F                                              ก F                       ก                                  ก
      ก                                    F                                         F      ก
                               ก F                         F ก                                                              ก ก
ก                      ก                               F                   F                        ก                        ก ก
           ก F                                     ก
                                                  F ก ก       ก             ก                                                   F            ก                         ก
                       F                 C# Microsoft Visual Studio                                                             F ก                                              ก
      ก                                  F               ก ก            ก ก                                                                                  F F
                                              F            ก        F         ก                                             F                  F         F                           F
  F                             F            ก ก                             ก                                                                       ก                       F F
                     F F                     F F ก      ก F F F                                                                   ก      F                                    F
      ก                                  Fก F       ก ก     ก         ก F F                                                      SMTP F
      F E-mail                             F         ก F      E-mail Address F                                                  ก F     ก F




=========================================================================================================================================================================================


                                                                                                                                                                            51B22
ก ก                        ก
========================================================================================================================================================================================



                                                                                                                                         ก ก                                      ก
                     ก                                      . .              F                               F                   F       ก                            F               F
             F                    F                 ก                                    ก                                                                ก
                          FF
                     ก                                        .                      F                       . .               F F
                 ก         ก            ก                                                        FF                        F         F                                                        F
      ก
                    ก                                                    F                                                                       F        ก
                  F ก F                         F                                                F F
                    ก                                             F              F           F           ก             F             ก                        ก
      ก          ก      ก
                                                Mikail Cetinkaya                                         F         ก
                                                 #36         #37 F                                   #39 F ก F #40                           F                F#41            F
                                 Fก                                                                      F       F                                                        F               F

                                                        F                    F F                 F                                                                   ก F Stat
  F       38                                F                                                                                                        Fก




=========================================================================================================================================================================================


                                                                                                                                                                                  51B22
=========================================================================================================================================================================================




                                                                                                                                                                                      F
              F                                                                                                                                                                ก
ก ก                        ก




          1
                  1.1                                                         ก                                                                                                1
                  1.2                             F                                                                                                                            2
                  1.3                             ก        ก                                                                                                                   2
                  1.4 ก               ก                                                                                                                                        2
                  1.5                     F            F           F                                                                                                           2
                  1.6                         F                                                                                                                                3
          2                   ก          ก                         F ก ก
            2.1 ก            ก              (Motion Detection)                                                                                                                 4
            2.2 ก F            (Webcam)                                                                                                                                        5
            2.3 Microsoft Visual Studio                                                                                                                                        7
            2.4 .NET Framework                                                                                                                                                 10
            2.5        C#                                                                                                                                                      11
            2.6        Visual Basic .NET                                                                                                                                       12
            2.7 AForge.NET Framework                                                                                                                                           13
            2.8 Internet Information Services (IIS)                                                                                                                            17
            2.9 Simple Mail Transfer Protocol (SMTP)                                                                                                                           21
          3      ก              F (Open Source)           ก         F
            3.1         F ก            ก                                                                                                                                       22
            3.2        ก Open Source Andrew Kirillov                                                                                                                           23
            3.3       F Source Code ก ก               5 Andrew Kirillov                                                                                                        35
            3.4 F ก             ก      ก            ก          Andrew Kirillov                                                                                                 49
            3.5        ก Open Source Boss Watcher Mikail Cetinkaya                                                                                                             50


========================================================================================================================================================================================


                                                                                                                                                                            51B22
=========================================================================================================================================================================================


          4                                                 ก                                    F
               4.1                                                             ก                Mikail Cetinkaya                                                               51
               4.2                             ก   F ก                                               F                                                                         52
               4.3                 F Source Code ก                                                         ก                                                          F
                               F                                                                                                                                               65
               4.4 F               ก                                                 ก                                     F                            F                      83
          5                                           F
               5.1                                                                                                                                                             84
               5.2                                ก         ก                                                                                                                  85
               5.3 F                                                                                                                                                           85

                ก                                                                                                                                                              87
                ก                                                                                                                                                              89




========================================================================================================================================================================================


                                                                                                                                                                            51B22
========================================================================================================================================================================================




          2
                                                                                                                                                                                     F
2-1:                                                               F                         F F Fก                                                                            6
2-2:                                                 ก         ก             Microsoft Visual Studio 2005                                                                      7
2-3:                                                 2         ก             Microsoft Visual Studio 2005                                                                      8
2-4:                                                 3         ก             Microsoft Visual Studio 2005                                                                      8
2-5:                                                 4         ก             Microsoft Visual Studio 2005                                                                      9
2-6:                                                 5         ก             Microsoft Visual Studio 2005                                                                      9
2-7:                                                     F             ก        Microsoft Visual Studio 2005                                                                   10
2-8:                                                 ก ก                     AForge.NET Framework                                                                              13
2-9:                                                 2 ก                     AForge.NET Framework                                                                              14
2-10:                                                 3 ก                     AForge.NET Framework                                                                             14
2-11:                                                 4 ก                     AForge.NET Framework                                                                             15
2-12:                                                 5 ก                     AForge.NET Framework                                                                             15
2-13:                                                 6 ก                     AForge.NET Framework                                                                             16
2-14:                                                 7 ก                     AForge.NET Framework                                                                             16
2-15:                                                 8 ก                     AForge.NET Framework                                                                             17
2-16:                                                 ก ก                     Internet Information Services (IIS)                                                              18
2-17:                                                 2 ก                     Internet Information Services (IIS)                                                              18
2-18:                                                 2 ก                     Internet Information Services (IIS)                                                              19
2-19:                                                 3 ก                     Internet Information Services (IIS)                                                              19
2-20:                                                 4 ก                     Internet Information Services (IIS)                                                              20
2-21:                                                  F  ก                      Internet Information Services (IIS)                                                           20

          3
                                                                                                                                                                                         F
3-1:                       ก            F                      ก         Andrew Kirillov                                                                                       23
3-2:                             ก           F               Filter Difference                                                                                                 24
3-3:                             ก           F               Filter Threshold                                                                                                  25
3-4:                             ก               F           MotionDetector1                                                                                                   25

========================================================================================================================================================================================


                                                                                                                                                                            51B22
========================================================================================================================================================================================


3-5:                           ก F                                  MotionDetector2                                                                                            27
3-6:                           ก F                                  MotionDetector3                                                                                            27
3-7:                           ก F                                  MotionDetector4                                                                                            28
3-8:                           F ก                                F          ก      Andrew Kirillov                                                                            30
3-9:                             F                                    File                                                                                                     31
3-10:                         ก F                                    Open JPEG URL                                                                                             31
3-11:                         ก F                                    Open MJPEG URL                                                                                            32
3-12:                         ก F                                    Open Local Device                                                                                         32
3-13:                              F                                    Motion                                                                                                 33
3-14:                                F                                  Help                                                                                                   34
3-15:                         ก F                                    About                                                                                                     34
3-16:                         ก F                                     ก        Mikail Cetinkaya                                                                                50

          4
                                                                                                                                                                                     F
4-1:                       ก                  F                                 ก ก                                                       F                 F 52
4-2:                              F                                 ก       F         F                                                                       53
4-3:                                      F                         File                                                                                      54
4-4:                       ก                      F               Open Local Device                                                                           55
4-5:                       ก                      F               Saving Video Settings                                                                       55
4-6:                              F                       ก       ก Path             ก F                                                                      56
4-7:                              F                               ก ก                     ก F E-mail                                                          56
4-8:                              F                                  ก               ก         F      ก                                           F           57
4-9:                                      F                         Motion                                                                                    57
4-10:                                 F                       ก    ก        ก              ก                                                        F         58
4-11:                                 F                       ก    ก        ก                                                                                 59
4-12:                                                 F              Help                                                                                     60
4-13:                         ก                           F        About                                                                                      60
4-14:                                 ก F                         Pixel Mode                                                                                  61
4-15:                                 ก F                         Object Mode                                                                                 62
4-16:                                 F ก                              F F              F Filter Threshold                                      Pixel Mode 62
4-17:                                  F ก                              F F              F Filter Threshold                                     Object Mode 62
========================================================================================================================================================================================


                                                                                                                                                                            51B22
========================================================================================================================================================================================


4-18:                         ก                                     ก                        ก             F                                                                   63
4-19:                         ก                                     ก                      F ก                 ก          F                                                    63
4-20:                         ก                                     ก                                                                                                          64




========================================================================================================================================================================================


                                                                                                                                                                            51B22
1                                                                                                                                                                                                                      1
========================================================================================================================================================================================



                                                                                                                                                                                                                                  1

               1.1                                                                                    ก
                                                                             ก                                 F ก              ก         F                ก
          ก กF                                ก                          ก ก ก                                                                    Fก               ก
     F                            ก                     ก                 ก                                                                   F                                 ก                                F
                                                                                                               F                                           ก               FF
                      F                           F                     F ก                                            ก                               ก                                    F                                 F
                                          ก                         F         F                   F F                                ก                       ก F                                                 F Fก ก
  ก F                                                  กF                                           F F                                            F       ก   F                                     Fก
                              F                   Fก            F
                                   ก                                                              ก                                                                F                                             ก
ก F                               ก                    ก F                                                ก ก
           ก ก                                                                                    ก                        F        ก                                                   F
         Fก    ก F                                                  F ก                                     ก                        ก                                 F
                                      ก ก                                                                 ก     F                             ก            กF
                 ก                                                  ก                     F                F ก ก                               ก                                F               FF                    F
                                  ก F
                                                                                                                   ก                ก                  ก
                                                  ก ก                                                                                                          ก                                     ก
                          F                                                                   F            F                    ก F                                                 F                        F            F
                      ก F                                                 F                       ก F                          FF   ก                                      F                             F           ก ก
           ก                                  ก                                       ก                                                                        F               F กก                          ก
                                      F                     F             ก                                        F
                  F                                                               F                   F                                                     FF F                                ก F
                                          F ก                                                                          F       ก        F ก                ก                                     ก
     F ก




========================================================================================================================================================================================


                                                                                                                                                                                                                     51B22
1                                                                                                                                                                          2
========================================================================================================================================================================================


               1.2                                F
                       •                        ก     กก                                                       ก                   ก
                       •                        ก        F                                                 ก               ก
                                                ก F F F
                       •                                                                                   ก ก                                         F           ก
                                                                                                      ก

               1.3                               ก                            ก
                       •   กก                                                                         ก            ก
                       •             ก                                                                                 ก                   ก
                       • ก      ก F                                                                                        ก                   ก
                             ก F F F

               1.4 ก ก
                  • ก ก   ก            F   ก                                                                                   F
                  • ก ก   ก Open Source ก                                                                                          F               F
                  •     ก F ก ก          ก

               1.5                          F                             F                       F
                                    F
                       •                                  F                           F               กก               ก
                       •                              F                           F                   กก               ก               ก       F             F F           ก F

                       •                              F                           F                   กก                           ก               ก
                       •                                                                                       ก ก                                         F F         F

                                F                             F
                       •                F                                                     ก                F       กก                                    ก
                                                                              F
                       •                                          F                       F           ก                                    ก ก
                                                                      F

========================================================================================================================================================================================


                                                                                                                                                                            51B22
1                                                                                                                                                                          3
========================================================================================================================================================================================


               1.6                         F
                       • ก                             ก                          (Motion Detection) ก ก                                          F ก
                                                                     F                       ก                    ก
                                                    F ก                                                              ก                             F ก F
                                กก                         F                               กก F
                       •       ก                             ก                   (Object Oriented Programming)
                               ก                             ก                          F F                       ก
                                      ก ก                                                ก F ก ก                                    F
                                                                 F F                  F       F                     ก F                     F           F
                               (http://th.wikipedia.org/wiki/ก                                              ก                   )
                       •       ก F                           (Webcam)                    ก F                                                          Fก
                                                       F                    F                     F
                       •             ก             (Algorithm)                           ก               ก กF                                   F         F
                                                         ก ก กF                                                        F
                                                              F                 F F F                        F F (http://th.wikipedia.org/wiki/
                                                   )
                       •       Simple Mail Transfer Protocol (SMTP)                                                                        F E-mail
                                         F                      F (http://th.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol)
                       •                             F                              F (Open source) ก
                                       F                               F F                   F F                F         F F F                             F
                                 F               ก                                         F                             F F ก
                                   F            F F                                             F                     ก                              ก F
                                              ก          F                                                                  F F
                               ก                                              F                                                         ก (            )
                                                                 กF                F F                Fก F (               )          F
                               (http://th.wikipedia.org/wiki/                                       F )
                       •                   F F                           F (open source software - OSS)                                   F F
                                     กก                           F                                                F F            F                    ก F F
                                            F                              ก               ก             F F F ก กF                                           F
                                         ก F                        ( F F ) F                          F                     F ก              ก
                               (http://th.wikipedia.org/wiki/                                        F )

========================================================================================================================================================================================


                                                                                                                                                                            51B22
2                                    ก                      ก                                                                F ก             ก                             4
=========================================================================================================================================================================================



                                                                                                                                                                                    2
                                               ก                            ก                                                                              F ก                ก

                                                ก F                                  ก กF       ก                                                 ก
                            F ก             ก                                     F ก         F F
               2.1 ก                         ก                             (Motion Detection)
               2.2 ก F            (Webcam)
               2.3 Microsoft Visual Studio
               2.4 .NET Framework
               2.5       C#
               2.6       Visual Basic .NET
               2.7 AForge.NET Framework
               2.8 Internet Information Services (IIS)
               2.9 Simple Mail Transfer Protocol (SMTP)

               2.1 ก                          ก                              (Motion Detection)
               ก                   ก                                          ก ก           F ก                                                              F
               ก                   ก                                                         F ก
ก                                F ก Fกก                                   F                   กก F

                   F ก Fกก
           ก F ก ก            ก F                                                                                            F ก ก                         ก
           ก F กก                     ก                                                              ก              F ก Fกก
                 F กก       F           F                                                         ก ก F       F    ก ก F       F
     F ก                  FF ก กF FF                                                            ก           ก             F ก ก
        F ก กก          ก                                                                            F F F      Fก      ก        FF
    F ก        F      ก           ก ก                                                            F F       ก กก       F    F ก
      ก          ก             ก ก F                                                        F




========================================================================================================================================================================================


                                                                                                                                                                            51B22
2                                ก                      ก                                                                  F ก                             ก                                     5
=========================================================================================================================================================================================


                                 F ก F                               ก
                  ก                 ก                                F           ก F                           ก                    Fก                       F                                        F F
     ก                            F                                                F                F          ก F              F ก                                               ก
                                                              ก                                                                   ก                                                                    F
                               ก F                            F                                         ก              F F                           F
     ก F                      ก                                       ก           F ก F                                         ก                                                                 ก
                                             F F                                     F                                    ก                                          F
          F         ก F                    F                  F Fก F
            ก            F F              ก              ก                         ก                                                             Fก F ก ก
                            ก         ก                F             F                F                                                      ก
      F           ก F ก              F ก                  F                ก F ก                                                             ก                           FF           F ก
            ก            FF ก ก                                        ก F ก ก                                                                                   F
  F        F ก                      ก         F ก                             F                                                                                               F               F
    ก F                   Fก            ก                                         F F                                                                                                             ก
              ก ก                 F                            กก                  F                                                     Fก ก F                                       F
     F ก                                ก FกF                     F ก                                                                      ก
ก               F    F                ก                             ก                ก
        ก Fก F                                 F                                F                                                        F                               ก                            ก
                              F                    F F ก                                                                                                 F                 F                      F
        F F F                                    F   F                   F                                                                       F                       F ก
         F        ก
               F ก Fก                   ก                   F                                                                                F F กF
        • ก Fก F ก                                                           ก                                                                                            F
        • ก            F                 ก F F                  F                       F                                                                                     F F ก F
             Boostlife          F
        • ก F ก F                                   FF ก                     ก                                                                                                    ก

                  2.2 ก F                   (Webcam)
                  ก F                         ก F                                                                   Fก                                                                    F
              F                         F F    F ก Fก      F F                                            F USB ก                                                             F ก                          F
                       Fก                     Fก      F Wi-Fi                                           Ethernet F ก F                                                          ก                              F


========================================================================================================================================================================================


                                                                                                                                                                                                      51B22
2                                    ก                      ก                                                                F ก             ก                             6
=========================================================================================================================================================================================


     ก                        ก
                              F                        F          F F ก             F
(Videoconferencing) ก Fก F                     ก ก                             F
             F ก F ก F                            F กF
       • ก                                 F ก F F              F           ก              ก
                    F    F                  F
       •                ก                 F F ก                          F    F F F
                       F ก           F          F                   F            ก
       • ก กF F                               F F                   กF F               ก
                                   ก                     กF           F               ก ก ก
                 F                                       กF F
       •                ก       Play Station 2 F                        EyeToy ก XBox 360
                           XBox Live Vision                        F Fก        ก ก
               F F (http://th.wikipedia.org/wiki/Webcam)
              F ก F                    Fก                  F กF ก F                      F
                   F F Fก           2-1




                                             2-1:                                       F                                                               F F Fก
                                                               (http://th.wikipedia.org/wiki/Webcam)


========================================================================================================================================================================================


                                                                                                                                                                            51B22
2                                    ก                      ก                                                                F ก             ก                             7
=========================================================================================================================================================================================


       2.3 Microsoft Visual Studio
       Microsoft Visual Studio Integrated Development Environment
Microsoft                   F ก            F F           ก                F        F
                          F             ก             Microsoft Windows, Pocket PC,
Smartphone               F F           Visual Studio            F           ก
     .NET         ก          ก F VB.NET C++ C# J#       F (http://th.wikipedia.org/wiki/
            F             )

                              ก ก Microsoft Visual Studio 2005
               1)       ก ก Installer F      ก F               F ก ก Install Visual
                  Studio 2005      2-2




                               2-2:                                            ก          ก                  Microsoft Visual Studio 2005




========================================================================================================================================================================================


                                                                                                                                                                            51B22
2                                    ก                      ก                                                                F ก             ก                              8
=========================================================================================================================================================================================


               2)                   ก                 ก F                  ก           F                           ก Next                                           F
                                    2-3




                               2-3:                                            2           ก                 Microsoft Visual Studio 2005

               3)        ก Checkbox F F                                              I accept the terms of License Agreement                                              F       ก
                       Next      2-4




                               2-4:                                            3           ก                 Microsoft Visual Studio 2005


========================================================================================================================================================================================


                                                                                                                                                                              51B22
2                                    ก                      ก                                                                F ก             ก                             9
=========================================================================================================================================================================================


               4)             ก                 ก Install F                        ก Next                          2-5




                               2-5:                                           4           ก                  Microsoft Visual Studio 2005

               5)                   ก                           Fก                               ก                         2-6 F                ก F




                               2-6:                                           5           ก                  Microsoft Visual Studio 2005




========================================================================================================================================================================================


                                                                                                                                                                            51B22
2                                      ก                    ก                                                                F ก             ก                           10
=========================================================================================================================================================================================




               6)                            F              ก            F                        2-7 F ก Finish                                  ก                            ก




                            2-7:                                                F           ก                   Microsoft Visual Studio 2005

       2.4 .NET Framework
       .NET Framework                  F                   F F F           Microsoft
               .NET กก F 40                                 ก       ก                    ก
                 ก     ก             ก        .NET Framework                     F         F
 F           ก F Fก          F     F           ก F              ก     ก            F         F
              F ก
                 ก         .NET Framework                           F
Common Language Runtime (CLR)               F         .NET Framework CLR
           F              FF          FF                          ก F       F          F
               F      CLR      F ก F ก ก                           ก                 F
    Exception handling .NET Framework           ก            Fก               F FF
                          กF
       .NET Framework            F       F      ก                 ก Windows Server 2003
    Windows Vista F ก F ก                  . . 2545 F         F ก      . . 2548                FF
   ก F              F                  ก Microsoft Windows ก ก F               F


========================================================================================================================================================================================


                                                                                                                                                                            51B22
2                                    ก                      ก                                                                F ก             ก                          11
=========================================================================================================================================================================================


     F         F ก 6      ก        . . 2549        F       Windows XP SP2, Windows
Server 2003 SP1 Windows Vista (http://th.wikipedia.org/wiki/             F ก)

               2.5  C#
                C# (C# Programming Language)                       ก                      .NET
Framework                       Microsoft           Anders Hejlsberg             F     ก
   ก        ก        C++                    (                 Delphi Java)                         C#
                                  ECMA ISO
              F        ก             C#
             F F                      F      ก Hello world C#:
       public class ExampleClass
       {
                  public static void Main ()
                  {
                            System.Console.WriteLine ("Hello, world!") ;
                  }
       }
                 ก              ก             F Hello, world!              (Console) F .         F
                          :
       public class ExampleClass
                     ก         ก Class, public                       F           ก (Project)
         F F Class F F ก F                        F        FF F F                           F ก
           Class
       public static void Main ()
                               F ก        ก                      ก              ก
           ก F ก           ก            F ก F ก F ExampleClass.Main () (public static void
     F      F ก                    F       F ก                 )
       System.Console.WriteLine ("Hello, world!") ;
                           ก                            ก Console               ก        , ก
     ก                                        ( F DOS)                   F
 F        F ก                     ก         ก ก Console                F      WriteLine,       F


========================================================================================================================================================================================


                                                                                                                                                                            51B22
2                                  ก                      ก                                                                F ก             ก                          12
=========================================================================================================================================================================================


                  F F F                        ก                                         ก                        F (http://th.wikipedia.org/wiki/
       F )

                2.6
                 Visual Basic .NET
             Visual Basic .NET       VB.NET                  ก          .NET
Framework                          ก ก           Visual Basic F   กF ก
  ก          F F ก Fก F กF             Fก ก F               F ก ก F F  ก
          F         ก          Visual Basic .NET
            F F                F       ก Hello world VB.NET:

                Public Class ExampleClass
                        Public Shared sub Main()
                                System.Console.WriteLine("Hello, world!")
                        End Sub
                End Class

                     F       ก F                         F              Hello, world!                     console                            F
        :
          Public Class ExampleClass
                      ก        ก          ExampleClass Public
Project ก                 ก                  ก F F         F F                                                                           F                       End Class
            F
          Public Shared Sub Main()
                               F        ก                      ก                                                                       ก F                           F F
ExampleClass.Main()(public shared              ก        F      กF                                                                       )
          System.Console.WriteLine("Hello, world!")
                                    ก       FF        ก        F                                                                               ก F method
WriteLine            Console        ก F F String          ก                                                                                  Console
(http://th.wikipedia.org/wiki/        ก        )




========================================================================================================================================================================================


                                                                                                                                                                            51B22
2                                    ก                      ก                                                                F ก             ก                          13
=========================================================================================================================================================================================


         2.7 AForge.NET Framework
         AForge.NET Framework Framework                  C#               F                                                                              ก
  F            F           F           F (Computer Vision)                                                                                            F (Artificial
Intelligent)       ก F ก                        (Image Processing)          F                                                                                (Neural
Network) ก                        F (Genetic Algorithm) ก           F                                                                               (Machine
Learning)
                   AForge.NET Framework ก F                             ก 5
         • AForge.Imaging                     ก
         • AForge.Neuro                    ก          ก ก               F
         • AForge.Genetic                    ก            ก ก ก                                                                                      ก
         • AForge.Vision            ก ก             F             F
         • AForge.Machine Learning              ก ก ก           F
         AForge.NET Framework             download F ก                F
                 ก        AForge.NET Framework
         1)          F ก              ก F                 2-8 ก Next                                                                                                          F




                                   2-8:                                            ก          ก                  AForge.NET Framework




========================================================================================================================================================================================


                                                                                                                                                                            51B22
2                                    ก                      ก                                                                F ก             ก                          14
=========================================================================================================================================================================================


               2)                   ก           F                         2-9 ก ก I accept the agreement                                                    F        ก Next
                                                           F




                                   2-9:                                           2           ก                  AForge.NET Framework

               3) ก                    Path                          AForge.NET Framework F                                        ก Next                          2-10




                                  2-10:                                             3          ก                  AForge.NET Framework

========================================================================================================================================================================================


                                                                                                                                                                            51B22
2                                    ก                      ก                                                                F ก             ก                          15
=========================================================================================================================================================================================


               4) ก                   ก                      F       ก Next                          2-11




                                  2-11:                                             4          ก                  AForge.NET Framework

               5) ก       Short Cut Start Menu                                                                   ก                   F F F Folder                         Start
                  Menu ก F F ก Next           2-12




                                  2-12:                                             5          ก                  AForge.NET Framework

========================================================================================================================================================================================


                                                                                                                                                                            51B22
2                                    ก                      ก                                                                F ก             ก                          16
=========================================================================================================================================================================================


               6)                  ก            F                                  F                      2-13                                F ก Install
                                 F ก




                                  2-13:                                                6       ก                  AForge.NET Framework

               7)                   ก               F                     2-14 F                 ก F




                                  2-14:                                                7       ก                  AForge.NET Framework

========================================================================================================================================================================================


                                                                                                                                                                            51B22
2                                    ก                      ก                                                                F ก             ก                          17
=========================================================================================================================================================================================


               8)                   ก           F                         2-15 ก Finish                                ก




                                  2-15:                                             8          ก                  AForge.NET Framework

      2.8 Internet Information Services (IIS)
      Internet Information Services (IIS)     ก          F        F     F
               Microsoft       F Microsoft Windows         F  F F
    2        ก       ก Apache HTTP Server          IIS F     ก F    F FTP
SMTP HTTP/HTTPS F F F




========================================================================================================================================================================================


                                                                                                                                                                            51B22
2                                    ก                      ก                                                                F ก             ก                          18
=========================================================================================================================================================================================


                             ก       Internet Information Services (IIS)
               1)            ก ก Add or Remove Program          F        Control Panel                                                                     ก               F
                               2-16 F ก ก Add/Remove Windows Component                                                                                     ก           F
                                   กก




                         2-16:                                             ก          ก                  Internet Information Services (IIS)

               2)        ก Checkbox    F F                                        Internet information Services (IIS) F                                           ก
                       Details      2-17




                         2-17:                                             2          ก                  Internet Information Services (IIS)

========================================================================================================================================================================================


                                                                                                                                                                               51B22
2                                    ก                      ก                                                                F ก             ก                          19
=========================================================================================================================================================================================


               3)                   ก                     ก            F                        2-18 F ก ก component                                          F ก
                             F      ก OK




                         2-18:                                             2          ก                  Internet Information Services (IIS)

               4)           ก              ก                F                  ก                          2-19 ก Next                                ก




                         2-19:                                             3          ก                  Internet Information Services (IIS)




========================================================================================================================================================================================


                                                                                                                                                                            51B22
2                                    ก                      ก                                                                F ก             ก                          20
=========================================================================================================================================================================================


               5)                   ก           F                          2-20             ก F




                         2-20:                                             4          ก                  Internet Information Services (IIS)

               6)                   ก                     ก            F                        2-21 ก Finish                                ก




                      2-21:                                                  F            ก                 Internet Information Services (IIS)




========================================================================================================================================================================================


                                                                                                                                                                            51B22
2                                    ก                          ก                                                            F ก             ก                          21
=========================================================================================================================================================================================


                   2.9 Simple Mail Transfer Protocol (SMTP)
                   Simple Mail Transfer Protocol (SMTP)                                                                                  F                            F
               F
                   SMTP                             F          F      F          TCP F 25
  ก F                  F ก                F F F MX (Mail eXchange) DNS
                mail transfer agent ก F 50        ก                 F SMTP F           ก
Sendmail          ก ก SMTP                   F        ก          F กF Postfix, qmail
Microsoft Exchange       F (http://th.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol)




========================================================================================================================================================================================


                                                                                                                                                                            51B22
3             ก                             F (Open Source)                                  ก                              F                                           22
=========================================================================================================================================================================================



                                                                                                                                                                                        3
                           ก                                       F (Open Source)                                                        ก                                         F

                                              ก F ก        ก         F (Open Source) ก F ก ก
               ก                               ก ก             ก  ก          ก         ก
                                 F          F        ก                 ก ก                   F
  F                              ก        F      F    F
               3.1                F     ก           ก
               3.2               ก       Open Source Andrew Kirillov
               3.3               F     Source Code ก ก           5 Andrew Kirillov
               3.4 F             ก             ก    ก         ก              Andrew Kirillov
               3.5                 ก     Open Source Boss Watcher Mikail Cetinkaya

               3.1                     F ก                        ก
                               1)                 F ก        F Hardware
                                        •      ก F           ( ก ก F                F Fก F
                                               Microsoft LifeCam VX-1000)
                               2)                  F ก        F Software
                                        •      .NET Framework 2.0
                                        •      AForge.NET Framwork ( ก ก F                    F F F
                                               1.5.0)
                                        •      Codec                 F         F      ก     F       .avi
                                                    F( ก ก F              F F Windows Movie Video 9 VCM)




========================================================================================================================================================================================


                                                                                                                                                                            51B22
3             ก                             F (Open Source)                                  ก                              F                                           23
=========================================================================================================================================================================================


               3.2              ก Open Source                                 Andrew Kirillov




                                   3-1:          ก F           ก       Andrew Kirillov
                         (http://www.codeproject.com/KB/audio-video/Motion_Detection.aspx)

               Class               F     ก      Andrew Kirillov
                         ก Andrew Kirillov ก                    F F            F F F         ก
                             (Object Oriented Programming)                 3-1     ก F Class
  F                F              ก       ก      Fก                 ก                 ก Class
  F                     Interface
               1)      Class Mainform Class ก F ก                 F     F
                         F        Fก F F
               2)      Class Camera Class ก F ก ก                         ก F
               3)      Class CameraWindow Class ก F ก ก                        ก F       กก F ก
                                F            ก
               4)      Class AVIWriter Class ก F ก ก                    ก F          ก F      F
                                  . avi
               5)      Interface IMotionDetector Interface ก F ก ก                ก        ก
                                        Andrew Kirillov F F           5        ก F F 5 Class
                           F กF
========================================================================================================================================================================================


                                                                                                                                                                            51B22
3             ก                             F (Open Source)                                  ก                              F                                           24
=========================================================================================================================================================================================



                             • Class MotionDetector1 Class                                                 ก ก                ก             ก                      ก
                                                1
                             • Class MotionDetector2 Class                                                 ก ก                ก             ก                      ก
                                                2
                             • Class MotionDetector3 Class                                                 ก ก                ก             ก                      ก
                                                3
                             • Class MotionDetector3Optimized                                                   Class ก ก                         ก             ก
                                 ก                 3     F                                                            ก                                          F F
                                          F     กF      ก
                             • Class MotionDetector4 Class                                                 ก ก                ก             ก                      ก
                                                4
                                               F F ก ก                                                      ก             ก                      ก                                  5
                            Andrew Kirillov F F F

           ก           ก        ก
        Andrew Kirillov F           ก ก F ก                                                                               ก                      ก
  F AForge.NET Framework F ก                 ก                                                                       ก                                            Andrew
Kirillov F ก              ก               ก                                                                     ก
        4
        • MotionDetector1          Andrew Kirillov                                                            F ก                  ก กF
               Fก             F         ก F ก                                                                      F         ก          ก
              F (Pixel) F ก F Filter ก                                                                         AForge.NET Framework       F กF
            Difference (    ก            ก F ก                                                                   F      2           F       F
                   3-2) Threshold (       ก F                                                                  ก        F Pixel F F ก F
            กF F                  Pixel            F                                                               กF       Pixel        F F
            ก            ก                     F                                                                      F       F    3-3)




                                                 3-2:            ก F Filter Difference
                                    (http://www.codeproject.com/KB/audio-video/VisualSLPart2.aspx)

========================================================================================================================================================================================


                                                                                                                                                                            51B22
3             ก                             F (Open Source)                                  ก                              F                                           25
=========================================================================================================================================================================================




                                                  3-3:           ก F Filter Threshold
                                    (http://www.codeproject.com/KB/audio-video/VisualSLPart2.aspx)

                                  กก F 2 Filter ก            2           ก             ก
                             ก F ก F        F      F           (White Pixel)                 ก F ก
                               F        2            F ก                 F กก F                 ก
                               Noise (Noise                      ก          ก ก ก             F F ก
                         ก F                   F ก ก Noise                   F       F                ก
                             ก ก                  )                  F         F   ก F              F
                         Noise F กก F                 ก ก                  F Andrew Kirillov      F
                         Filter ก AForge.NET Framework ก 1             F                   Noise ก
                             Filter Erosion                ก                       ก
                            F F        ก                 F                       ก                      3-4




                                        3-4:           ก F MotionDetector1
                         (http://www.codeproject.com/KB/audio-video/Motion_Detection.aspx)




========================================================================================================================================================================================


                                                                                                                                                                            51B22
3             ก                             F (Open Source)                                             ก                   F                                           26
=========================================================================================================================================================================================



               • MotionDetector2                                                 ก                    F F ก MotionDetector1                                     FF F F
                       ก                                                    ก                             ก               F ก                                        F F
                   ก                                                                                  ก    F

                            ก                          F                   ก                              ก               ก ก
                                       ก                                       ก                          ก F                    ก F ก ก F
                              F F                              Fก                            ก                                      F
                                F               F ก                                                 ก                              ก                  ก
                                                ก                          FF F                   Fก ก                          ก                F
                              F F Fก                                                 F                 F          F     ก                      ก
                         ก                                 F                                     กF                           F            F F F            F
                                            F                  ก                 ก                    ก                         F ก                  ก
                                                                                                    F                   F         Fก                            F
                                      F F F                                     ก F ก                                       F          F ก
                              F ก                                          ก                                  F           F                    F
                               F ก                                                                F                 ก                    F         F    F         F
                               ก                                                             F                      ก                   ก                 ก
                                                กF                 ก                                                  F               ก                       F

                             ก                                                 FF            ก                ก                     F ก                                ก
                                           ก                   ก                                          ก          F ก             ก
                                                                                         F                  F Filter moveTowardsFilter    Fก
                                 ก                                                                         F ก F                      ก       ก ก
                         Andrew Kirillov                                        ก                            ก          ก               F F
                                                                       F                                  ก               Fก F       ก F Filter
                         edgesFilter                                       3-5




========================================================================================================================================================================================


                                                                                                                                                                            51B22
3             ก                             F (Open Source)                                  ก                              F                                           27
=========================================================================================================================================================================================




                                        3-5:           ก F MotionDetector2
                         (http://www.codeproject.com/KB/audio-video/Motion_Detection.aspx)

               • MotionDetector3 Andrew Kirillov F MotionDetector2            F ก
                    ก F Filter Pixellate       F ก             F F ก MotionDetecotr2 F
                                                    ก                    FF       F F
                        F         Fก            F     F      F F F Fก
                 ก           F    F         F     ก




                                        3-6:           ก F MotionDetector3
                         (http://www.codeproject.com/KB/audio-video/Motion_Detection.aspx)



========================================================================================================================================================================================


                                                                                                                                                                            51B22
3             ก                             F (Open Source)                                  ก                              F                                               28
=========================================================================================================================================================================================


                     ก ก Andrew Kirillov      F      ก            Fก                                                                                     F                F
                        ก MotionDetector3          F MotionDetector3Optimized
                         F      กF      MotionDetector3Optimized                                                                                                  ก ก
                 MotionDetector3 F                        ก        Source Code                                                                                   F F
                 MotionDetector3Optimized       F ก F                  F กก F                                                                                     ก
                           ก        ก             ก            F          ก                                                                                                   F F F
                 Filter ก AForge.NET Framework             F                  F
                 MotionDetector3Optimized                                       F                                                                            F                กF
                 MotionDetector3
               • MotionDetector4 ก MotionDetector2 Andrew Kirillov F ก
                            ก             ก            F                F         F                                                                               F
                                           ก                 Andrew Kirillov F                                                                                                 F
                 ก F              F ก                F                      F                                                                                                  กก
                   FF F               F                          F F                                                                                                  ก
                      ก ก ก                 F




                                        3-7:           ก F MotionDetector4
                         (http://www.codeproject.com/KB/audio-video/Motion_Detection.aspx)




========================================================================================================================================================================================


                                                                                                                                                                                51B22
3             ก                             F (Open Source)                                  ก                              F                                           29
=========================================================================================================================================================================================


                 ก      F       F
               Andrew Kirillov F ก                                               ก             F                                                      กก F              F
3
               •                                     JPEG          ก                  F F F
                                                       กก F        IP Camera                 ก         Andrew
                       Kirillov F                              F       F
               •                                              MJPEG กก F IP Camera ก        F F      F         F
                                       F                       ก      Andrew Kirillov
               •            กก F                            Fก               F          ก       Andrew Kirillov

                     ก ก Andrew Kirillov                                       ก                   F    ก                                         F                  F ก
         ก            F F F   F       F                                                   ก            Fก F

         ก              Fก              ก
         Andrew Kirillov Fก         ก              Fก                           F  F2
         ก        F ก F กF F            ก ก           F        2 F         F กF
       •                         ก FFF ก ก                         F F
       • ก        ก           F .avi Andrew Kirillov F F Class AVIWriter F ก
                ก          F               F                          F F ก ก F
           Fก       ก                    F F                             F        ก F
                                 F F F F 2008-11-30 20-53-36            F F          F
              F            30        ก    2008      20:53:36 .      F




========================================================================================================================================================================================


                                                                                                                                                                            51B22
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf
FullReport51B22.pdf

More Related Content

What's hot

18คลื่นแม่เหล็กไฟฟ้า
18คลื่นแม่เหล็กไฟฟ้า18คลื่นแม่เหล็กไฟฟ้า
18คลื่นแม่เหล็กไฟฟ้าDoc Edu
 
03แรง มวลและกฏการเคลื่อนที่
03แรง มวลและกฏการเคลื่อนที่03แรง มวลและกฏการเคลื่อนที่
03แรง มวลและกฏการเคลื่อนที่Doc Edu
 
16ไฟฟ้าและแม่เหล็ก1
16ไฟฟ้าและแม่เหล็ก116ไฟฟ้าและแม่เหล็ก1
16ไฟฟ้าและแม่เหล็ก1Doc Edu
 
01บทนำ
01บทนำ01บทนำ
01บทนำDoc Edu
 
14แสงและทัศนอุปกรณ์
14แสงและทัศนอุปกรณ์14แสงและทัศนอุปกรณ์
14แสงและทัศนอุปกรณ์Doc Edu
 
Volume 4 issue 60 april 6 12, 2011 a4-
Volume 4 issue 60 april 6 12, 2011 a4-Volume 4 issue 60 april 6 12, 2011 a4-
Volume 4 issue 60 april 6 12, 2011 a4-Kittisak Singha
 
05งานและพลังงาน
05งานและพลังงาน05งานและพลังงาน
05งานและพลังงานDoc Edu
 
04การเคลื่อนที่แบบต่างๆ
04การเคลื่อนที่แบบต่างๆ04การเคลื่อนที่แบบต่างๆ
04การเคลื่อนที่แบบต่างๆDoc Edu
 
แฟ้มสินค้า Update กย 53
แฟ้มสินค้า Update กย 53แฟ้มสินค้า Update กย 53
แฟ้มสินค้า Update กย 53topstarteam
 
15ไฟฟ้าสถิต
15ไฟฟ้าสถิต15ไฟฟ้าสถิต
15ไฟฟ้าสถิตDoc Edu
 
17ไฟฟ้าและแม่เหล็ก2
17ไฟฟ้าและแม่เหล็ก217ไฟฟ้าและแม่เหล็ก2
17ไฟฟ้าและแม่เหล็ก2Doc Edu
 

What's hot (15)

18คลื่นแม่เหล็กไฟฟ้า
18คลื่นแม่เหล็กไฟฟ้า18คลื่นแม่เหล็กไฟฟ้า
18คลื่นแม่เหล็กไฟฟ้า
 
03แรง มวลและกฏการเคลื่อนที่
03แรง มวลและกฏการเคลื่อนที่03แรง มวลและกฏการเคลื่อนที่
03แรง มวลและกฏการเคลื่อนที่
 
16ไฟฟ้าและแม่เหล็ก1
16ไฟฟ้าและแม่เหล็ก116ไฟฟ้าและแม่เหล็ก1
16ไฟฟ้าและแม่เหล็ก1
 
Hoan ngoc
Hoan ngocHoan ngoc
Hoan ngoc
 
01บทนำ
01บทนำ01บทนำ
01บทนำ
 
14แสงและทัศนอุปกรณ์
14แสงและทัศนอุปกรณ์14แสงและทัศนอุปกรณ์
14แสงและทัศนอุปกรณ์
 
20100519 burn-tire
20100519 burn-tire20100519 burn-tire
20100519 burn-tire
 
Volume 4 issue 60 april 6 12, 2011 a4-
Volume 4 issue 60 april 6 12, 2011 a4-Volume 4 issue 60 april 6 12, 2011 a4-
Volume 4 issue 60 april 6 12, 2011 a4-
 
05งานและพลังงาน
05งานและพลังงาน05งานและพลังงาน
05งานและพลังงาน
 
04การเคลื่อนที่แบบต่างๆ
04การเคลื่อนที่แบบต่างๆ04การเคลื่อนที่แบบต่างๆ
04การเคลื่อนที่แบบต่างๆ
 
แฟ้มสินค้า Update กย 53
แฟ้มสินค้า Update กย 53แฟ้มสินค้า Update กย 53
แฟ้มสินค้า Update กย 53
 
พว32001
พว32001พว32001
พว32001
 
15ไฟฟ้าสถิต
15ไฟฟ้าสถิต15ไฟฟ้าสถิต
15ไฟฟ้าสถิต
 
Manual openprojectb
Manual openprojectbManual openprojectb
Manual openprojectb
 
17ไฟฟ้าและแม่เหล็ก2
17ไฟฟ้าและแม่เหล็ก217ไฟฟ้าและแม่เหล็ก2
17ไฟฟ้าและแม่เหล็ก2
 

Viewers also liked

Working on a Project
Working on a ProjectWorking on a Project
Working on a ProjectNabila As'ad
 
The Introduction to Service Design
The Introduction to Service DesignThe Introduction to Service Design
The Introduction to Service DesignNabila As'ad
 
Little Baldy slide show
Little Baldy slide showLittle Baldy slide show
Little Baldy slide showbrownml
 
Rancangan pelajaran th 5 khsr 2011
Rancangan pelajaran th 5 khsr 2011Rancangan pelajaran th 5 khsr 2011
Rancangan pelajaran th 5 khsr 2011Ct Noreha
 
Muir Grove Hike
Muir Grove HikeMuir Grove Hike
Muir Grove Hikebrownml
 
Service Design Workshop - Product Design Focus #21
Service Design Workshop - Product Design Focus #21Service Design Workshop - Product Design Focus #21
Service Design Workshop - Product Design Focus #21Nabila As'ad
 
Soalan KH Thn 4
Soalan KH Thn 4Soalan KH Thn 4
Soalan KH Thn 4Ct Noreha
 
Membuat penyangkut baju
Membuat penyangkut bajuMembuat penyangkut baju
Membuat penyangkut bajuCt Noreha
 
Kayu pembaris
Kayu pembarisKayu pembaris
Kayu pembarisCt Noreha
 
Tanaman Hiasan Thn 4
Tanaman Hiasan Thn 4Tanaman Hiasan Thn 4
Tanaman Hiasan Thn 4Ct Noreha
 
The (Internet) Marketing Plan
The (Internet) Marketing PlanThe (Internet) Marketing Plan
The (Internet) Marketing PlanNabila As'ad
 

Viewers also liked (17)

Working on a Project
Working on a ProjectWorking on a Project
Working on a Project
 
PDS.ppt
PDS.pptPDS.ppt
PDS.ppt
 
PDS.ppt
PDS.pptPDS.ppt
PDS.ppt
 
Pds
PdsPds
Pds
 
The Introduction to Service Design
The Introduction to Service DesignThe Introduction to Service Design
The Introduction to Service Design
 
Little Baldy slide show
Little Baldy slide showLittle Baldy slide show
Little Baldy slide show
 
Rancangan pelajaran th 5 khsr 2011
Rancangan pelajaran th 5 khsr 2011Rancangan pelajaran th 5 khsr 2011
Rancangan pelajaran th 5 khsr 2011
 
Muir Grove Hike
Muir Grove HikeMuir Grove Hike
Muir Grove Hike
 
Service Design Workshop - Product Design Focus #21
Service Design Workshop - Product Design Focus #21Service Design Workshop - Product Design Focus #21
Service Design Workshop - Product Design Focus #21
 
Soalan KH Thn 4
Soalan KH Thn 4Soalan KH Thn 4
Soalan KH Thn 4
 
KH TAHUN 4
KH TAHUN 4KH TAHUN 4
KH TAHUN 4
 
PKSR2 KH T5
PKSR2 KH T5PKSR2 KH T5
PKSR2 KH T5
 
Membuat penyangkut baju
Membuat penyangkut bajuMembuat penyangkut baju
Membuat penyangkut baju
 
Pat t6
Pat t6Pat t6
Pat t6
 
Kayu pembaris
Kayu pembarisKayu pembaris
Kayu pembaris
 
Tanaman Hiasan Thn 4
Tanaman Hiasan Thn 4Tanaman Hiasan Thn 4
Tanaman Hiasan Thn 4
 
The (Internet) Marketing Plan
The (Internet) Marketing PlanThe (Internet) Marketing Plan
The (Internet) Marketing Plan
 

Similar to FullReport51B22.pdf

แบบสอบถามความคิดเห็นเกี่ยวกับทัศนคติเรื่องเพศสัมพันธ์ในวัยเรียน
แบบสอบถามความคิดเห็นเกี่ยวกับทัศนคติเรื่องเพศสัมพันธ์ในวัยเรียนแบบสอบถามความคิดเห็นเกี่ยวกับทัศนคติเรื่องเพศสัมพันธ์ในวัยเรียน
แบบสอบถามความคิดเห็นเกี่ยวกับทัศนคติเรื่องเพศสัมพันธ์ในวัยเรียนPeung Chanthimarn
 
แบบสอบถามความคิดเห็นเกี่ยวกับทัศนคติเรื่องเพศสัมพันธ์ในวัยเรียน
แบบสอบถามความคิดเห็นเกี่ยวกับทัศนคติเรื่องเพศสัมพันธ์ในวัยเรียนแบบสอบถามความคิดเห็นเกี่ยวกับทัศนคติเรื่องเพศสัมพันธ์ในวัยเรียน
แบบสอบถามความคิดเห็นเกี่ยวกับทัศนคติเรื่องเพศสัมพันธ์ในวัยเรียนPeung Chanthimarn
 
แผนการจัดการเรียนรู้ที่ 2 ข้อมูลและสารสนเทศ
แผนการจัดการเรียนรู้ที่ 2 ข้อมูลและสารสนเทศแผนการจัดการเรียนรู้ที่ 2 ข้อมูลและสารสนเทศ
แผนการจัดการเรียนรู้ที่ 2 ข้อมูลและสารสนเทศNattapon
 
แผนการจัดการเรียนรู้ที่ 3 บทบาทและวิวัฒนาการของคอมพิวเตอร์
แผนการจัดการเรียนรู้ที่ 3 บทบาทและวิวัฒนาการของคอมพิวเตอร์แผนการจัดการเรียนรู้ที่ 3 บทบาทและวิวัฒนาการของคอมพิวเตอร์
แผนการจัดการเรียนรู้ที่ 3 บทบาทและวิวัฒนาการของคอมพิวเตอร์Nattapon
 
แผนการจัดการเรียนรู้ที่ 1 องค์ประกอบของระบบสารสนเทศ
แผนการจัดการเรียนรู้ที่ 1 องค์ประกอบของระบบสารสนเทศแผนการจัดการเรียนรู้ที่ 1 องค์ประกอบของระบบสารสนเทศ
แผนการจัดการเรียนรู้ที่ 1 องค์ประกอบของระบบสารสนเทศNattapon
 
แผนการจัดการเรียนรู้ที่ 8 คุณธรรม จริยธรรมในการใช้เทคโนโลยีสารสนเทศ
แผนการจัดการเรียนรู้ที่ 8 คุณธรรม จริยธรรมในการใช้เทคโนโลยีสารสนเทศแผนการจัดการเรียนรู้ที่ 8 คุณธรรม จริยธรรมในการใช้เทคโนโลยีสารสนเทศ
แผนการจัดการเรียนรู้ที่ 8 คุณธรรม จริยธรรมในการใช้เทคโนโลยีสารสนเทศNattapon
 
Book Quotation And Detail To Kohsamui
Book Quotation And Detail To KohsamuiBook Quotation And Detail To Kohsamui
Book Quotation And Detail To KohsamuiDanai Thongsin
 
Personality test
Personality testPersonality test
Personality testpooyu
 
คู่มือประมวลข่าวประจำวัน
คู่มือประมวลข่าวประจำวันคู่มือประมวลข่าวประจำวัน
คู่มือประมวลข่าวประจำวันThitima Jiramanit
 
คู่มือประมวลข่าวประจำวัน
คู่มือประมวลข่าวประจำวันคู่มือประมวลข่าวประจำวัน
คู่มือประมวลข่าวประจำวันThitima Jiramanit
 
Volume 4 issue 63 april 27 may 3, 2011
Volume 4 issue 63 april 27 may 3, 2011Volume 4 issue 63 april 27 may 3, 2011
Volume 4 issue 63 april 27 may 3, 2011Kittisak Singha
 
2553 3-dr kalaya-policy
2553 3-dr kalaya-policy2553 3-dr kalaya-policy
2553 3-dr kalaya-policyps-most
 
Thailand Internet User Profile 2009
Thailand Internet User Profile 2009Thailand Internet User Profile 2009
Thailand Internet User Profile 2009ICT2020
 
15 ไฟฟ้าสถิต
15 ไฟฟ้าสถิต15 ไฟฟ้าสถิต
15 ไฟฟ้าสถิตtopofzeed
 
คู่มือโปรแกรม Book mark2551
คู่มือโปรแกรม Book mark2551  คู่มือโปรแกรม Book mark2551
คู่มือโปรแกรม Book mark2551 Narongchai Wanmanee
 
01ชุดการเรียนการสอนลักษณะและรูปร่างของเซลล์สิ่งมีชีวิต
01ชุดการเรียนการสอนลักษณะและรูปร่างของเซลล์สิ่งมีชีวิต01ชุดการเรียนการสอนลักษณะและรูปร่างของเซลล์สิ่งมีชีวิต
01ชุดการเรียนการสอนลักษณะและรูปร่างของเซลล์สิ่งมีชีวิตอัจฉรา สร้อยทอง
 

Similar to FullReport51B22.pdf (20)

แบบสอบถามความคิดเห็นเกี่ยวกับทัศนคติเรื่องเพศสัมพันธ์ในวัยเรียน
แบบสอบถามความคิดเห็นเกี่ยวกับทัศนคติเรื่องเพศสัมพันธ์ในวัยเรียนแบบสอบถามความคิดเห็นเกี่ยวกับทัศนคติเรื่องเพศสัมพันธ์ในวัยเรียน
แบบสอบถามความคิดเห็นเกี่ยวกับทัศนคติเรื่องเพศสัมพันธ์ในวัยเรียน
 
แบบสอบถามความคิดเห็นเกี่ยวกับทัศนคติเรื่องเพศสัมพันธ์ในวัยเรียน
แบบสอบถามความคิดเห็นเกี่ยวกับทัศนคติเรื่องเพศสัมพันธ์ในวัยเรียนแบบสอบถามความคิดเห็นเกี่ยวกับทัศนคติเรื่องเพศสัมพันธ์ในวัยเรียน
แบบสอบถามความคิดเห็นเกี่ยวกับทัศนคติเรื่องเพศสัมพันธ์ในวัยเรียน
 
แผนการจัดการเรียนรู้ที่ 2 ข้อมูลและสารสนเทศ
แผนการจัดการเรียนรู้ที่ 2 ข้อมูลและสารสนเทศแผนการจัดการเรียนรู้ที่ 2 ข้อมูลและสารสนเทศ
แผนการจัดการเรียนรู้ที่ 2 ข้อมูลและสารสนเทศ
 
แผนการจัดการเรียนรู้ที่ 3 บทบาทและวิวัฒนาการของคอมพิวเตอร์
แผนการจัดการเรียนรู้ที่ 3 บทบาทและวิวัฒนาการของคอมพิวเตอร์แผนการจัดการเรียนรู้ที่ 3 บทบาทและวิวัฒนาการของคอมพิวเตอร์
แผนการจัดการเรียนรู้ที่ 3 บทบาทและวิวัฒนาการของคอมพิวเตอร์
 
แผนการจัดการเรียนรู้ที่ 1 องค์ประกอบของระบบสารสนเทศ
แผนการจัดการเรียนรู้ที่ 1 องค์ประกอบของระบบสารสนเทศแผนการจัดการเรียนรู้ที่ 1 องค์ประกอบของระบบสารสนเทศ
แผนการจัดการเรียนรู้ที่ 1 องค์ประกอบของระบบสารสนเทศ
 
Microsoft word กิจกรรม nasa exercise
Microsoft word   กิจกรรม nasa  exerciseMicrosoft word   กิจกรรม nasa  exercise
Microsoft word กิจกรรม nasa exercise
 
แผนการจัดการเรียนรู้ที่ 8 คุณธรรม จริยธรรมในการใช้เทคโนโลยีสารสนเทศ
แผนการจัดการเรียนรู้ที่ 8 คุณธรรม จริยธรรมในการใช้เทคโนโลยีสารสนเทศแผนการจัดการเรียนรู้ที่ 8 คุณธรรม จริยธรรมในการใช้เทคโนโลยีสารสนเทศ
แผนการจัดการเรียนรู้ที่ 8 คุณธรรม จริยธรรมในการใช้เทคโนโลยีสารสนเทศ
 
Book Quotation And Detail To Kohsamui
Book Quotation And Detail To KohsamuiBook Quotation And Detail To Kohsamui
Book Quotation And Detail To Kohsamui
 
Personality test
Personality testPersonality test
Personality test
 
Fair use
Fair useFair use
Fair use
 
Marketing
MarketingMarketing
Marketing
 
คู่มือประมวลข่าวประจำวัน
คู่มือประมวลข่าวประจำวันคู่มือประมวลข่าวประจำวัน
คู่มือประมวลข่าวประจำวัน
 
คู่มือประมวลข่าวประจำวัน
คู่มือประมวลข่าวประจำวันคู่มือประมวลข่าวประจำวัน
คู่มือประมวลข่าวประจำวัน
 
Volume 4 issue 63 april 27 may 3, 2011
Volume 4 issue 63 april 27 may 3, 2011Volume 4 issue 63 april 27 may 3, 2011
Volume 4 issue 63 april 27 may 3, 2011
 
2553 3-dr kalaya-policy
2553 3-dr kalaya-policy2553 3-dr kalaya-policy
2553 3-dr kalaya-policy
 
Thailand Internet User Profile 2009
Thailand Internet User Profile 2009Thailand Internet User Profile 2009
Thailand Internet User Profile 2009
 
15 ไฟฟ้าสถิต
15 ไฟฟ้าสถิต15 ไฟฟ้าสถิต
15 ไฟฟ้าสถิต
 
H1N1
H1N1H1N1
H1N1
 
คู่มือโปรแกรม Book mark2551
คู่มือโปรแกรม Book mark2551  คู่มือโปรแกรม Book mark2551
คู่มือโปรแกรม Book mark2551
 
01ชุดการเรียนการสอนลักษณะและรูปร่างของเซลล์สิ่งมีชีวิต
01ชุดการเรียนการสอนลักษณะและรูปร่างของเซลล์สิ่งมีชีวิต01ชุดการเรียนการสอนลักษณะและรูปร่างของเซลล์สิ่งมีชีวิต
01ชุดการเรียนการสอนลักษณะและรูปร่างของเซลล์สิ่งมีชีวิต
 

More from ballcpe

Comment.rtf
Comment.rtfComment.rtf
Comment.rtfballcpe
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtfballcpe
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtfballcpe
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtfballcpe
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtfballcpe
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtfballcpe
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtfballcpe
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtfballcpe
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtfballcpe
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtfballcpe
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtfballcpe
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtfballcpe
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtfballcpe
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtfballcpe
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtfballcpe
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtfballcpe
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtfballcpe
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtfballcpe
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtfballcpe
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtfballcpe
 

More from ballcpe (20)

Comment.rtf
Comment.rtfComment.rtf
Comment.rtf
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtf
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtf
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtf
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtf
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtf
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtf
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtf
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtf
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtf
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtf
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtf
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtf
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtf
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtf
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtf
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtf
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtf
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtf
 
Comment.rtf
Comment.rtfComment.rtf
Comment.rtf
 

FullReport51B22.pdf

  • 1. Senior Project ก F ก ก F 51B22 ก ก ก F Fก ก ก ก ก F The Study of Motion Detection and Its Application A Case Study of Security Webcam 484 20547 26 ก F ก ก ก . . F . F . . F F ก ก 2551
  • 2. Senior Project ก F ก ก F 51B22 ก ก ก F Fก ก ก ก ก F The Study of Motion Detection and Its Application A Case Study of Security Webcam 484 20547 26 ก F ก ก ก . . F . F . . F F ก ก 2551
  • 3. F ก ========================================================================================================================================================================================= F ก Fก ก Fก F F F ก F F F Fก F F Fก F ก ก ก ก F ก F ก F ก ก ก F F ก ก F F ก ก ก ก ก F F ก ก ก ก F ก F ก ก ก ก F ก ก F C# Microsoft Visual Studio F ก ก ก F ก ก ก ก F F F ก F ก F F F F F F ก ก ก ก F F F F F F ก ก F F F ก F F ก Fก F ก ก ก ก F F SMTP F F E-mail F ก F E-mail Address F ก F ก F ========================================================================================================================================================================================= 51B22
  • 4. ก ก ก ======================================================================================================================================================================================== ก ก ก ก . . F F F ก F F F F ก ก ก FF ก . F . . F F ก ก ก FF F F F ก ก F F ก F ก F F F F ก F F F ก F ก ก ก ก ก Mikail Cetinkaya F ก #36 #37 F #39 F ก F #40 F F#41 F Fก F F F F F F F F ก F Stat F 38 F Fก ========================================================================================================================================================================================= 51B22
  • 5. ========================================================================================================================================================================================= F F ก ก ก ก 1 1.1 ก 1 1.2 F 2 1.3 ก ก 2 1.4 ก ก 2 1.5 F F F 2 1.6 F 3 2 ก ก F ก ก 2.1 ก ก (Motion Detection) 4 2.2 ก F (Webcam) 5 2.3 Microsoft Visual Studio 7 2.4 .NET Framework 10 2.5 C# 11 2.6 Visual Basic .NET 12 2.7 AForge.NET Framework 13 2.8 Internet Information Services (IIS) 17 2.9 Simple Mail Transfer Protocol (SMTP) 21 3 ก F (Open Source) ก F 3.1 F ก ก 22 3.2 ก Open Source Andrew Kirillov 23 3.3 F Source Code ก ก 5 Andrew Kirillov 35 3.4 F ก ก ก ก Andrew Kirillov 49 3.5 ก Open Source Boss Watcher Mikail Cetinkaya 50 ======================================================================================================================================================================================== 51B22
  • 6. ========================================================================================================================================================================================= 4 ก F 4.1 ก Mikail Cetinkaya 51 4.2 ก F ก F 52 4.3 F Source Code ก ก F F 65 4.4 F ก ก F F 83 5 F 5.1 84 5.2 ก ก 85 5.3 F 85 ก 87 ก 89 ======================================================================================================================================================================================== 51B22
  • 7. ======================================================================================================================================================================================== 2 F 2-1: F F F Fก 6 2-2: ก ก Microsoft Visual Studio 2005 7 2-3: 2 ก Microsoft Visual Studio 2005 8 2-4: 3 ก Microsoft Visual Studio 2005 8 2-5: 4 ก Microsoft Visual Studio 2005 9 2-6: 5 ก Microsoft Visual Studio 2005 9 2-7: F ก Microsoft Visual Studio 2005 10 2-8: ก ก AForge.NET Framework 13 2-9: 2 ก AForge.NET Framework 14 2-10: 3 ก AForge.NET Framework 14 2-11: 4 ก AForge.NET Framework 15 2-12: 5 ก AForge.NET Framework 15 2-13: 6 ก AForge.NET Framework 16 2-14: 7 ก AForge.NET Framework 16 2-15: 8 ก AForge.NET Framework 17 2-16: ก ก Internet Information Services (IIS) 18 2-17: 2 ก Internet Information Services (IIS) 18 2-18: 2 ก Internet Information Services (IIS) 19 2-19: 3 ก Internet Information Services (IIS) 19 2-20: 4 ก Internet Information Services (IIS) 20 2-21: F ก Internet Information Services (IIS) 20 3 F 3-1: ก F ก Andrew Kirillov 23 3-2: ก F Filter Difference 24 3-3: ก F Filter Threshold 25 3-4: ก F MotionDetector1 25 ======================================================================================================================================================================================== 51B22
  • 8. ======================================================================================================================================================================================== 3-5: ก F MotionDetector2 27 3-6: ก F MotionDetector3 27 3-7: ก F MotionDetector4 28 3-8: F ก F ก Andrew Kirillov 30 3-9: F File 31 3-10: ก F Open JPEG URL 31 3-11: ก F Open MJPEG URL 32 3-12: ก F Open Local Device 32 3-13: F Motion 33 3-14: F Help 34 3-15: ก F About 34 3-16: ก F ก Mikail Cetinkaya 50 4 F 4-1: ก F ก ก F F 52 4-2: F ก F F 53 4-3: F File 54 4-4: ก F Open Local Device 55 4-5: ก F Saving Video Settings 55 4-6: F ก ก Path ก F 56 4-7: F ก ก ก F E-mail 56 4-8: F ก ก F ก F 57 4-9: F Motion 57 4-10: F ก ก ก ก F 58 4-11: F ก ก ก 59 4-12: F Help 60 4-13: ก F About 60 4-14: ก F Pixel Mode 61 4-15: ก F Object Mode 62 4-16: F ก F F F Filter Threshold Pixel Mode 62 4-17: F ก F F F Filter Threshold Object Mode 62 ======================================================================================================================================================================================== 51B22
  • 9. ======================================================================================================================================================================================== 4-18: ก ก ก F 63 4-19: ก ก F ก ก F 63 4-20: ก ก 64 ======================================================================================================================================================================================== 51B22
  • 10. 1 1 ======================================================================================================================================================================================== 1 1.1 ก ก F ก ก F ก ก กF ก ก ก ก Fก ก F ก ก ก F ก F F ก FF F F F ก ก ก F F ก F F F F ก ก F F Fก ก ก F กF F F F ก F Fก F Fก F ก ก F ก ก F ก ก F ก ก ก ก ก F ก F Fก ก F F ก ก ก F ก ก ก F ก กF ก ก F F ก ก ก F FF F ก F ก ก ก ก ก ก ก F F F ก F F F F ก F F ก F FF ก F F ก ก ก ก ก F F กก ก F F ก F F F F FF F ก F F ก F ก F ก ก ก F ก ======================================================================================================================================================================================== 51B22
  • 11. 1 2 ======================================================================================================================================================================================== 1.2 F • ก กก ก ก • ก F ก ก ก F F F • ก ก F ก ก 1.3 ก ก • กก ก ก • ก ก ก • ก ก F ก ก ก F F F 1.4 ก ก • ก ก ก F ก F • ก ก ก Open Source ก F F • ก F ก ก ก 1.5 F F F F • F F กก ก • F F กก ก ก F F F ก F • F F กก ก ก • ก ก F F F F F • F ก F กก ก F • F F ก ก ก F ======================================================================================================================================================================================== 51B22
  • 12. 1 3 ======================================================================================================================================================================================== 1.6 F • ก ก (Motion Detection) ก ก F ก F ก ก F ก ก F ก F กก F กก F • ก ก (Object Oriented Programming) ก ก F F ก ก ก ก F ก ก F F F F F ก F F F (http://th.wikipedia.org/wiki/ก ก ) • ก F (Webcam) ก F Fก F F F • ก (Algorithm) ก ก กF F F ก ก กF F F F F F F F (http://th.wikipedia.org/wiki/ ) • Simple Mail Transfer Protocol (SMTP) F E-mail F F (http://th.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol) • F F (Open source) ก F F F F F F F F F F F ก F F F ก F F F F ก ก F ก F F F ก F ก ( ) กF F F Fก F ( ) F (http://th.wikipedia.org/wiki/ F ) • F F F (open source software - OSS) F F กก F F F F ก F F F ก ก F F F ก กF F ก F ( F F ) F F F ก ก (http://th.wikipedia.org/wiki/ F ) ======================================================================================================================================================================================== 51B22
  • 13. 2 ก ก F ก ก 4 ========================================================================================================================================================================================= 2 ก ก F ก ก ก F ก กF ก ก F ก ก F ก F F 2.1 ก ก (Motion Detection) 2.2 ก F (Webcam) 2.3 Microsoft Visual Studio 2.4 .NET Framework 2.5 C# 2.6 Visual Basic .NET 2.7 AForge.NET Framework 2.8 Internet Information Services (IIS) 2.9 Simple Mail Transfer Protocol (SMTP) 2.1 ก ก (Motion Detection) ก ก ก ก F ก F ก ก F ก ก F ก Fกก F กก F F ก Fกก ก F ก ก ก F F ก ก ก ก F กก ก ก F ก Fกก F กก F F ก ก F F ก ก F F F ก FF ก กF FF ก ก F ก ก F ก กก ก F F F Fก ก FF F ก F ก ก ก F F ก กก F F ก ก ก ก ก F F ======================================================================================================================================================================================== 51B22
  • 14. 2 ก ก F ก ก 5 ========================================================================================================================================================================================= F ก F ก ก ก F ก F ก Fก F F F ก F F F ก F F ก ก ก ก F ก F F ก F F F ก F ก ก F ก F ก ก F F F ก F F ก F F F Fก F ก F F ก ก ก Fก F ก ก ก ก F F F ก F ก F ก F ก F ก F ก ก FF F ก ก FF ก ก ก F ก ก F F F ก ก F ก F F F ก F Fก ก F F ก ก ก F กก F Fก ก F F F ก ก FกF F ก ก ก F F ก ก ก ก Fก F F F F ก ก F F F ก F F F F F F F F F F F ก F ก F ก Fก ก F F F กF • ก Fก F ก ก F • ก F ก F F F F F F ก F Boostlife F • ก F ก F FF ก ก ก 2.2 ก F (Webcam) ก F ก F Fก F F F F F ก Fก F F F USB ก F ก F Fก Fก F Wi-Fi Ethernet F ก F ก F ======================================================================================================================================================================================== 51B22
  • 15. 2 ก ก F ก ก 6 ========================================================================================================================================================================================= ก ก F F F F ก F (Videoconferencing) ก Fก F ก ก F F ก F ก F F กF • ก F ก F F F ก ก F F F • ก F F ก F F F F F ก F F F ก • ก กF F F F กF F ก ก กF F ก ก ก F กF F • ก Play Station 2 F EyeToy ก XBox 360 XBox Live Vision F Fก ก ก F F (http://th.wikipedia.org/wiki/Webcam) F ก F Fก F กF ก F F F F Fก 2-1 2-1: F F F Fก (http://th.wikipedia.org/wiki/Webcam) ======================================================================================================================================================================================== 51B22
  • 16. 2 ก ก F ก ก 7 ========================================================================================================================================================================================= 2.3 Microsoft Visual Studio Microsoft Visual Studio Integrated Development Environment Microsoft F ก F F ก F F F ก Microsoft Windows, Pocket PC, Smartphone F F Visual Studio F ก .NET ก ก F VB.NET C++ C# J# F (http://th.wikipedia.org/wiki/ F ) ก ก Microsoft Visual Studio 2005 1) ก ก Installer F ก F F ก ก Install Visual Studio 2005 2-2 2-2: ก ก Microsoft Visual Studio 2005 ======================================================================================================================================================================================== 51B22
  • 17. 2 ก ก F ก ก 8 ========================================================================================================================================================================================= 2) ก ก F ก F ก Next F 2-3 2-3: 2 ก Microsoft Visual Studio 2005 3) ก Checkbox F F I accept the terms of License Agreement F ก Next 2-4 2-4: 3 ก Microsoft Visual Studio 2005 ======================================================================================================================================================================================== 51B22
  • 18. 2 ก ก F ก ก 9 ========================================================================================================================================================================================= 4) ก ก Install F ก Next 2-5 2-5: 4 ก Microsoft Visual Studio 2005 5) ก Fก ก 2-6 F ก F 2-6: 5 ก Microsoft Visual Studio 2005 ======================================================================================================================================================================================== 51B22
  • 19. 2 ก ก F ก ก 10 ========================================================================================================================================================================================= 6) F ก F 2-7 F ก Finish ก ก 2-7: F ก Microsoft Visual Studio 2005 2.4 .NET Framework .NET Framework F F F F Microsoft .NET กก F 40 ก ก ก ก ก ก .NET Framework F F F ก F Fก F F ก F ก ก F F F ก ก .NET Framework F Common Language Runtime (CLR) F .NET Framework CLR F FF FF ก F F F F CLR F ก F ก ก ก F Exception handling .NET Framework ก Fก F FF กF .NET Framework F F ก ก Windows Server 2003 Windows Vista F ก F ก . . 2545 F F ก . . 2548 FF ก F F ก Microsoft Windows ก ก F F ======================================================================================================================================================================================== 51B22
  • 20. 2 ก ก F ก ก 11 ========================================================================================================================================================================================= F F ก 6 ก . . 2549 F Windows XP SP2, Windows Server 2003 SP1 Windows Vista (http://th.wikipedia.org/wiki/ F ก) 2.5 C# C# (C# Programming Language) ก .NET Framework Microsoft Anders Hejlsberg F ก ก ก C++ ( Delphi Java) C# ECMA ISO F ก C# F F F ก Hello world C#: public class ExampleClass { public static void Main () { System.Console.WriteLine ("Hello, world!") ; } } ก ก F Hello, world! (Console) F . F : public class ExampleClass ก ก Class, public F ก (Project) F F Class F F ก F F FF F F F ก Class public static void Main () F ก ก ก ก ก F ก ก F ก F ก F ExampleClass.Main () (public static void F F ก F F ก ) System.Console.WriteLine ("Hello, world!") ; ก ก Console ก , ก ก ( F DOS) F F F ก ก ก ก Console F WriteLine, F ======================================================================================================================================================================================== 51B22
  • 21. 2 ก ก F ก ก 12 ========================================================================================================================================================================================= F F F ก ก F (http://th.wikipedia.org/wiki/ F ) 2.6 Visual Basic .NET Visual Basic .NET VB.NET ก .NET Framework ก ก Visual Basic F กF ก ก F F ก Fก F กF Fก ก F F ก ก F F ก F ก Visual Basic .NET F F F ก Hello world VB.NET: Public Class ExampleClass Public Shared sub Main() System.Console.WriteLine("Hello, world!") End Sub End Class F ก F F Hello, world! console F : Public Class ExampleClass ก ก ExampleClass Public Project ก ก ก F F F F F End Class F Public Shared Sub Main() F ก ก ก F F F ExampleClass.Main()(public shared ก F กF ) System.Console.WriteLine("Hello, world!") ก FF ก F ก F method WriteLine Console ก F F String ก Console (http://th.wikipedia.org/wiki/ ก ) ======================================================================================================================================================================================== 51B22
  • 22. 2 ก ก F ก ก 13 ========================================================================================================================================================================================= 2.7 AForge.NET Framework AForge.NET Framework Framework C# F ก F F F F (Computer Vision) F (Artificial Intelligent) ก F ก (Image Processing) F (Neural Network) ก F (Genetic Algorithm) ก F (Machine Learning) AForge.NET Framework ก F ก 5 • AForge.Imaging ก • AForge.Neuro ก ก ก F • AForge.Genetic ก ก ก ก ก • AForge.Vision ก ก F F • AForge.Machine Learning ก ก ก F AForge.NET Framework download F ก F ก AForge.NET Framework 1) F ก ก F 2-8 ก Next F 2-8: ก ก AForge.NET Framework ======================================================================================================================================================================================== 51B22
  • 23. 2 ก ก F ก ก 14 ========================================================================================================================================================================================= 2) ก F 2-9 ก ก I accept the agreement F ก Next F 2-9: 2 ก AForge.NET Framework 3) ก Path AForge.NET Framework F ก Next 2-10 2-10: 3 ก AForge.NET Framework ======================================================================================================================================================================================== 51B22
  • 24. 2 ก ก F ก ก 15 ========================================================================================================================================================================================= 4) ก ก F ก Next 2-11 2-11: 4 ก AForge.NET Framework 5) ก Short Cut Start Menu ก F F F Folder Start Menu ก F F ก Next 2-12 2-12: 5 ก AForge.NET Framework ======================================================================================================================================================================================== 51B22
  • 25. 2 ก ก F ก ก 16 ========================================================================================================================================================================================= 6) ก F F 2-13 F ก Install F ก 2-13: 6 ก AForge.NET Framework 7) ก F 2-14 F ก F 2-14: 7 ก AForge.NET Framework ======================================================================================================================================================================================== 51B22
  • 26. 2 ก ก F ก ก 17 ========================================================================================================================================================================================= 8) ก F 2-15 ก Finish ก 2-15: 8 ก AForge.NET Framework 2.8 Internet Information Services (IIS) Internet Information Services (IIS) ก F F F Microsoft F Microsoft Windows F F F 2 ก ก Apache HTTP Server IIS F ก F F FTP SMTP HTTP/HTTPS F F F ======================================================================================================================================================================================== 51B22
  • 27. 2 ก ก F ก ก 18 ========================================================================================================================================================================================= ก Internet Information Services (IIS) 1) ก ก Add or Remove Program F Control Panel ก F 2-16 F ก ก Add/Remove Windows Component ก F กก 2-16: ก ก Internet Information Services (IIS) 2) ก Checkbox F F Internet information Services (IIS) F ก Details 2-17 2-17: 2 ก Internet Information Services (IIS) ======================================================================================================================================================================================== 51B22
  • 28. 2 ก ก F ก ก 19 ========================================================================================================================================================================================= 3) ก ก F 2-18 F ก ก component F ก F ก OK 2-18: 2 ก Internet Information Services (IIS) 4) ก ก F ก 2-19 ก Next ก 2-19: 3 ก Internet Information Services (IIS) ======================================================================================================================================================================================== 51B22
  • 29. 2 ก ก F ก ก 20 ========================================================================================================================================================================================= 5) ก F 2-20 ก F 2-20: 4 ก Internet Information Services (IIS) 6) ก ก F 2-21 ก Finish ก 2-21: F ก Internet Information Services (IIS) ======================================================================================================================================================================================== 51B22
  • 30. 2 ก ก F ก ก 21 ========================================================================================================================================================================================= 2.9 Simple Mail Transfer Protocol (SMTP) Simple Mail Transfer Protocol (SMTP) F F F SMTP F F F TCP F 25 ก F F ก F F F MX (Mail eXchange) DNS mail transfer agent ก F 50 ก F SMTP F ก Sendmail ก ก SMTP F ก F กF Postfix, qmail Microsoft Exchange F (http://th.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol) ======================================================================================================================================================================================== 51B22
  • 31. 3 ก F (Open Source) ก F 22 ========================================================================================================================================================================================= 3 ก F (Open Source) ก F ก F ก ก F (Open Source) ก F ก ก ก ก ก ก ก ก ก F F ก ก ก F F ก F F F 3.1 F ก ก 3.2 ก Open Source Andrew Kirillov 3.3 F Source Code ก ก 5 Andrew Kirillov 3.4 F ก ก ก ก Andrew Kirillov 3.5 ก Open Source Boss Watcher Mikail Cetinkaya 3.1 F ก ก 1) F ก F Hardware • ก F ( ก ก F F Fก F Microsoft LifeCam VX-1000) 2) F ก F Software • .NET Framework 2.0 • AForge.NET Framwork ( ก ก F F F F 1.5.0) • Codec F F ก F .avi F( ก ก F F F Windows Movie Video 9 VCM) ======================================================================================================================================================================================== 51B22
  • 32. 3 ก F (Open Source) ก F 23 ========================================================================================================================================================================================= 3.2 ก Open Source Andrew Kirillov 3-1: ก F ก Andrew Kirillov (http://www.codeproject.com/KB/audio-video/Motion_Detection.aspx) Class F ก Andrew Kirillov ก Andrew Kirillov ก F F F F F ก (Object Oriented Programming) 3-1 ก F Class F F ก ก Fก ก ก Class F Interface 1) Class Mainform Class ก F ก F F F Fก F F 2) Class Camera Class ก F ก ก ก F 3) Class CameraWindow Class ก F ก ก ก F กก F ก F ก 4) Class AVIWriter Class ก F ก ก ก F ก F F . avi 5) Interface IMotionDetector Interface ก F ก ก ก ก Andrew Kirillov F F 5 ก F F 5 Class F กF ======================================================================================================================================================================================== 51B22
  • 33. 3 ก F (Open Source) ก F 24 ========================================================================================================================================================================================= • Class MotionDetector1 Class ก ก ก ก ก 1 • Class MotionDetector2 Class ก ก ก ก ก 2 • Class MotionDetector3 Class ก ก ก ก ก 3 • Class MotionDetector3Optimized Class ก ก ก ก ก 3 F ก F F F กF ก • Class MotionDetector4 Class ก ก ก ก ก 4 F F ก ก ก ก ก 5 Andrew Kirillov F F F ก ก ก Andrew Kirillov F ก ก F ก ก ก F AForge.NET Framework F ก ก ก Andrew Kirillov F ก ก ก ก 4 • MotionDetector1 Andrew Kirillov F ก ก กF Fก F ก F ก F ก ก F (Pixel) F ก F Filter ก AForge.NET Framework F กF Difference ( ก ก F ก F 2 F F 3-2) Threshold ( ก F ก F Pixel F F ก F กF F Pixel F กF Pixel F F ก ก F F F 3-3) 3-2: ก F Filter Difference (http://www.codeproject.com/KB/audio-video/VisualSLPart2.aspx) ======================================================================================================================================================================================== 51B22
  • 34. 3 ก F (Open Source) ก F 25 ========================================================================================================================================================================================= 3-3: ก F Filter Threshold (http://www.codeproject.com/KB/audio-video/VisualSLPart2.aspx) กก F 2 Filter ก 2 ก ก ก F ก F F F (White Pixel) ก F ก F 2 F ก F กก F ก Noise (Noise ก ก ก ก F F ก ก F F ก ก Noise F F ก ก ก ) F F ก F F Noise F กก F ก ก F Andrew Kirillov F Filter ก AForge.NET Framework ก 1 F Noise ก Filter Erosion ก ก F F ก F ก 3-4 3-4: ก F MotionDetector1 (http://www.codeproject.com/KB/audio-video/Motion_Detection.aspx) ======================================================================================================================================================================================== 51B22
  • 35. 3 ก F (Open Source) ก F 26 ========================================================================================================================================================================================= • MotionDetector2 ก F F ก MotionDetector1 FF F F ก ก ก F ก F F ก ก F ก F ก ก ก ก ก ก ก F ก F ก ก F F F Fก ก F F F ก ก ก ก ก FF F Fก ก ก F F F Fก F F F ก ก ก F กF F F F F F F ก ก ก F ก ก F F Fก F F F F ก F ก F F ก F ก ก F F F F ก F ก F F F F ก F ก ก ก กF ก F ก F ก FF ก ก F ก ก ก ก ก F ก ก F F Filter moveTowardsFilter Fก ก F ก F ก ก ก Andrew Kirillov ก ก ก F F F ก Fก F ก F Filter edgesFilter 3-5 ======================================================================================================================================================================================== 51B22
  • 36. 3 ก F (Open Source) ก F 27 ========================================================================================================================================================================================= 3-5: ก F MotionDetector2 (http://www.codeproject.com/KB/audio-video/Motion_Detection.aspx) • MotionDetector3 Andrew Kirillov F MotionDetector2 F ก ก F Filter Pixellate F ก F F ก MotionDetecotr2 F ก FF F F F Fก F F F F F Fก ก F F F ก 3-6: ก F MotionDetector3 (http://www.codeproject.com/KB/audio-video/Motion_Detection.aspx) ======================================================================================================================================================================================== 51B22
  • 37. 3 ก F (Open Source) ก F 28 ========================================================================================================================================================================================= ก ก Andrew Kirillov F ก Fก F F ก MotionDetector3 F MotionDetector3Optimized F กF MotionDetector3Optimized ก ก MotionDetector3 F ก Source Code F F MotionDetector3Optimized F ก F F กก F ก ก ก ก F ก F F F Filter ก AForge.NET Framework F F MotionDetector3Optimized F F กF MotionDetector3 • MotionDetector4 ก MotionDetector2 Andrew Kirillov F ก ก ก F F F F ก Andrew Kirillov F F ก F F ก F F กก FF F F F F ก ก ก ก F 3-7: ก F MotionDetector4 (http://www.codeproject.com/KB/audio-video/Motion_Detection.aspx) ======================================================================================================================================================================================== 51B22
  • 38. 3 ก F (Open Source) ก F 29 ========================================================================================================================================================================================= ก F F Andrew Kirillov F ก ก F กก F F 3 • JPEG ก F F F กก F IP Camera ก Andrew Kirillov F F F • MJPEG กก F IP Camera ก F F F F F ก Andrew Kirillov • กก F Fก F ก Andrew Kirillov ก ก Andrew Kirillov ก F ก F F ก ก F F F F F ก Fก F ก Fก ก Andrew Kirillov Fก ก Fก F F2 ก F ก F กF F ก ก F 2 F F กF • ก FFF ก ก F F • ก ก F .avi Andrew Kirillov F F Class AVIWriter F ก ก F F F F ก ก F Fก ก F F F ก F F F F F 2008-11-30 20-53-36 F F F F 30 ก 2008 20:53:36 . F ======================================================================================================================================================================================== 51B22