Artoolkit 6/Open Source

Total Page:16

File Type:pdf, Size:1020Kb

Artoolkit 6/Open Source DAQRI ARToolKit 6/Open Source Introduction to ARToolKit Phil Oxford Brookes University 2017-01 DAQRI by the numbers DAQRI Smart Helmet Wearable Human-Machine Interface Hazloc-certified PPE helmet Sensor package: Logic board: • Intel R200 stereo colour/depth cameras Stereo holographic- Intel Core M7 CPU @ 2.1GHZ • Lepton 3.0 Thermal Camera waveguide full colour 8GB RAM • DAQRI VisionCube™ integrated see-through display Wireless radio IMU/wide FOV optical tracking system DAQRI’s approach to AR The DAQRI Ecosystem 4D Studio Services Analytics MDM, Remote Expert Operating System Software Core apps Advanced computer vision External framework plugins } Hardware Smart Helmet, In-vehicle display Physics Realtime holographics ARToolKit: A collection of software tools to help solve some of the fundamental problems in augmented reality, including geometric and photometric registration • geometric registration: aligning the position of the virtual environment with the actual • photometric registration: matching the appearance of objects in the virtual environment to the actual ARToolKit - History • 2004 - v.2 released open source (Sourceforge) • 1999 - first demonstrated publicly • 2008/2012 - open source innovation • 2001- v.1 released open source (Washington) • 2012/2014 - extending platform support • 2001 - ARToolworks incorporated with dual licensing model • 2015 - acquired by DAQRI - pro versions open sourced 1999 2009 2015 SIGGRAPH 1999 ARToolKit Shared Space demo VR2009: Kato award ARToolworks becomes part of DAQRI (Lamb, Vaughan, Furness, Billinghurst, Kato) 6 Goals • Open-source a high-quality texture-tracker. • Modernise target platforms and reduce need for legacy support. • Create SDK suitable for full spectrum of expertise • high-level low-complexity API for novices • expose underlying CV APIs for experts while simplifying ancillary tasks ARToolKit 6: Computer vision ⁕ On-device image recogniser ⁕ Multiple textured-surface tracker ⁕ Planar surface tracker .. ⁕ High performance pose estimator ⁕ Open lens model database ARToolKit 6 tracking features • On-the-fly tracking data generation (10s of millseconds) • Feature-based initialisation (FREAK features) • Template matching • Optical flow fallback • New pose estimation via P3P offering much improved stability ARToolKit 6 image recognition features • On-device image recognition (up to 500 images) • Tool supplied to allow pre-generation of datasets from large number of images • Dynamic saving/loading of image sets, or individual images • Image recognition also provides tracking initialisation • Wednesday ARToolKit lesson 5 by Dan Bell: Details of ARTVision ARToolKit 6 other features • On-device camera intrinsics calibration database. • Self-hostable camera intrinsics calibration database server. • Tools provided to calibrate your own cameras/devices • Thursday ARToolKit lesson 6 by Thorsten Bux: Camera calibration system ARToolKit license terms BSD-like Apache LGPLv3 GPLv3 Use of code in As linked All All None closed-source library Acknowledge No No Yes, plus link Yes, plus link ment required Retention of copyright/ If redistributing Disclaimer only Yes Yes license complete file(s) headers Requires Modifications publication of No No Yes to the library users source License for License for ARToolKit ARToolKit example code libraries & utilities Structure of ARToolKit 6 Key: C++ class External library Internal library Hybrid system Binding Objective-C API Java API C# API JNI P/Invoke C API ARController ARTracker ARTrackable ARTrackableAppearance ARTrackableSquare ARTrackerSqua ARTrackerInstant ARTrackableInstant ARVideoSource ARTracker2D ARTrackable2D ARTrackableMultiSqua ARView On re re On libARVideo libARTVision libAR libInstantOn libARG Android Camera glog CoreMotion OpenGL/GLES Video AVFoundatio calibration boost Push n Video4Linux2 database sqlite3 curl SDK structure • Resources required to modify SDK are separate from resources required to use SDK • Human-readable top-level SDK structure: • SDK source and build system (machine readable) in “Source”. AR6 • Examples in “Examples”, stand-alone source with AR6J IDE project files CMakeLists.t (iOS, macOS: Xcode, Android: Android Studio, Linux: CMake, future Windows: Visual Studio) xt Utilities build.sh Build system • CMake build-system builder • bash script-driven configuration and build system driver • One-line SDK build for all platforms: ~/artoolkit6$ cd Source; ./build.sh (macos|ios|android|linux) [examples] [utilities] • For package-based platforms (e.g. Linux Debian/Fedora), build.sh checks required dependencies, gives hints for installation • Install phase of build installs to ‘SDK’ directory Packaging script pulls from this location. • Demo Packaging and deployment • Packaging goal: SDK with built binaries of all components, plus source for examples (but not source for SDK or SDK build system) • Continuous integration and deployment via bitrise.io SAAS. • Packaging automatically performed for HEAD of master branch, output pushed to AWS bucket (demo) Packaging and deployment - 2 • CI status incorporated into approval workflow of all pull requests to master on GitHub API overview • Primary high-level API is C++ <AR6/ARController.h> • Simplified C API <AR6/AR6_c.h> • Java API in AR6J project. (Implemented via JNI interface to libAR6) • Main abstractions: • controller • videosource • tracker • trackable • view API - example #include <AR6/ARController.h> ARController *c = new ARController(); c->initialiseBase(); ARTrackable *t = findTrackable(c->addTrackable(“2d;gibraltar.jpg;160.9")); c->startRunning(); while (!done) { if (c->capture()) { c->update(); if (t->visible) { draw(t->transformationMatrix()); } } } } c->stopRunning(); c->shutdown(); Native examples • “Native” in the sense of typical development language and IDE for target platform • iOS: Objective-C and Xcode • macOS: C++ and Xcode • Android: Java and Android Studio 2.1+ • Linux: C++ and CMake • Target set of native examples: • Texture tracking example - complete (demos) • InstantOn planar tracking example - in work • Extended tracking example - in work Demo.
Recommended publications
  • A Review About Augmented Reality Tools and Developing a Virtual Reality Application
    Academic Journal of Science, CD-ROM. ISSN: 2165-6282 :: 03(02):139–146 (2014) $5(9,(:$%287$8*0(17('5($/,7<722/6$1' '(9(/23,1*$9,578$/5($/,7<$33/,&$7,21%$6('21 ('8&$7,21 0XVWDID8ODVDQG6DID0HUYH7DVFL )LUDW8QLYHULVLW\7XUNH\ Augmented Reality (AR) is a technology that gained popularity in recent years. It is defined as placement of virtual images over real view in real time. There are a lot of desktop applications which are using Augmented Reality. The rapid development of technology and easily portable mobile devices cause the increasing of the development of the applications on the mobile device. The elevation of the device technology leads to the applications and cause the generating of the new tools. There are a lot of AR Tool Kits. They differ in many ways such as used methods, Programming language, Used Operating Systems, etc. Firstly, a developer must find the most effective tool kits between them. This study is more of a guide to developers to find the best AR tool kit choice. The tool kit was examined under three main headings. The Parameters such as advantages, disadvantages, platform, and programming language were compared. In addition to the information is given about usage of them and a Virtual Reality application has developed which is based on Education. .H\ZRUGV Augmented reality, ARToolKit, Computer vision, Image processing. ,QWURGXFWLRQ Augmented reality is basically a snapshot of the real environment with virtual environment applications that are brought together. Basically it can be operated on every device which has a camera display and operation system.
    [Show full text]
  • Virtual and Augmented Reality
    Virtual and Augmented Reality Virtual and Augmented Reality: An Educational Handbook By Zeynep Tacgin Virtual and Augmented Reality: An Educational Handbook By Zeynep Tacgin This book first published 2020 Cambridge Scholars Publishing Lady Stephenson Library, Newcastle upon Tyne, NE6 2PA, UK British Library Cataloguing in Publication Data A catalogue record for this book is available from the British Library Copyright © 2020 by Zeynep Tacgin All rights for this book reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or otherwise, without the prior permission of the copyright owner. ISBN (10): 1-5275-4813-9 ISBN (13): 978-1-5275-4813-8 TABLE OF CONTENTS List of Illustrations ................................................................................... x List of Tables ......................................................................................... xiv Preface ..................................................................................................... xv What is this book about? .................................................... xv What is this book not about? ............................................ xvi Who is this book for? ........................................................ xvii How is this book used? .................................................. xviii The specific contribution of this book ............................. xix Acknowledgements ...........................................................
    [Show full text]
  • Augmented Reality, Virtual Reality, & Health
    University of Massachusetts Medical School eScholarship@UMMS National Network of Libraries of Medicine New National Network of Libraries of Medicine New England Region (NNLM NER) Repository England Region 2017-3 Augmented Reality, Virtual Reality, & Health Allison K. Herrera University of Massachusetts Medical School Et al. Let us know how access to this document benefits ou.y Follow this and additional works at: https://escholarship.umassmed.edu/ner Part of the Health Information Technology Commons, Library and Information Science Commons, and the Public Health Commons Repository Citation Herrera AK, Mathews FZ, Gugliucci MR, Bustillos C. (2017). Augmented Reality, Virtual Reality, & Health. National Network of Libraries of Medicine New England Region (NNLM NER) Repository. https://doi.org/ 10.13028/1pwx-hc92. Retrieved from https://escholarship.umassmed.edu/ner/42 Creative Commons License This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 4.0 License. This material is brought to you by eScholarship@UMMS. It has been accepted for inclusion in National Network of Libraries of Medicine New England Region (NNLM NER) Repository by an authorized administrator of eScholarship@UMMS. For more information, please contact [email protected]. Augmented Reality, Virtual Reality, & Health Zeb Mathews University of Tennessee Corina Bustillos Texas Tech University Allison Herrera University of Massachusetts Medical School Marilyn Gugliucci University of New England Outline Learning Objectives Introduction & Overview Objectives: • Explore AR & VR technologies and Augmented Reality & Health their impact on health sciences, Virtual Reality & Health with examples of projects & research Technology Funding Opportunities • Know how to apply for funding for your own AR/VR health project University of New England • Learn about one VR project funded VR Project by the NNLM Augmented Reality and Virtual Reality (AR/VR) & Health What is AR and VR? F.
    [Show full text]
  • Augmented Reality for Unity: the Artoolkit Package JM Vezien Jan
    Augmented reality for Unity: the ARToolkit package JM Vezien Jan 2016 ARToolkit provides an easy way to develop AR applications in Unity via the ARTookit package for Unity, available for download at: http://artoolkit.org/documentation/doku.php?id=6_Unity:unity_about The installation is covered in: http://artoolkit.org/documentation/doku.php?id=6_Unity:unity_getting_started Basically, you import the package via Assets--> Import Package--> custom Package Current version is 5.3.1 Once imported, the package provides assets in the ARToolkit5-Unity hierarchy. There is also an additional ARToolkit entry in the general menu of unity. A bunch of example scenes are available for trials in ARToolkit5-Unity-->Example scenes. The simplest is SimpleScene.unity, where a red cube is attached to a "Hiro" pattern, like the simpleTest example in the original ARToolkit tutorials. The way ARToolkit for Unity organises information is simple: • The mandatory component for ARToolkit is called a ARController. Aside from managing the camera parameters (for example, selecting the video input), it also records the complete list of markers your application will use, via ARMarker scripts (one per marker). • A "Scene Root" will contain everything you need to AR display. It is a standard (usually empty) object with a AR Origin script. the rest of the scene will be children of it. • The standard camera remains basically the same, but is now driven by a specific ARCamera script. By default, the camera is a video see-through (like a webcam). • Objects to be tracked are usually "empty" geomeries (GameObject--> Create empty) to which one attaches a special AR Tracked Object script.
    [Show full text]
  • Application of Augmented Reality and Robotic Technology in Broadcasting: a Survey
    Review Application of Augmented Reality and Robotic Technology in Broadcasting: A Survey Dingtian Yan * and Huosheng Hu School of Computer Science and Electronic Engineering, University of Essex, Wivenhoe Park, Colchester CO4 3SQ, UK; [email protected] * Correspondence: [email protected]; Tel.: +44-1206-874092 Received: 26 May 2017; Accepted: 7 August 2017; Published: 17 August 2017 Abstract: As an innovation technique, Augmented Reality (AR) has been gradually deployed in the broadcast, videography and cinematography industries. Virtual graphics generated by AR are dynamic and overlap on the surface of the environment so that the original appearance can be greatly enhanced in comparison with traditional broadcasting. In addition, AR enables broadcasters to interact with augmented virtual 3D models on a broadcasting scene in order to enhance the performance of broadcasting. Recently, advanced robotic technologies have been deployed in a camera shooting system to create a robotic cameraman so that the performance of AR broadcasting could be further improved, which is highlighted in the paper. Keyword: Augmented Reality (AR); AR broadcasting; AR display; AR tracking; Robotic Cameraman 1. Introduction Recently, there is an optimistic prospect on installing Augmented Reality (AR) contents in broadcasting, which is customizable, dynamic and interactive. AR aims at changing the appearance of a real environment by merging virtual contents with real-world objects. Through attaching virtual content on a real-world environment, broadcasting industries avoid physically changing the appearance of a broadcasting studio. In addition, broadcasters can tell a much more detailed and compelling story through interacting with 3D virtual models rather than with verbal descriptions only.
    [Show full text]
  • Calar: a C++ Engine for Augmented Reality Applications on Android Mobile Devices
    CalAR: A C++ Engine for Augmented Reality Applications on Android Mobile Devices Menghe Zhang, Karen Lucknavalai, Weichen Liu, J ¨urgen P. Schulze; University of California San Diego, La Jolla, CA, USA Abstract With the development of Apple’s ARKit and Google’s AR- Core, mobile augmented reality (AR) applications have become much more popular. For Android devices, ARCore provides ba- sic motion tracking and environmental understanding. However, with current software frameworks it can be difficult to create an AR application from the ground up. Our solution is CalAR, which is a lightweight, open-source software environment to develop AR applications for Android devices, while giving the programmer full control over the phone’s resources. With CalAR, the pro- grammer can create marker-less AR applications which run at 60 Figure 1: CalAR’s software structure and dependencies frames per second on Android smartphones. These applications can include more complex environment understanding, physical accessed through the smartphone’s touch screen. simulation, user interaction with virtual objects, and interaction This article describes each component of the software system between virtual objects and objects in the physical environment. we built, and summarizes our experiences with two demonstration With CalAR being based on CalVR, which is our multi-platform applications we created with CalAR. virtual reality software engine, it is possible to port CalVR ap- plications to an AR environment on Android phones with minimal Related Work effort. We demonstrate this with the example of a spatial visual- In the early days of augmented reality applications on smart ization application. phones, fiducial markers located in the physical environment were used to estimate the phone’s 3D pose with respect to the envi- Introduction ronment.
    [Show full text]
  • Augmented Reality and Its Aspects: a Case Study for Heating Systems
    Augmented Reality and its aspects: a case study for heating systems. Lucas Cavalcanti Viveiros Dissertation presented to the School of Technology and Management of Bragança to obtain a Master’s Degree in Information Systems. Under the double diploma course with the Federal Technological University of Paraná Work oriented by: Prof. Paulo Jorge Teixeira Matos Prof. Jorge Aikes Junior Bragança 2018-2019 ii Augmented Reality and its aspects: a case study for heating systems. Lucas Cavalcanti Viveiros Dissertation presented to the School of Technology and Management of Bragança to obtain a Master’s Degree in Information Systems. Under the double diploma course with the Federal Technological University of Paraná Work oriented by: Prof. Paulo Jorge Teixeira Matos Prof. Jorge Aikes Junior Bragança 2018-2019 iv Dedication I dedicate this work to my friends and my family, especially to my parents Tadeu José Viveiros and Vera Neide Cavalcanti, who have always supported me to continue my stud- ies, despite the physical distance has been a demand factor from the beginning of the studies by the change of state and country. v Acknowledgment First of all, I thank God for the opportunity. All the teachers who helped me throughout my journey. Especially, the mentors Paulo Matos and Jorge Aikes Junior, who not only provided the necessary support but also the opportunity to explore a recent area that is still under development. Moreover, the professors Paulo Leitão and Leonel Deusdado from CeDRI’s laboratory for allowing me to make use of the HoloLens device from Microsoft. vi Abstract Thanks to the advances of technology in various domains, and the mixing between real and virtual worlds.
    [Show full text]
  • Security and Privacy Approaches in Mixed Reality:A Literature Survey
    0 Security and Privacy Approaches in Mixed Reality: A Literature Survey JAYBIE A. DE GUZMAN, University of New South Wales and Data 61, CSIRO KANCHANA THILAKARATHNA, University of Sydney and Data 61, CSIRO ARUNA SENEVIRATNE, University of New South Wales and Data 61, CSIRO Mixed reality (MR) technology development is now gaining momentum due to advances in computer vision, sensor fusion, and realistic display technologies. With most of the research and development focused on delivering the promise of MR, there is only barely a few working on the privacy and security implications of this technology. is survey paper aims to put in to light these risks, and to look into the latest security and privacy work on MR. Specically, we list and review the dierent protection approaches that have been proposed to ensure user and data security and privacy in MR. We extend the scope to include work on related technologies such as augmented reality (AR), virtual reality (VR), and human-computer interaction (HCI) as crucial components, if not the origins, of MR, as well as numerous related work from the larger area of mobile devices, wearables, and Internet-of-ings (IoT). We highlight the lack of investigation, implementation, and evaluation of data protection approaches in MR. Further challenges and directions on MR security and privacy are also discussed. CCS Concepts: •Human-centered computing ! Mixed / augmented reality; •Security and privacy ! Privacy protections; Usability in security and privacy; •General and reference ! Surveys and overviews; Additional Key Words and Phrases: Mixed Reality, Augmented Reality, Privacy, Security 1 INTRODUCTION Mixed reality (MR) was used to pertain to the various devices – specically, displays – that encompass the reality-virtuality continuum as seen in Figure1(Milgram et al .
    [Show full text]
  • Calar: a C++ Engine for Augmented Reality Applications on Android Mobile Devices
    https://doi.org/10.2352/ISSN.2470-1173.2020.13.ERVR-364 © 2020, Society for Imaging Science and Technology CalAR: A C++ Engine for Augmented Reality Applications on Android Mobile Devices Menghe Zhang, Karen Lucknavalai, Weichen Liu, J ¨urgen P. Schulze; University of California San Diego, La Jolla, CA, USA Abstract With the development of Apple’s ARKit and Google’s AR- Core, mobile augmented reality (AR) applications have become much more popular. For Android devices, ARCore provides ba- sic motion tracking and environmental understanding. However, with current software frameworks it can be difficult to create an AR application from the ground up. Our solution is CalAR, which is a lightweight, open-source software environment to develop AR applications for Android devices, while giving the programmer full control over the phone’s resources. With CalAR, the pro- grammer can create marker-less AR applications which run at 60 Figure 1: CalAR’s software structure and dependencies frames per second on Android smartphones. These applications can include more complex environment understanding, physical accessed through the smartphone’s touch screen. simulation, user interaction with virtual objects, and interaction This article describes each component of the software system between virtual objects and objects in the physical environment. we built, and summarizes our experiences with two demonstration With CalAR being based on CalVR, which is our multi-platform applications we created with CalAR. virtual reality software engine, it is possible to port CalVR ap- plications to an AR environment on Android phones with minimal Related Work effort. We demonstrate this with the example of a spatial visual- In the early days of augmented reality applications on smart ization application.
    [Show full text]
  • A Research Agenda for Augmented and Virtual Reality in Architecture
    Advanced Engineering Informatics 45 (2020) 101122 Contents lists available at ScienceDirect Advanced Engineering Informatics journal homepage: www.elsevier.com/locate/aei A research agenda for augmented and virtual reality in architecture, T engineering and construction ⁎ ⁎ Juan Manuel Davila Delgadoa, , Lukumon Oyedelea, , Peter Demianc, Thomas Beachb a Big Data Enterprise and Artificial Intelligence Laboratory, University of West of England Bristol, UK b School of Engineering, Cardiff University, UK c School of Architecture, Building and Civil Engineering, Loughborough University, UK ARTICLE INFO ABSTRACT Keywords: This paper presents a study on the usage landscape of augmented reality (AR) and virtual reality (VR) in the Augmented reality architecture, engineering and construction sectors, and proposes a research agenda to address the existing gaps Virtual reality in required capabilities. A series of exploratory workshops and questionnaires were conducted with the parti- Construction cipation of 54 experts from 36 organisations from industry and academia. Based on the data collected from the Immersive technologies workshops, six AR and VR use-cases were defined: stakeholder engagement, design support, design review, Mixed reality construction support, operations and management support, and training. Three main research categories for a Visualisation future research agenda have been proposed, i.e.: (i) engineering-grade devices, which encompasses research that enables robust devices that can be used in practice, e.g. the rough and complex conditions of construction sites; (ii) workflow and data management; to effectively manage data and processes required by ARandVRtech- nologies; and (iii) new capabilities; which includes new research required that will add new features that are necessary for the specific construction industry demands.
    [Show full text]
  • Analyse Und Entwicklung Optischer Trackingverfahren Für Das Dreidimensionale Skizzieren in Der Virtuellen Produktentwicklung
    Analyse und Entwicklung optischer Trackingverfahren für das dreidimensionale Skizzieren in der virtuellen Produktentwicklung Masterarbeit Vorgelegt an der Fachhochschule Köln Campus Gummersbach Im Studiengang Medieninformatik Ausgearbeitet von: Dipl.‐Ing.(FH) Patrick Tobias Fischer Erster Prüfer: Prof. Dr. rer. nat. Wolfgang Konen Zweiter Prüfer: Dipl.‐Inform. Johann Habakuk Israel Berlin, 17. April 2008 Inhaltsverzeichnis Inhaltsverzeichnis ........................................................................................................................................ 1 Kurzdarstellung der Arbeit ............................................................................................................................ 4 Abbildungsverzeichnis ................................................................................................................................... 5 Tabellenverzeichnis ....................................................................................................................................... 9 Akronyme und Glossar ................................................................................................................................ 10 1 Einleitung und Aufbau der Arbeit ....................................................................................................... 13 2 Einführung in das Thema..................................................................................................................... 16 3 Produktentwicklungsprozesse ...........................................................................................................
    [Show full text]
  • Virtual Reality 3D Space & Tracking
    Virtual Reality 3D Space & Tracking Ján Cíger Reviatech SAS [email protected] http://janoc.rd-h.com/ 16.10.2014 Ján Cíger (Reviatech SAS) RV01 16.10.2014 1 / 57 Outline Who am I? Tracking Coordinates in 3D Space Introduction Position in 3D Technologies Orientation in 3D VRPN Euler angles What is VRPN Axis/angle representation Simple Example Rotation matrices (3 × 3) Quaternions Resources Ján Cíger (Reviatech SAS) RV01 16.10.2014 2 / 57 Who am I? Who am I? PhD from VRlab, EPFL, Switzerland I AI for virtual humans, how to make autonomous characters ("NPCs") smarter I Lab focused on human character animation, motion capture, interaction in VR I ≈ 20 PhD students, several post-docs, many master students. VRlab: http://vrlab.epfl.ch IIG: http://iig.epfl.ch Ján Cíger (Reviatech SAS) RV01 16.10.2014 3 / 57 Who am I? Who am I? SensoramaLab, Aalborg University, Denmark I Building a new lab focusing on new media, interaction, use in rehabilitation I Large projection system, tracking, many interactive demos I Teaching bachelor & master students, project supervision. Ján Cíger (Reviatech SAS) RV01 16.10.2014 4 / 57 Who am I? Who am I? Reviatech SAS I Applied research, looking for new technologies useful for our products/customers I Tracking, augmented reality, AI, building software & hardware prototypes. http://www.reviatech.com/ Ján Cíger (Reviatech SAS) RV01 16.10.2014 5 / 57 Coordinates in 3D Space Position in 3D Outline Who am I? Tracking Coordinates in 3D Space Introduction Position in 3D Technologies Orientation in 3D VRPN Euler angles What is VRPN Axis/angle representation Simple Example Rotation matrices (3 × 3) Quaternions Resources Ján Cíger (Reviatech SAS) RV01 16.10.2014 6 / 57 Coordinates in 3D Space Position in 3D 3D Position Carthesian I 3 perpendicular axes I Left or right handed! I Z-up vs Y-up! I Usually same scale on all axes http://viz.aset.psu.edu/gho/sem_notes/3d_ I Common units – meters, fundamentals/html/3d_coordinates.html millimetres, inches, feet.
    [Show full text]