SlideShare una empresa de Scribd logo
1 de 3
Descargar para leer sin conexión
[INC 281
       1 MULTIDISC
                 CIPLINARY W
                           WORKSHOP W
                                    WEEKLY REP
                                             PORT ]                             [March
                                                                                     h 29,2012] 

 
 
Name‐Surname                         ชาญวุฒิ สัน
                                               นเพชรเวสสกุล
                                     Chanwut s
                                             sanpetvessakul 
Student
      t ID                           542615066  
                                     INC 2B 



 




                                                                                           

ที่ผมไปศึก วันนี ้เป็ นงานของพี่ปี4 ทําการตรวจจับข ม(Human fall Detection)โดยมี blo
         กษา                          า          ของล้                            ock diagram ดังนี ้




        โดยผมได้ ทํากา กษา มาแล้ วว่าหลักการใน
                     ารศึ     ล้             นการตรวจจับภาพการล้ มลงข ้ ปวดนันสา
                                                        ภ           ของผู    ้ ามารถทําได้ จากการใช้
                                                                                            า
เขียนโปรแ
        แกรมภาษา Cเกิดขึ ้นโดยผ่านLiberal ที่มีชื่อ า OpenCV โดยตัวfile Liberal นี ้จะถูกแบ งออกเป็ น หล วน
                   กิ                             อว่        โ                            บ่           ลายส่
ใหญ่ๆในก ดการกับf รูปภาพหรื อ file วีดิโอ โดย Liberal โดยแบ่งออกดังนี ้
       การจั    file                        ย

         

         
[INC 281
       1 MULTIDISC
                 CIPLINARY W
                           WORKSHOP W
                                    WEEKLY REP
                                             PORT ]                              [March
                                                                                      h 29,2012] 

 
 
OpenCV API Refere
     V          ence

    •   core. The Co Functionality
                   ore
    •   imgproc. Ima Process
                     age          sing
    •   highgui. High-level GUI and Media I/
                                   a          /O
    •   video. Video Analysis
                     o
    •   calib3d. Cam mera Calibration and 3D Reconstruct tion
    •   features2d. 2 Features Framework
                      2D          s           k
    •   objdetect. OObject Detection
    •   ml. Machine Learning
                    e
    •   flann. Clusteering and Search in Multi--Dimensiona Spaces
                                                         al
    •   gpu. GPU-ac   ccelerated Computer Vis
                                  C           sion
    •   photo. Comp  putational Ph hotography
    •   stitching. Images stitchinng
    •   nonfree. Non  n-free functio
                                   onality

โดย Lib ทังหมดนี ้ มีการแบ่งแย
      beral ้ นี             ยกการใช้ งานต ามคําอธิ บายไ http://opencv.itseez.com ถ้ าเราโหลด lib จาก
                                                       ไป                       m/
http://o
       opencv.willow
                   wgarage.com          ome เมื่อเราลองเปิ ดภายในดมนจะมี simp code ของ
                             m/wiki/Welco                        ดู ั       ple      งโปรแกรม
หลายๆอยางให้ เราได้ ทด
      ย่             ดลองใช้ ดครับเช่น ตรวจจับใบ า ตรวจจับวัตถุเคลื่อนไห โดยตัวผมเอ เคยใช้ Libe พวกนี ้
                              ู เ              บหน้     บ              หว         องก็        eral
ไปบ้ างส่วนแล้ ว โดยโปรแกรมของพี่เขา การใช้ Liberral แต่ละประเภ
                                   ามี                        ภทรวมกับอัลกอ ทมที่พี่กลุมเข ดขึ ้นมา 
                                                                          อริ ึ       ่ เขาคิ

 




                                                                                          

 

 

 

 
[INC 281
       1 MULTIDISC
                 CIPLINARY W
                           WORKSHOP W
                                    WEEKLY REP
                                             PORT ]                                   [March
                                                                                           h 29,2012] 

 
 
 

หลักการทํางาน 

    1.   การทํ างานกล้ องจะทํ าการถายรู ปมาแล้ ว นํ าเอามาเก็บเอาไว้ ในตัวแป ปภาพที่ เรา
                    ล้            ถ่                                       ปรรู        าสามารถหาใชได้ ใน lib
                                                                                                 ช้
         Opencv หลังจากนันภาพจะถูกทําให้ เป็ น
                         ้                   นภาพขาวดํา แล้ ว invert ภา เกิดขึน จนส ดท้ ายภาพที่ได้
                                                        แ             าพ      ้ สุ                             จะเป็ น
         ภาพวัตถุ เท่านัน 
                        ้
    2.   โดยการกํ าหน น จะมีการ านวณให้ มีก
                    นดนั ้    รคํ         การตรวจจับวัตถุที่กําลังเคลือนที่ สามารถต
                                                      ต               ่อ          ตรวจจับได้ โดยการที่เรา
         คิดอัลกอรึ ทึมวา เมื่อเรามีการเดินเกิดขึ ้นโด
                       ว่                            ดยเอาค่าเก่าขอ
                                                                  องภาพแล้ วค่าใหม่ของภาพม ยบ เราจะ สามารถที่
                                                                               ใ         มาเที
         จะกําหนด บริ
                   รเวณทังหมดที่เกิดการเปลี่ยน
                         ้                   นแปลงหรื อนันก็ คือ บริ เวณที่เป็ นคนนันเอง
                                                         น
                                                         ้              ที          ้ งจากนันคือนํายกเว้ นค่า
                                                                                            ้     า
         เหล่านัน เปลี่ย เป็ น สีดําให้ หมดแล้ วเอา าที่เลือกเป็ นสีขาวโดย เราส
                ้      ยนให้        ใ             าค่            น            สามารถได้ ผ่าน    lib Opencv ในหมวด
                                                                                                         v

         ของ คําสังของ imgproc.  
                  ่
    3.   ถ้ าคนการล้ มล าคิดตามจริงเราสามารถกํา บริ เวณที่พื ้นที่ไม่ใช่หน้าต่าง หรื อ ค่าข วแปลงคน นมีพื ้นที่
                      ลงถ้                    าหนด     ที                  า              ของตั   นนั ้
         น้ อย(คนล้ ม) เม่อรู้ก็คือส่งแจ้ งออกไปจากคอ นเสียงหรืออะไรก็ได้ ที่กาหนดให้ กบกา รแจ้ งเตือน 
                        มื                ง         อมเป็      อ              ํา       ั

    หลักการทํางานเหลานีเ้ ป็ นสิ่งที่ผมคิดเองจากเเท่าที่ดูจากของ ่เขาแล้ วมาทาความเข้ าใจ
                   ล่                ผ                         งพี          ทํ          จเองจากการที่เคยใช้ lib
Opencv แต่จะไม่สามารถทําได้ จริ งถ้ าไม่เกิดการลอง าจริ งๆเกิดขึ ้นสิ่งที่พดมาคือสิ่งที่ เข้ าใจแล้ วอธิบายคราว บหรื อ
                                    า            งทํ              ้        ู    อ                ล้           วๆครั
ถ้ าต้ องกา วอย่างที่เหมือนๆๆกับ โปรเจคนี ้ก็สามารถ จาก sim
          ารตั         มื                         ถหาได้  mple code อยางเช่นตัวอย่าง านล่างนี ้
                                                                     ย่            งด้




 

                                                            

                                                            

Más contenido relacionado

Destacado

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Destacado (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

54261506 inc2 b

  • 1. [INC 281 1 MULTIDISC CIPLINARY W WORKSHOP W WEEKLY REP PORT ]  [March h 29,2012]      Name‐Surname  ชาญวุฒิ สัน นเพชรเวสสกุล Chanwut s sanpetvessakul  Student t ID  542615066   INC 2B                      ที่ผมไปศึก วันนี ้เป็ นงานของพี่ปี4 ทําการตรวจจับข ม(Human fall Detection)โดยมี blo กษา า ของล้ ock diagram ดังนี ้ โดยผมได้ ทํากา กษา มาแล้ วว่าหลักการใน ารศึ ล้ นการตรวจจับภาพการล้ มลงข ้ ปวดนันสา ภ ของผู ้ ามารถทําได้ จากการใช้ า เขียนโปรแ แกรมภาษา Cเกิดขึ ้นโดยผ่านLiberal ที่มีชื่อ า OpenCV โดยตัวfile Liberal นี ้จะถูกแบ งออกเป็ น หล วน กิ อว่ โ บ่ ลายส่ ใหญ่ๆในก ดการกับf รูปภาพหรื อ file วีดิโอ โดย Liberal โดยแบ่งออกดังนี ้ การจั file ย    
  • 2. [INC 281 1 MULTIDISC CIPLINARY W WORKSHOP W WEEKLY REP PORT ]  [March h 29,2012]      OpenCV API Refere V ence • core. The Co Functionality ore • imgproc. Ima Process age sing • highgui. High-level GUI and Media I/ a /O • video. Video Analysis o • calib3d. Cam mera Calibration and 3D Reconstruct tion • features2d. 2 Features Framework 2D s k • objdetect. OObject Detection • ml. Machine Learning e • flann. Clusteering and Search in Multi--Dimensiona Spaces al • gpu. GPU-ac ccelerated Computer Vis C sion • photo. Comp putational Ph hotography • stitching. Images stitchinng • nonfree. Non n-free functio onality โดย Lib ทังหมดนี ้ มีการแบ่งแย beral ้ นี ยกการใช้ งานต ามคําอธิ บายไ http://opencv.itseez.com ถ้ าเราโหลด lib จาก ไป m/ http://o opencv.willow wgarage.com ome เมื่อเราลองเปิ ดภายในดมนจะมี simp code ของ m/wiki/Welco ดู ั ple  งโปรแกรม หลายๆอยางให้ เราได้ ทด ย่ ดลองใช้ ดครับเช่น ตรวจจับใบ า ตรวจจับวัตถุเคลื่อนไห โดยตัวผมเอ เคยใช้ Libe พวกนี ้ ู เ บหน้ บ หว องก็ eral ไปบ้ างส่วนแล้ ว โดยโปรแกรมของพี่เขา การใช้ Liberral แต่ละประเภ ามี ภทรวมกับอัลกอ ทมที่พี่กลุมเข ดขึ ้นมา  อริ ึ ่ เขาคิ            
  • 3. [INC 281 1 MULTIDISC CIPLINARY W WORKSHOP W WEEKLY REP PORT ]  [March h 29,2012]        หลักการทํางาน  1. การทํ างานกล้ องจะทํ าการถายรู ปมาแล้ ว นํ าเอามาเก็บเอาไว้ ในตัวแป ปภาพที่ เรา ล้ ถ่ ปรรู าสามารถหาใชได้ ใน lib ช้ Opencv หลังจากนันภาพจะถูกทําให้ เป็ น ้ นภาพขาวดํา แล้ ว invert ภา เกิดขึน จนส ดท้ ายภาพที่ได้ แ าพ ้ สุ จะเป็ น ภาพวัตถุ เท่านัน  ้ 2. โดยการกํ าหน น จะมีการ านวณให้ มีก นดนั ้ รคํ การตรวจจับวัตถุที่กําลังเคลือนที่ สามารถต ต ่อ ตรวจจับได้ โดยการที่เรา คิดอัลกอรึ ทึมวา เมื่อเรามีการเดินเกิดขึ ้นโด ว่ ดยเอาค่าเก่าขอ องภาพแล้ วค่าใหม่ของภาพม ยบ เราจะ สามารถที่ ใ มาเที จะกําหนด บริ รเวณทังหมดที่เกิดการเปลี่ยน ้ นแปลงหรื อนันก็ คือ บริ เวณที่เป็ นคนนันเอง น ้ ที ้ งจากนันคือนํายกเว้ นค่า ้ า เหล่านัน เปลี่ย เป็ น สีดําให้ หมดแล้ วเอา าที่เลือกเป็ นสีขาวโดย เราส ้ ยนให้ ใ าค่ น สามารถได้ ผ่าน lib Opencv ในหมวด v ของ คําสังของ imgproc.   ่ 3. ถ้ าคนการล้ มล าคิดตามจริงเราสามารถกํา บริ เวณที่พื ้นที่ไม่ใช่หน้าต่าง หรื อ ค่าข วแปลงคน นมีพื ้นที่ ลงถ้ าหนด ที า ของตั นนั ้ น้ อย(คนล้ ม) เม่อรู้ก็คือส่งแจ้ งออกไปจากคอ นเสียงหรืออะไรก็ได้ ที่กาหนดให้ กบกา รแจ้ งเตือน  มื ง อมเป็ อ ํา ั หลักการทํางานเหลานีเ้ ป็ นสิ่งที่ผมคิดเองจากเเท่าที่ดูจากของ ่เขาแล้ วมาทาความเข้ าใจ ล่ ผ งพี ทํ จเองจากการที่เคยใช้ lib Opencv แต่จะไม่สามารถทําได้ จริ งถ้ าไม่เกิดการลอง าจริ งๆเกิดขึ ้นสิ่งที่พดมาคือสิ่งที่ เข้ าใจแล้ วอธิบายคราว บหรื อ า งทํ ้ ู อ ล้ วๆครั ถ้ าต้ องกา วอย่างที่เหมือนๆๆกับ โปรเจคนี ้ก็สามารถ จาก sim ารตั มื ถหาได้ mple code อยางเช่นตัวอย่าง านล่างนี ้ ย่ งด้