Using Augmented Reality to Measure Vertical Surfaces 1222105/... Augmented Reality Augmented Reality

download Using Augmented Reality to Measure Vertical Surfaces 1222105/... Augmented Reality Augmented Reality

of 12

  • date post

    04-Mar-2021
  • Category

    Documents

  • view

    1
  • download

    0

Embed Size (px)

Transcript of Using Augmented Reality to Measure Vertical Surfaces 1222105/... Augmented Reality Augmented Reality

  • Linköpings universitet SE–581 83 Linköping

    +46 13 28 10 00 , www.liu.se

    Linköping University | Department of Computer and Information Science Bachelor thesis, 16 ECTS | Datateknik

    2018 | LIU-IDA/LITH-EX-G--18/050--SE

    Using Augmented Reality to Measure Vertical Surfaces

    Robin Bergquist, Nicholas Stenbeck

    Supervisor : Erik Berglund Examiner : Anders Fröberg

    http://www.liu.se

  • Upphovsrätt

    Detta dokument hålls tillgängligt på Internet – eller dess framtida ersättare – under 25 år från publiceringsdatum under förutsättning att inga extraordinära omständigheter uppstår. Tillgång till dokumentet innebär tillstånd för var och en att läsa, ladda ner, skriva ut enstaka kopior för enskilt bruk och att använda det oförändrat för ickekommersiell forskning och för undervisning. Överföring av upphovsrätten vid en senare tidpunkt kan inte upphäva detta tillstånd. All annan användning av dokumentet kräver upphovsmannens medgivande. För att garantera äktheten, säkerheten och tillgängligheten finns lösningar av teknisk och admin- istrativ art. Upphovsmannens ideella rätt innefattar rätt att bli nämnd som upphovsman i den omfattning som god sed kräver vid användning av dokumentet på ovan beskrivna sätt samt skydd mot att dokumentet ändras eller presenteras i sådan form eller i sådant sam- manhang som är kränkande för upphovsmannens litterära eller konstnärliga anseende eller egenart. För ytterligare information om Linköping University Electronic Press se förlagets hemsida http://www.ep.liu.se/.

    Copyright

    The publishers will keep this document online on the Internet – or its possible replacement – for a period of 25 years starting from the date of publication barring exceptional circum- stances. The online availability of the document implies permanent permission for anyone to read, to download, or to print out single copies for his/hers own use and to use it unchanged for non-commercial research and educational purpose. Subsequent transfers of copyright cannot revoke this permission. All other uses of the document are conditional upon the con- sent of the copyright owner. The publisher has taken technical and administrative measures to assure authenticity, security and accessibility. According to intellectual property law the author has the right to be mentioned when his/her work is accessed as described above and to be protected against infringement. For additional information about the Linköping Uni- versity Electronic Press and its procedures for publication and for assurance of document integrity, please refer to its www home page: http://www.ep.liu.se/.

    c© Robin Bergquist, Nicholas Stenbeck

    http://www.ep.liu.se/ http://www.ep.liu.se/

  • Using Augmented Reality to Measure Vertical Surfaces Robin Bergquist Rydsvägen 260A

    58434, Linköping, Sweden robbe213@student.liu.se

    Nicholas Stenbeck Lennings Gata 2

    60237, Norrköping, Sweden nicst704@student.liu.se

    ABSTRACT Augmented Reality is commonly used for entertainment pur- poses on today’s smartphones. We intend to aid the evolution of Augmented Reality as a tool as opposed to a toy. With the use of Apple’s ARKit 1.5 release, which features vertical surface recognition, we implement and evaluate a solution to a target problem which aims to contribute to the knowledge of Augmented Reality’s strength and weaknesses. The imple- mentation allows an iPhone user to measure surface areas by placing anchors to mark an area to be measured. We find that our Augmented Reality tool does not provide the same pre- cision as manual measurements but is still reasonably within boundaries if an estimation is acceptable.

    Author Keywords Augmented Reality; AR; Demo; Measurement; Surface Area; Vertical Surface

    INTRODUCTION It has been debated how long Augmented Reality (AR) tech- nology has existed but a few early systems[5, 12] appeared in the 1960’s which appear similar to today’s definition of Augmented Reality. The term ’Augmented Reality’ was not coined until the early 1990’s by Professor Tom Caudell and David Mizell at Boeing Computer Services in Seattle[2]. The first fully functional Augmented Reality system,Virtual Fix- tures [11], was developed by the U.S. Air Force’s Armstrong Labs that same year and in 1997 Feiner et al introduced the first outdoor AR system; it was called the Touring Machine [4]. The system required the user to wear a backpack holding a computer, a tablet for input, and various sensors [6]. With recent advances in technology, AR has become more prevalent and smaller devices support it. Today, every person with a smartphone has access to AR and it has seen widespread pop- ularity in recent years with mobile games such as Ingress or Pokémon GO, the latter having more than 100 million down- loads worldwide [10]. AR has also seen implementation with devices such as Google Glass or Microsoft HoloLens which are both headmounted displays instead of handheld devices.

    AR is generally known for its entertainment value due to its popular usage in games but has seen use in helping subjects perform certain tasks[7]. We base our thesis around the idea of Augmented Reality as a tool and seek to contribute research towards Augmented Reality’s applicability as a solution to different problems.

    Motivation In recent years, Augmented Reality has gained popularity; mainly as a gimmick used in entertainment media. We believe that the technology has greater potential as a utility tool, as a means to improve effectiveness or provide easy access to information. This has previously been proven to be the case[7] for certain types of assembly tasks. We aim to contribute to the field by evaluating the feasibility of measuring the surface area of flat real world objects.

    Purpose The goal of this thesis is to evaluate the feasibility and preci- sion of measuring using Augmented Reality while utilising the recently released vertical plane detection in ARKit 1.5. This will be achieved by developing and evaluating a proof of concept for an Augmented Reality based tool that measures the surface area of a given vertical surface.

    Research Questions Is it possible to measure the surface area of a vertical wall using Augmented Reality? Will the measurements gener- ated from the application be within reasonable bounds to be considered representative of the object’s real dimensions?

    How much do measurements of a surface area obtained through our Augmented Reality tool differ from manual measurements? Depending on what field one seeks to use our tool in, the acceptable margin of error will differ. Before we are able to determine if the tool is suitable for a task, knowing its approximate precision is important.

    Limitations This paper will not discuss any extensive market analyses and will focus on the development and evaluation of the Aug- mented Reality tool. The tool will only be implemented and tested on an iPhone SE running iOS 11, and not any other platforms. The tool will not be a general framework, but rather a solution for a specific task. We will not perform any usability evaluations, and will only focus on the technical aspect.

  • THEORY In this section we present keywords that are relevant in order to better understand this thesis, as well as studies and articles related to our work.

    Augmented Reality Augmented Reality is a technique for presenting computer- generated information to a user by superimposing it on the user’s perception of the real world. As opposed to Virtual Reality, Augmented Reality does not replace the user’s world with a new one, but "augments" their existing environment. It is mainly done visually, but can also include auditory or haptic information.

    ARKit ARKit1 is a tool for the development of Augmented Reality for Apple’s iOS. In Mars 2018, ARKit 1.5 was released. The significance of this is that the tool now supports vertical surface recognition; this is crucial for our Augmented Reality tool to work. Using ARKit we can detect a wall as a vertical surface and estimate our distance to the surface. Determining the surface area of the wall is then simple.

    Feature points While plane detection is activated, ARKit will continuously look for feature points; they are features in an image that are considered interesting for world tracking. This means that blank surfaces or white walls will typically have very few feature points while a colored wall with a pattern will have many feature points. Lighting also has a huge effect on how many feature points ARKit can identify, where a bright lit room is a recommended environment to get the best experience.

    Plane detection If ARKit detects enough feature points on any plane, an ARPlaneAnchor object is added to its list of anchors. The anchor provides information about the location and estimated shape and size of the plane. ARKit will continuously try to improve the position of the anchor as it learns more about the environment during a session. As plane detection can be quite battery consuming, it is recommended[1] to turn off plane detection once the needed information has been gathered. This can be achieved during a session by setting PlaneDetection in the ARWorldTrackingConfiguration-object to False.

    ARHitTest Hit-testing is the process of resolving if a ray along the normal of a screen, from a set position on said screen, intersects with one or more objects that are rendered in the application. ARHitTests are designed to do this, but limits the results to intersections with objects generated from plane detection. This helps find the objects in the real world that detected feature points and planes describe.

    1https://developer.a