SlideShare uma empresa Scribd logo
1 de 3
Baixar para ler offline
[INC 281
                     1 MULTIDIS
                              SCIPLINARY  WORKSHO
                                                OP WEEKLY REPORT]                                   March 29, 2012 
                                                                                                                       
                        ชาญวุฒิ สันเพชรเวสสกุล  
                                  น
   Nam
     me‐Surname 
                     Chanwut s          kul 
                             sanpetvessak
        Student ID.  54261506  
       Group Name  INC 2B 
 Engineering Team 
                    
        Members 
    Prod
       duct Design 
   Teamm Members 
 
Weekly Progress 




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




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

                                          Depart
                                               tment of Con
                                                          ntrol System and Instrum entation Eng
                                                                                              gineering 
                                             KIN
                                               NG MONGKU  UT’s UNIVERS SITY OF TECH
                                                                                  HNOLOGY TH  HONBURI 
[INC 281
                 1 MULTIDIS
                          SCIPLINARY  WORKSHO
                                            OP WEEKLY REPORT]                              March 29, 2012 
                                                                                                               
OpenC API Reference
    CV

    •   core. The C Core Functioonality
    •   imgproc. Im mage Proces  ssing
    •   highgui. Hig gh-level GUI and Media I/O
                                  I
    •   video. Vide Analysis
                    eo
    •   calib3d. Ca amera Calibr ration and 3D Reconstruc
                                             D           ction
    •   features2d. 2D Feature Framewor
                                es           rk
    •   objdetect. OObject Detec ction
    •   ml. Machine Learning
    •   flann. Clust tering and Search in Mul ti-Dimension Spaces
                                                         nal
    •   gpu. GPU-a   accelerated Computer V ision
    •   photo. Com mputational Photography
                                 P
    •   stitching. Im
                    mages stitching
    •   nonfree. No  on-free functtionality

โดย Liberal ทังหมดนี ้ มีการแบ่งแย
                  ้                ยกการใช้ งานต าอธิ บายไ http://open
                                                ตามคํ         ไป          ncv.itseez.com ถ้ าเราโหลด lib จาก
                                                                                         m/        ด
http:///opencv.willo owgarage.com/wiki/Welc      come เมื่อเราล
                                                              ลองเปิ ดภายใน มนจะมี sim
                                                                          นดู ั       mple code ของโปรแกรม
หลายๆอ างให้ เราได้ ท
       อย่           ทดลองใช้ ดครับเช่น ตรวจจับใ า ตรวจจับวัตถุเคลื่อนไห โดยตัวผมเอ เคยใช้ Libe พวกนี ้
                               ู บ              ใบหน้         บ           หว             องก็      eral
ไปบ้ างส่วนแล้ ว โดยโป
       ส่            ปรแกรมของพี่เขามีการใช้ Libe แต่ละประเภทรวมกับอัลกอริ ทมที่พี่กลุม ดขึ ้นมา 
                                  ข              eral                     ก ึ          ่ มเขาคิ
 




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

                                      Depart
                                           tment of Con
                                                      ntrol System and Instrum entation Eng
                                                                                          gineering 
                                         KIN
                                           NG MONGKU  UT’s UNIVERS SITY OF TECH
                                                                              HNOLOGY TH  HONBURI 
[INC 281
                        1 MULTIDIS
                                 SCIPLINARY  WORKSHO
                                                   OP WEEKLY REPORT]                                      March 29, 2012 
                                                                                                                                  
        2.      โดยการกําหนดนัน จะมีการคํานวณให้ มี การตรวจจับวัตถุที่กําลังเคลือนที่ สามารถ ตรวจจับได้ โดยการที่เรา
                                    ้          า                              ั          ่
                คิดอัลกอรึทม า เมื่อเรามีการเดินเกิดขึ ้นโด
                              มว่
                              ึ                               ดยเอาค่าเก่าของภาพแล้ วค่าใหม่ของภาพม ยบ เราจะ สามารถที่
                                                                                                     มาเที
                จะกําหนด บริิ เวณทังหมดที่เกิดการเปลี่ย นแปลงหรื อนันก็ คือ บริ เวณที่เป็ นคนนันเอ
                                       ้       ที                           น
                                                                            ้                      ้ องจากนันคือนํายกเว้ นค่า
                                                                                                             ้       า
                เหล่านัน เปลียนให้ เป็ น สีดาให้ หมดแล้ วเอ าค่าที่เลือกเป็ นสีขาวโดย เราส
                          ้      ่             ํา                           น            สามารถได้ ผ่าน lib Opencv ในหมวด
                                                                                                                     v
                ของ คําสังขอ imgproc.  
                            ่ อง
           3. ถ้ าคนการล้ ม าคิดตามจ งเราสามารถ าหนด บริ เวณที่พื ้นที่ไม่ใช่หน้ าต่าง หรื อ ค่าของตัวแปล
                              มลงถ้             จริ          ถกํ            ว           ช                            ลงคนนันมี
                                                                                                                           ้
                พื ้นที่น้อย(คน ม) เมื่อรู้ก็คอส่งแจ้ งออกไปจากคอมเป็ นเสียงหรื ออะไรก็ได้ ที่กําหนดให้ กบการแจ้ งเตือน 
                                นล้           ือ                            สี           ไ           ห้ ั            อ
           หลักการทํางานเห านีเ้ ป็ นสิ่งที่ผมคิดเองจาก เท่าที่ดูจากขอ ่เขาแล้ วมาทําความเข้ าใจ
              ั                 หล่                                       องพี                        จเองจากการที่เคยใช้ lib
                                                                                                                   ที
    Opencv แต่จะไม่สามารถทําได้ จริ งถ้้ าไม่เกิดการลอ าจริ งๆเกิดขึ ้นสิงที่พดมาคือสิงที่ เข้ าใจแล้ วอธิบายคราว บหรื อ
              v                                              องทํ               ่ ู      อ่           ล้            วๆครั
    ถ้ าต้ องก วอย่างที่เห อนๆๆกับ โป
             การตั              หมื           ปรเจคนี ้ก็สามาร
                                                             รถหาได้ จาก simple code อย่างเช่นตัวอย่า านล่างนี ้
                                                                                        อ             างด้




              
     
                                                                                                 
 
 




                                                Depart
                                                     tment of Con
                                                                ntrol System and Instrum entation Eng
                                                                                                    gineering 
                                                   KIN
                                                     NG MONGKU  UT’s UNIVERS SITY OF TECH
                                                                                        HNOLOGY TH  HONBURI 

Mais conteúdo relacionado

Destaque

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 HubspotMarius Sescu
 
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 ChatGPTExpeed Software
 
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 EngineeringsPixeldarts
 
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 HealthThinkNow
 
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.pdfmarketingartwork
 
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 2024Neil Kimberley
 
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)contently
 
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 2024Albert Qian
 
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 InsightsKurio // The Social Media Age(ncy)
 
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 2024Search Engine Journal
 
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 summarySpeakerHub
 
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 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 Tessa Mero
 
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 IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
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 managementMindGenius
 
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...RachelPearson36
 

Destaque (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 MULTIDIS SCIPLINARY  WORKSHO OP WEEKLY REPORT] March 29, 2012    ชาญวุฒิ สันเพชรเวสสกุล   น Nam me‐Surname  Chanwut s kul  sanpetvessak Student ID.  54261506   Group Name  INC 2B  Engineering Team    Members  Prod duct Design  Teamm Members    Weekly Progress                     ที่ผมไปศึกษา วันนี ้เป็ น ศึ นงานของพี่ปี4 ทําการตรวจจับ ท บของล้ ม(Human fall Detec โดยมี bllock diagram ดังนี ้ ction) m  โดยผมได้ ทําก กษา มาแ วว่าหลักการใ การศึ แล้ ในการตรวจจับภาพการล้ มลง ้ ปวดนันส บ งของผู ้ สามารถทําได้ จากการใช้ จ เขียนโปร รแกรมภาษา Cเกิดขึ ้นโดยผ่านLiberal ที่มีชื่ อว่า OpenCV โดยตัวfile Liberal นี ้จะถูกแ งออกเป็ น หลายส่วน ชื V  แบ่ ห ใหญ่ๆใน ดการกับfileรูปภาพหรือ file วีดิโอ โด Liberal โดย งออกดังนี ้ นการจั ดย ยแบ่               Depart tment of Con ntrol System and Instrum entation Eng gineering  KIN NG MONGKU UT’s UNIVERS SITY OF TECH HNOLOGY TH HONBURI 
  • 2. [INC 281 1 MULTIDIS SCIPLINARY  WORKSHO OP WEEKLY REPORT] March 29, 2012    OpenC API Reference CV • core. The C Core Functioonality • imgproc. Im mage Proces ssing • highgui. Hig gh-level GUI and Media I/O I • video. Vide Analysis eo • calib3d. Ca amera Calibr ration and 3D Reconstruc D ction • features2d. 2D Feature Framewor es rk • objdetect. OObject Detec ction • ml. Machine Learning • flann. Clust tering and Search in Mul ti-Dimension Spaces nal • gpu. GPU-a accelerated Computer V ision • photo. Com mputational Photography P • stitching. Im mages stitching • nonfree. No on-free functtionality โดย Liberal ทังหมดนี ้ มีการแบ่งแย ้ ยกการใช้ งานต าอธิ บายไ http://open ตามคํ ไป ncv.itseez.com ถ้ าเราโหลด lib จาก m/ ด http:///opencv.willo owgarage.com/wiki/Welc come เมื่อเราล ลองเปิ ดภายใน มนจะมี sim นดู ั mple code ของโปรแกรม หลายๆอ างให้ เราได้ ท อย่ ทดลองใช้ ดครับเช่น ตรวจจับใ า ตรวจจับวัตถุเคลื่อนไห โดยตัวผมเอ เคยใช้ Libe พวกนี ้ ู บ ใบหน้ บ หว องก็ eral ไปบ้ างส่วนแล้ ว โดยโป ส่ ปรแกรมของพี่เขามีการใช้ Libe แต่ละประเภทรวมกับอัลกอริ ทมที่พี่กลุม ดขึ ้นมา  ข eral ก ึ ่ มเขาคิ       หลักการทํางาน  1. การทํ างานกล้ องจะทําการ ายรู ปมาแล้ ว าเอามาเก็บเอาไว้ ในตัวแป ปภาพที่เรา รถ่ วนํ บ ปรรู าสามารถหาใช้ ได้ ใน lib Opencv หลังจากนันภาพจ กทําให้ เป็ น ั ้ จะถู นภาพขาวดํา แล้ ว invert ภา เกิดขึ ้น จน ดท้ ายภาพที่ได้ จะเป็ น แ าพ นสุ ภาพวัตถุ เท่า น  านั ้           Depart tment of Con ntrol System and Instrum entation Eng gineering  KIN NG MONGKU UT’s UNIVERS SITY OF TECH HNOLOGY TH HONBURI 
  • 3. [INC 281 1 MULTIDIS SCIPLINARY  WORKSHO OP WEEKLY REPORT] March 29, 2012    2. โดยการกําหนดนัน จะมีการคํานวณให้ มี การตรวจจับวัตถุที่กําลังเคลือนที่ สามารถ ตรวจจับได้ โดยการที่เรา ้ า ั ่ คิดอัลกอรึทม า เมื่อเรามีการเดินเกิดขึ ้นโด มว่ ึ ดยเอาค่าเก่าของภาพแล้ วค่าใหม่ของภาพม ยบ เราจะ สามารถที่ มาเที จะกําหนด บริิ เวณทังหมดที่เกิดการเปลี่ย นแปลงหรื อนันก็ คือ บริ เวณที่เป็ นคนนันเอ ้ ที น ้ ้ องจากนันคือนํายกเว้ นค่า ้ า เหล่านัน เปลียนให้ เป็ น สีดาให้ หมดแล้ วเอ าค่าที่เลือกเป็ นสีขาวโดย เราส ้ ่ ํา น สามารถได้ ผ่าน lib Opencv ในหมวด v ของ คําสังขอ imgproc.   ่ อง 3. ถ้ าคนการล้ ม าคิดตามจ งเราสามารถ าหนด บริ เวณที่พื ้นที่ไม่ใช่หน้ าต่าง หรื อ ค่าของตัวแปล มลงถ้ จริ ถกํ ว ช ลงคนนันมี ้ พื ้นที่น้อย(คน ม) เมื่อรู้ก็คอส่งแจ้ งออกไปจากคอมเป็ นเสียงหรื ออะไรก็ได้ ที่กําหนดให้ กบการแจ้ งเตือน  นล้ ือ สี ไ ห้ ั อ หลักการทํางานเห านีเ้ ป็ นสิ่งที่ผมคิดเองจาก เท่าที่ดูจากขอ ่เขาแล้ วมาทําความเข้ าใจ ั หล่ องพี จเองจากการที่เคยใช้ lib ที Opencv แต่จะไม่สามารถทําได้ จริ งถ้้ าไม่เกิดการลอ าจริ งๆเกิดขึ ้นสิงที่พดมาคือสิงที่ เข้ าใจแล้ วอธิบายคราว บหรื อ v องทํ ่ ู อ่ ล้ วๆครั ถ้ าต้ องก วอย่างที่เห อนๆๆกับ โป การตั หมื ปรเจคนี ้ก็สามาร รถหาได้ จาก simple code อย่างเช่นตัวอย่า านล่างนี ้ อ างด้             Depart tment of Con ntrol System and Instrum entation Eng gineering  KIN NG MONGKU UT’s UNIVERS SITY OF TECH HNOLOGY TH HONBURI