SlideShare uma empresa Scribd logo
1 de 49
Baixar para ler offline
Распознавание образов и технологии
                     Augmented Reality в мобильных
                            приложениях


                                      Степанов Александр
                                           iOS Developer




пятница, 14 декабря 12 г.
What is AR ?



пятница, 14 декабря 12 г.
Iron
                            Man




пятница, 14 декабря 12 г.
Minority report




пятница, 14 декабря 12 г.
In real




пятница, 14 декабря 12 г.
Google Eyes




пятница, 14 декабря 12 г.
Juniper research, 2011
пятница, 14 декабря 12 г.
AR Types

                ‣ Location based
                ‣ Image recognition
                ‣ Face recognition


пятница, 14 декабря 12 г.
Location based
   ‣ Location (GPS)
   ‣ Accelerometr
   ‣ Magnetometr +
           Gyroscope
   ‣ Mapkit

пятница, 14 декабря 12 г.
Location based

                     ‣

                     ‣
                     ‣       ...

пятница, 14 декабря 12 г.
ARKit
              • https://github.com/zac/iphonearkit/
              • https://github.com/nielswh/iPhone-AR-Toolkit


              ✓ Free, open source (not GPL)
              - Gyroscope support
              - Different devices (iPhone, iPad, iPod)
                support


пятница, 14 декабря 12 г.
• http://3dar.us/


    ✓ Gyroscope (CoreMotion)
    ✓ OpenGL 3D markers
    - Free - branded
    - 4 995 $ for unbranded



пятница, 14 декабря 12 г.
Image based

           ‣ Marker - based

           ‣ Markerless

пятница, 14 декабря 12 г.
Marker - based
       • https://github.com/benlodotcom/VRToolKit




       ✓ Free Open source
       - GPL
       - Low performance




пятница, 14 декабря 12 г.
Marker - based
       • https://github.com/jonmarimba/NyArToolkit-iOS




       ✓ Free Open source
       ✓ Good performance
       ✓ Unity3D
       - GPL


пятница, 14 декабря 12 г.
✓ Українці
                            ✓ Geo-position SDK
                            - Licensing terms



пятница, 14 декабря 12 г.
✓ Unity3D
         ✓ Marker is more flexible


         - 485 € : 1year, 1 app, 1 marker, brandable
         - 6 795 € : 1year, 1 app, no limits

пятница, 14 декабря 12 г.
Markerless

       • Pattern recognition
       • Tracking
       • 3D pose estimation



пятница, 14 декабря 12 г.
OpenCV




пятница, 14 декабря 12 г.
OpenCV
        • http://opencv.org/
        • https://github.com/Itseez/opencv


        ✓ Standalone (MacOS, Linux, Windows)
        ✓ Mobile (Android, iOS from 2.3.1)
        - No optimization for mobile (NEON)




пятница, 14 декабря 12 г.
OpenCV
   Optimization
   http://www.aorensoftware.com/blog/2011/03/31/bullet-
   physics-optimization-for-ios/

   ✓ {opencv}/ios/cmake/Modules/Platform/iOS.cmake
         #43 set (CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG -O3 -fomit-frame-
         pointer -ffast-math -mfpu=neon -mdynamic-no-pic")


   ✓ Compiler: Clang -> llvm-gcc4.2



пятница, 14 декабря 12 г.
OpenCV
   Optimization
   https://github.com/aptogo/OpenCVForiPhone
   Version 2.2-2.3




   More about NEON :
   http://habrahabr.ru/post/156809/




пятница, 14 декабря 12 г.
Pattern recognition
    1.Feature detection

                                                         •STAR
                                                         •MSER
                                                         •SURF
                                                         •GFTT
                                                         •FAST

  http://computer-vision-talks.com/2011/07/comparison-of-the-opencvs-feature-detection-algorithms-ii/

пятница, 14 декабря 12 г.
Pattern recognition
    2. Descriptor

                                    •BRIEF
                                    •SURF
                                    •SIFT




пятница, 14 декабря 12 г.
Pattern recognition
     2. Matching




пятница, 14 декабря 12 г.
Pattern recognition




                            • Brute force
                            • FLANN
                            • Find nearest
                            • dist < Eps
пятница, 14 декабря 12 г.
Pattern recognition




                            RANSAC

пятница, 14 декабря 12 г.
Tracking
                            Lucas-Kanade Optical Flow algorithm

 • http://www.hatzlaha.co.il/150842/Lucas-Kanade-
   Detection-for-the-iPhone


 ✓ Implemented in OpenCV
 - Low performance




пятница, 14 декабря 12 г.
Tracking
                            Template matching based tracking


               • http://cvlab.epfl.ch/~lepetit/


               ✓ Faster
               ✓ Accurate
               - Require hard-computational learning



пятница, 14 декабря 12 г.
3D Pose estimation
                            Frame
                                                    Model view matrix
                            Polygon            3D Projection matrix
                            Homography



                             http://habrahabr.ru/post/139429/



пятница, 14 декабря 12 г.
My experience
       • Ferns http://cvlab.epfl.ch/research/completed/
               surface/ferns/

       • Template matching tracking
       •                           http://isgl3d.com/




пятница, 14 декабря 12 г.
Demo




пятница, 14 декабря 12 г.
- Several markers



пятница, 14 декабря 12 г.
• http://www.qualcomm.com/solutions/augmented-
       reality


     ✓ Free to use in commercial apps
     ✓ iOS & Android
     ✓ Unity3D extension
пятница, 14 декабря 12 г.
✓ Fast and robust




пятница, 14 декабря 12 г.
✓ Fast and robust

         ✓ Really fast and robust !




пятница, 14 декабря 12 г.
✓ Image target


           Up to 50 markers




пятница, 14 декабря 12 г.
✓ Virtual Buttons




пятница, 14 декабря 12 г.
✓ Multi Targets




пятница, 14 декабря 12 г.
✓ Online tool: https://ar.qualcomm.at/sdk
                    Registration required


         ✓ NinevehGL supports Vuforia SDK
                 http://nineveh.gl/




пятница, 14 декабря 12 г.
Need Markerless AR ?


                            Use


        http://socialcompare.com/en/comparison/augmented-
                             reality-sdks
пятница, 14 декабря 12 г.
Face tracking


         ✓ OpenCV Haar
           classification




пятница, 14 декабря 12 г.
Face tracking

      https://github.com/aptogo/FaceTracker
      http://opencv.org/


      ✓ Not only face,
              but face features too !




пятница, 14 декабря 12 г.
- Too slow
                            - 2D only
пятница, 14 декабря 12 г.
3D Face contours tracking




пятница, 14 декабря 12 г.
3D Face contours tracking

        ✓ Fast enough for 2 cores
                    Smartphones CPU
        ✓ Tracks contours in realtime
        ✓Emotions recognition


пятница, 14 декабря 12 г.
Demo




пятница, 14 декабря 12 г.
3D Face contours tracking

        ✓ Licensing

        ✓ iOS/Android
                    App development partnership


пятница, 14 декабря 12 г.
Спасибо за
                            внимание !

                                   Степанов Александр
                                    yltastep@gmail.com


пятница, 14 декабря 12 г.

Mais conteúdo relacionado

Destaque

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
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Destaque (20)

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...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 

Alex Stepanov UAMobile2012

  • 1. Распознавание образов и технологии Augmented Reality в мобильных приложениях Степанов Александр iOS Developer пятница, 14 декабря 12 г.
  • 2. What is AR ? пятница, 14 декабря 12 г.
  • 3. Iron Man пятница, 14 декабря 12 г.
  • 4. Minority report пятница, 14 декабря 12 г.
  • 5. In real пятница, 14 декабря 12 г.
  • 6. Google Eyes пятница, 14 декабря 12 г.
  • 7. Juniper research, 2011 пятница, 14 декабря 12 г.
  • 8. AR Types ‣ Location based ‣ Image recognition ‣ Face recognition пятница, 14 декабря 12 г.
  • 9. Location based ‣ Location (GPS) ‣ Accelerometr ‣ Magnetometr + Gyroscope ‣ Mapkit пятница, 14 декабря 12 г.
  • 10. Location based ‣ ‣ ‣ ... пятница, 14 декабря 12 г.
  • 11. ARKit • https://github.com/zac/iphonearkit/ • https://github.com/nielswh/iPhone-AR-Toolkit ✓ Free, open source (not GPL) - Gyroscope support - Different devices (iPhone, iPad, iPod) support пятница, 14 декабря 12 г.
  • 12. • http://3dar.us/ ✓ Gyroscope (CoreMotion) ✓ OpenGL 3D markers - Free - branded - 4 995 $ for unbranded пятница, 14 декабря 12 г.
  • 13. Image based ‣ Marker - based ‣ Markerless пятница, 14 декабря 12 г.
  • 14. Marker - based • https://github.com/benlodotcom/VRToolKit ✓ Free Open source - GPL - Low performance пятница, 14 декабря 12 г.
  • 15. Marker - based • https://github.com/jonmarimba/NyArToolkit-iOS ✓ Free Open source ✓ Good performance ✓ Unity3D - GPL пятница, 14 декабря 12 г.
  • 16. ✓ Українці ✓ Geo-position SDK - Licensing terms пятница, 14 декабря 12 г.
  • 17. ✓ Unity3D ✓ Marker is more flexible - 485 € : 1year, 1 app, 1 marker, brandable - 6 795 € : 1year, 1 app, no limits пятница, 14 декабря 12 г.
  • 18. Markerless • Pattern recognition • Tracking • 3D pose estimation пятница, 14 декабря 12 г.
  • 20. OpenCV • http://opencv.org/ • https://github.com/Itseez/opencv ✓ Standalone (MacOS, Linux, Windows) ✓ Mobile (Android, iOS from 2.3.1) - No optimization for mobile (NEON) пятница, 14 декабря 12 г.
  • 21. OpenCV Optimization http://www.aorensoftware.com/blog/2011/03/31/bullet- physics-optimization-for-ios/ ✓ {opencv}/ios/cmake/Modules/Platform/iOS.cmake #43 set (CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG -O3 -fomit-frame- pointer -ffast-math -mfpu=neon -mdynamic-no-pic") ✓ Compiler: Clang -> llvm-gcc4.2 пятница, 14 декабря 12 г.
  • 22. OpenCV Optimization https://github.com/aptogo/OpenCVForiPhone Version 2.2-2.3 More about NEON : http://habrahabr.ru/post/156809/ пятница, 14 декабря 12 г.
  • 23. Pattern recognition 1.Feature detection •STAR •MSER •SURF •GFTT •FAST http://computer-vision-talks.com/2011/07/comparison-of-the-opencvs-feature-detection-algorithms-ii/ пятница, 14 декабря 12 г.
  • 24. Pattern recognition 2. Descriptor •BRIEF •SURF •SIFT пятница, 14 декабря 12 г.
  • 25. Pattern recognition 2. Matching пятница, 14 декабря 12 г.
  • 26. Pattern recognition • Brute force • FLANN • Find nearest • dist < Eps пятница, 14 декабря 12 г.
  • 27. Pattern recognition RANSAC пятница, 14 декабря 12 г.
  • 28. Tracking Lucas-Kanade Optical Flow algorithm • http://www.hatzlaha.co.il/150842/Lucas-Kanade- Detection-for-the-iPhone ✓ Implemented in OpenCV - Low performance пятница, 14 декабря 12 г.
  • 29. Tracking Template matching based tracking • http://cvlab.epfl.ch/~lepetit/ ✓ Faster ✓ Accurate - Require hard-computational learning пятница, 14 декабря 12 г.
  • 30. 3D Pose estimation Frame Model view matrix Polygon 3D Projection matrix Homography http://habrahabr.ru/post/139429/ пятница, 14 декабря 12 г.
  • 31. My experience • Ferns http://cvlab.epfl.ch/research/completed/ surface/ferns/ • Template matching tracking • http://isgl3d.com/ пятница, 14 декабря 12 г.
  • 33. - Several markers пятница, 14 декабря 12 г.
  • 34. • http://www.qualcomm.com/solutions/augmented- reality ✓ Free to use in commercial apps ✓ iOS & Android ✓ Unity3D extension пятница, 14 декабря 12 г.
  • 35. ✓ Fast and robust пятница, 14 декабря 12 г.
  • 36. ✓ Fast and robust ✓ Really fast and robust ! пятница, 14 декабря 12 г.
  • 37. ✓ Image target Up to 50 markers пятница, 14 декабря 12 г.
  • 38. ✓ Virtual Buttons пятница, 14 декабря 12 г.
  • 39. ✓ Multi Targets пятница, 14 декабря 12 г.
  • 40. ✓ Online tool: https://ar.qualcomm.at/sdk Registration required ✓ NinevehGL supports Vuforia SDK http://nineveh.gl/ пятница, 14 декабря 12 г.
  • 41. Need Markerless AR ? Use http://socialcompare.com/en/comparison/augmented- reality-sdks пятница, 14 декабря 12 г.
  • 42. Face tracking ✓ OpenCV Haar classification пятница, 14 декабря 12 г.
  • 43. Face tracking https://github.com/aptogo/FaceTracker http://opencv.org/ ✓ Not only face, but face features too ! пятница, 14 декабря 12 г.
  • 44. - Too slow - 2D only пятница, 14 декабря 12 г.
  • 45. 3D Face contours tracking пятница, 14 декабря 12 г.
  • 46. 3D Face contours tracking ✓ Fast enough for 2 cores Smartphones CPU ✓ Tracks contours in realtime ✓Emotions recognition пятница, 14 декабря 12 г.
  • 48. 3D Face contours tracking ✓ Licensing ✓ iOS/Android App development partnership пятница, 14 декабря 12 г.
  • 49. Спасибо за внимание ! Степанов Александр yltastep@gmail.com пятница, 14 декабря 12 г.