Lab 3 Augmented Reality



Vergelijkbare documenten
Firewall van de Speedtouch 789wl volledig uitschakelen?

MyDHL+ Van Non-Corporate naar Corporate

General info on using shopping carts with Ingenico epayments

Intermax backup exclusion files

Het beheren van mijn Tungsten Network Portal account NL 1 Manage my Tungsten Network Portal account EN 14

How to install and use dictionaries on the ICARUS Illumina HD (E652BK)

RECEPTEERKUNDE: PRODUCTZORG EN BEREIDING VAN GENEESMIDDELEN (DUTCH EDITION) FROM BOHN STAFLEU VAN LOGHUM

Handleiding Installatie ADS

Settings for the C100BRS4 MAC Address Spoofing with cable Internet.

Graphic Design. Keuzevak GD1. Raul Martinez-Orozco / raul@thecombine.nl)

Hoe met Windows 8 te verbinden met NDI Remote Office (NDIRO) How to connect With Windows 8 to NDI Remote Office (NDIRO

Add the standing fingers to get the tens and multiply the closed fingers to get the units.

2019 SUNEXCHANGE USER GUIDE LAST UPDATED

SAMPLE 11 = + 11 = + + Exploring Combinations of Ten + + = = + + = + = = + = = 11. Step Up. Step Ahead

Interaction Design for the Semantic Web

B1 Woordkennis: Spelling

L.Net s88sd16-n aansluitingen en programmering.

Luister alsjeblieft naar een opname als je de vragen beantwoordt of speel de stukken zelf!

Installatie van Windows 10 op laptops. Windows 10 installation on laptops

ICARUS Illumina E653BK on Windows 8 (upgraded) how to install USB drivers

z x 1 x 2 x 3 x 4 s 1 s 2 s 3 rij rij rij rij

Handleiding Zuludesk Parent

Example. Dutch language lesson. Dutch & German Language Education Pieter Wielick

MyDHL+ ProView activeren in MyDHL+

After that, the digits are written after each other: first the row numbers, followed by the column numbers.

L.Net s88sd16-n aansluitingen en programmering.

Taco Schallenberg Acorel

! GeoNetwork INSPIRE Atom!

i(i + 1) = xy + y = x + 1, y(1) = 2.

ETS 4.1 Beveiliging & ETS app concept

Plotten. technisch tekenwerk AUTOCAD 2000

Engels op Niveau A2 Workshops Woordkennis 1

Mobile Devices, Applications and Data

Introductie in flowcharts

GS1 Data Source. Guide to the management of digital files for data suppliers and recipients

(1) De hoofdfunctie van ons gezelschap is het aanbieden van onderwijs. (2) Ons gezelschap is er om kunsteducatie te verbeteren

Zo werkt het in de apotheek (Basiswerk AG) (Dutch Edition)

Shipment Centre EU Quick Print Client handleiding [NL]

Teardrop readout gradient waveform design. Ting Ting Ren

Hoe te verbinden met NDI Remote Office (NDIRO): Apple OS X How to connect to NDI Remote Office (NDIRO): Apple OS X

Handleiding Digipass DP310


Understanding and being understood begins with speaking Dutch

UCXLog. Log en Contest programma. UCXLog by DL7UCX

Quick start guide. Powerbank MI Mah. Follow Fast All rights reserved. Page 1

ATOS Viewer for Dental Frameworks User Manual

/ /

Borstkanker: Stichting tegen Kanker (Dutch Edition)

TECHNISCHE UNIVERSITEIT EINDHOVEN Faculteit Wiskunde en Informatica. Examination 2DL04 Friday 16 november 2007, hours.

FAAC DRIVER. Driver install procedure for FAAC boards. Installatieprocedure voor driver voor FAAC-kaarten.

ANGSTSTOORNISSEN EN HYPOCHONDRIE: DIAGNOSTIEK EN BEHANDELING (DUTCH EDITION) FROM BOHN STAFLEU VAN LOGHUM

LONDEN MET 21 GEVARIEERDE STADSWANDELINGEN 480 PAGINAS WAARDEVOLE INFORMATIE RUIM 300 FOTOS KAARTEN EN PLATTEGRONDEN

MobiDM App Handleiding voor Windows Mobile Standard en Pro

FOR DUTCH STUDENTS! ENGLISH VERSION NEXT PAGE. Toets Inleiding Kansrekening 1 8 februari 2010

Find Neighbor Polygons in a Layer

LDAP Server on Yeastar MyPBX & tiptel 31xx/32xx series

Gebruik van het LOGO in geautomatiseerde verkiezingen

Eye Feature Detection Towards Automatic Strabismus Screening

Hertentamen 8D040 - Basis beeldverwerking

1a. We werken het geval voor het tandenpoetsen uit. De concepten zijn (we gebruiken Engelse termen en afkortingen):

Interface tussen Stuurbediening en Sony autoaudio

This appendix lists all the messages that the DRS may send to a registrant's administrative contact.

TOEGANG VOOR NL / ENTRANCE FOR DUTCH : lator=c&camp=24759

S e v e n P h o t o s f o r O A S E. K r i j n d e K o n i n g

Systeem Wand Samenstellings Applicatie. Cabinet configuration tool. Nederlandse handleiding

256 kb Memory in NMS 8250, 8255 and 8280

FOR DUTCH STUDENTS! ENGLISH VERSION NEXT PAGE

NMOZTMKUDLVDKECVLKBVESBKHWIDKPDF-WWUS Page File Size 9,952 KB 29 May, 2016

DALISOFT. 33. Configuring DALI ballasts with the TDS20620V2 DALI Tool. Connect the TDS20620V2. Start DALISOFT

Cameramanager LSU Installation Guide

Bijlage 2: Informatie met betrekking tot goede praktijkvoorbeelden in Londen, het Verenigd Koninkrijk en Queensland

Comics FILE 4 COMICS BK 2

Four-card problem. Input

Flexibele oplossing om de eid kaart aan te spreken vanuit.net (en Delphi, Visual Basic, C++ etc)

Media en creativiteit. Winter jaar vier Werkcollege 7

The first line of the input contains an integer $t \in \mathbb{n}$. This is followed by $t$ lines of text. This text consists of:

Alle opgaven tellen even zwaar, 10 punten per opgave.

LDA Topic Modeling. Informa5ekunde als hulpwetenschap. 9 maart 2015

OUTDOOR HD BULLET IP CAMERA PRODUCT MANUAL

EM7680 Firmware Update by OTA

!!!! Wild!Peacock!Omslagdoek!! Vertaling!door!Eerlijke!Wol.!! Het!garen!voor!dit!patroon!is!te!verkrijgen!op! Benodigdheden:!!

Contents. Introduction Problem Definition The Application Co-operation operation and User friendliness Design Implementation

Introduction to Compgenomics Part II. Lee Katz January 13, 2010

CBSOData Documentation

Voorbeelden van machtigingsformulieren Nederlands Engels. Examples of authorisation forms (mandates) Dutch English. Juli 2012 Versie 2.

Chief Secretary Switch with Htek & Yeastar S-series Versie ( )

TECHNISCHE UNIVERSITEIT EINDHOVEN Faculteit Wiskunde en Informatica. Tentamen Calculus B (2WBB1) op maandag 28 januari 2013, 14:00 17:00 uur

FOR DUTCH STUDENTS! ENGLISH VERSION NEXT PAGE

Vogelhuisje. Samenvatting. Aan te pakken problemen: Context. Doelen. Aansluiting bij de werkelijkheid. Vaardigheden

Ontpopping. ORGACOM Thuis in het Museum

Classification of triangles

PDF hosted at the Radboud Repository of the Radboud University Nijmegen

3HUIRUPDQFH0HDVXUHPHQW RI'\QDPLFDOO\&RPSLOHG -DYD([HFXWLRQV

Concept of Feedback. P.S. Gandhi Mechanical Engineering IIT Bombay

The colour of a pixel in a bit map picture can be presented in different ways. For this assignment, we distinguish two categories:

Value based healthcare door een quality improvement bril

Yes/No (if not you pay an additional EUR 75 fee to be a member in 2020

ALGORITMIEK: answers exercise class 7

10 tips om de alledaagse momenten vast te leggen CAPTURE THE MAGICAL MOMENTS

Activant Prophet 21. Prophet 21 Version 12.0 Upgrade Information

Transcriptie:

Lab 3 Augmented Reality

ARToolkit detecteer markers in 3D (Waarom is één camera genoeg?) Projecteert extra informatie bovenop werkelijkheid

Hough transformatie

Coördinaten Transformatie van markercoördinaten naar cameracoördinaten, rotatie+translatie rxx rxy rxz tx r yx ryy ryz ty rzx rzy rzz tz 0 0 0 1 laatste rij altijd 0 0 0 1: r r r t r r r t r r r t xx xy xz x yx yy yz y zx zy zz z

Coördinaten Inverse transformatie eenvoudig, rotatie is orthonormaal rxx rxy rxz tx r yx ryy ryz ty rzx rzy rzz tz 0 0 0 1 r r r t r r r t r r r t 0 0 0 1 xx yx zx x xy yy zy y xz yz zz z

Coördinaten Kolommen rotatie: richting van marker X, Y en Z as in camera assenstelsel r r r t r r r t r r r t xx xy xz x yx yy yz y zx zy zz z

3D Tranformaties 3D punt: kolomvector: [x, y, z, 1] T Marker matrix M Van marker coördinaten naar camera coördinaten: vermenigvuldig met M Van camera naar marker, vermenigvuldig met M 1 zie voorbeeldcode: Matrix world = XNAtoAR * trans * ARtoXNA;

Markers 80mm 80mm

Markers Maak eigen markers en bevestig ze bovenop de robots. Je mag ook extra markers plaatsen in omgeving Om zelf markers (pdf) te maken van jpeg afbeeldingen: http://www.osgart.org/index.php/creating_artoolkit_markers http://roarmot.co.nz/ar Gebruik mk_patt om de bijbehorende patt.x bestanden te maken

Tools to use LocateMarkers Runs AR Toolkit and sends marker information on a TCP connection XNAandAR (new) An XNA application with integrated AR library Kies één van beide

Tool LocateMarkers.exe LocateMarkers.exe zoekt markers in webcam beeld Gespecificeerd in een bestand object_data_ci zie documentatie Wacht op TCP client op poort 4242 Zendt dan data voor alle gedetecteerde markers naar de TCP client. Formaat: Marker n # (x, y, z) # [ ( rxx, ryx, rzx); (rxy, ryy, rzy); ( rxz, ryz, rzz)] # 0.0 #

Tool mk_patt.exe Eidere marker wordt beschreven met pattern bestand, bijv. patt.hiro met mk_patt.exe kun je eigen pattern files maken voor nieuwe markers

Augmented Reality Solution Visual Studio C#, AugmentedReality.sln AugmentedRealityLib klassen voor marshaling marker informatie over TCP TestClient testprogramma voor communicatie met LocateMarkers

AugmentedRealityLib Vector3D Matrix3D Marker: id, positie vector, oriëntatie matrix MarkerClient MessageReader

TestClient Voorbeeld C# applicatie om als client marker data te lezen van LocateMarkers tool Gebruikt AugmentedRealityLib Eerste aanzet to seriële communicatie (robots).net Framework: System.IO.Ports.SerialPort F1 in Visual Studio voor meer documentatie. Zend via de seriële link instructies naar robots over hun locatie / orientatie of beweging

Tips Robots / markers zijn altijd (bijna) op de vloer / parallel aan de vloer. Transformeer naar 2D! Camera scherpstellen Blokkering firewall opheffen als Windows daarom vraagt Make sure your webcam image is not mirrored! It may help to adjust the camera brightness and contrast settings

ARandXNA solution Directly integrates XNA with AR library Note that in the ARandXNA example, the AR library function is called with a parameter (1) indicating the number of the capture device to use. You may need to change it when your laptop has multiple devices (e.g., built incamera). If the setup method fails, check the Output window in Visual Studio for additional information.

ARandXNA solution The following dlls should be in the folder with the executable: ARlibrary.dll a wrapper for the AR library libarvideo.dll the actual AR library DSVL.dll the video processing library used by the AR library The Data directory should be in the same directory as the executable program you run Taken care of for the provided sample application

Data folder structure In the Data folder must be: WDM_camera2_flipV.xml an xml file with the settings to open the capture device you may experiment with the frame_width parameter chosing the camera resolution If the resolution does not exist a different one is chosen. Check the Height and Width variables in the XNA application to find the real size. 640/1024/1280 should work. Larger may be slower! Do not touch anything else unless you know what you are doing

Data folder structure In the Data folder must be: Camera_para.dat It contains the camera calibration data. Ideally one should recalibrate with the camera you are using, but the basic setting should do fine

Data folder structure In the Data folder must be: Object_data_ci A text file containing the descriptions of the markers the AR library will be looking for. For every marker it has A reference to a VRML model (not used, but must be kept!) Path to the marker pattern file (relative to the executable!) The size of the marker in mm (ususally 80.0) The logical center of the marker (usually 0.0 0.0) You can add new pattern data to this file

Data folder structure In the Data folder must finally be: The marker pattern files Patt.hiro, patt.kanji Contain the pattern information of the markers See elsewhere on how to create your own.

XNAandARGame XNAandARGame is a sample XNA application provided It shows the video capture image with information on the detected markers and adds models on top of the markers using the detected information The ARLibraryInterface class contains methods to activate a new marker detection cycle (updatear) and to obtain the detected marker information. See the XNAandAR application for examples of how to use these methods.

Opdracht Laat robots (al dan niet gecoördineerd) over een met witte lijnen begrensd speelveld lopen. Op speelveld staan objecten, detecteerbaar met de ultrasone afstandssensoren Observeer, en evt. stuur, de robots via de markers en een camera Visualiseer in 3D in XNA een kaart van het gebied bijv. huidige posities robots, gevonden grenzen, gevonden objecten Communiceer via Xbee met je robots

Opdracht Je eigen applicatie kan gebaseerd worden op het XNAandAR voorbeeld of TestClient met de externe LocateMarkers applicatie. (Een geheel nieuwe applicatie mag natuurlijk ook.) Als je XNAandAR gebruikt hoef je niet per se het opgenomen camera beeld weer te geven (maar het mag wel). Je kunt ook alleen de kaart visualiseren.