skip to main content
10.1145/2466533.2466544acmconferencesArticle/Chapter ViewAbstractPublication Pagesweb3dConference Proceedingsconference-collections
research-article

Declarative AR and image processing on the web with Xflow

Published: 20 June 2013 Publication History

Abstract

Recently, modern Web browser became capable of supporting powerful, interactive 3D graphics both via the low-level, imperative API of WebGL as well as via a high-level, declarative approach like XML3D. The obvious next step (particularly with respect to mobile platforms) is to combine video from the real world with matched virtual content -- Augmented or Mixed Reality (AR/MR). However, AR requires extensive image or video processing, feature detection and tracking, and applying the results to 3D rendering -- all of which is hard to implement in a Web context.
In this paper we present a novel approach that encapsulates low-level image-processing and AR operations into re-usable high-level XML3D/Xflow components that are part of the HTML-5 DOM. A Web developer can then easily and flexibly arrange these components into (possibly complex) processing flow-graphs without having to worry about the internal computations and the structure of these modules. Our extended Xflow implementation automatically optimizes, schedules, and synchronizes the processing of the flow graph(s) in the context of real-time 3D rendering. Finally, we provide an integration model that greatly simplifies building AR applications for the browser.
We demonstrate this with several simple AR and image processing applications using a polyfill implementation working in all modern browsers and evaluate the performance. Finally, we show how the declarative framework can be optimized with respect to performance and usability using parallelization with Web Workers and RiverTrail.

Supplementary Material

JPG File (p157-klein.jpg)
AVI File (p157-klein.avi)

References

[1]
Behr, J., Eschler, P., Jung, Y., and Zöllner, M. 2009. X3DOM: a DOM-based HTML5/X3D integration model. In Proceedings of the 14th International Conference on 3D Web Technology, ACM, New York, NY, USA, Web3D '09, 127--135.
[2]
Heikkinen, I., 2012. Writing augmenged reality applications using JSARToolKit. URL: http://www.html5rocks.com/en/tutorials/webgl/jsartoolkit webrtc/, February.
[3]
Herhut, S., Hudson, R. L., Shpeisman, T., and Sreeram, J. 2012. Parallel programming for the web. In Proceedings of the 4th USENIX conference on Hot Topics in Parallelism, Hot-Par'12, USENIX Association.
[4]
Hudson, R. L., and Herhut, S., 2013. Parallel EcmaScript (River Trail) API. http://wiki.ecmascript.org/doku.php?id=strawman:data_parallelism, February.
[5]
Kato, H., Billinghurst, M., Blanding, R., and May, R. 1999. ARToolKit. Technical report, Hiroshima City University, December.
[6]
Khronos Group, 2011. WebGL - OpenGL ES 2.0 for the Web. URL: http://www.khronos.org/webgl, May.
[7]
Klein, F., Sons, K., Rubinstein, D., Byelozyorov, S., John, S., and Slusallek, P. 2012. Xflow - declarative data processing for the web. In Proceedings of the 17th International Conference on Web 3D Technology.
[8]
OpenCV Foundation, 2012. Open Source Computer Vision (OpenCV). http://opencv.org/.
[9]
Otsu, N. 1979. A threshold selection method from gray-level histograms. Systems, Man and Cybernetics, IEEE Transactions on 9, 1 (January), 62--66.
[10]
Salga, A., Hodgin, D., Sobiepanek, A., Downe, S., Medel, M., and Leung, C. 2011. Processing.js: sketching with <canvas>. In SIGGRAPH Talks, ACM, M. Elendt, Ed., 15.
[11]
Sons, K., Klein, F., Rubinstein, D., Byelozyorov, S., and Slusallek, P. 2010. XML3D: Interactive 3D Graphics for the Web. In Proceedings of the 15th International Conference on Web 3D Technology, ACM, New York, NY, USA, Web3D '10, 175--184.
[12]
Sons, K., Schlinkmann, C., Klein, F., Rubinstein, D., and Slusallek, P. 2013. xml3d.js: Architecture of a polyfill implementation of xml3d. In SEARIS.
[13]
W3C, 2006. The Canvas 2D API 1.0 Specification -- Editor's Draft. http://dev.w3.org/2006/canvas-api/canvas-2d-api.html.
[14]
W3C, 2012. CSS Transforms -- Working Draft. http://www.w3.org/TR/css3-3d-transforms/, September.
[15]
W3C, 2012. DOM4 Specification -- Working Draft. https://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html, December.
[16]
W3C, 2012. Filter Effects 1.0 -- Working Draft. http://www.w3.org/TR/filter-effects/, October.
[17]
W3C, 2012. Media Capture and Streams -- Editor's Draft. http://dev.w3.org/2011/webrtc/editor/getusermedia.html, December.
[18]
Web3D Consortium, 1997. ISO/IEC 14772-1:1997, The Virtual Reality Modeling Language (VRML). http://www.web3d.org/x3d/specifications/vrml/ISO-IEC-14772-VRML97/.
[19]
WHATWG, 2013. HTML Living Standard - The Canvas Element. http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#imagedata, February.

Cited By

View all
  • (2021)A2W: Context-Aware Recommendation System for Mobile Augmented Reality Web BrowserProceedings of the 29th ACM International Conference on Multimedia10.1145/3474085.3475413(2447-2455)Online publication date: 17-Oct-2021
  • (2019)M2A: A Framework for Visualizing Information from Mobile Web to Mobile Augmented Reality2019 IEEE International Conference on Pervasive Computing and Communications (PerCom10.1109/PERCOM.2019.8767388(1-10)Online publication date: Mar-2019
  • (2017)Web-Based Augmented Reality with Natural Feature Tracking and Advanced Rendering2017 International Conference on New Trends in Computing Sciences (ICTCS)10.1109/ICTCS.2017.44(320-326)Online publication date: Oct-2017
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
Web3D '13: Proceedings of the 18th International Conference on 3D Web Technology
June 2013
220 pages
ISBN:9781450321334
DOI:10.1145/2466533
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 20 June 2013

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Web3D
  2. WebGL
  3. XML3D
  4. dataflow
  5. visualization

Qualifiers

  • Research-article

Funding Sources

Conference

Web3D '13
Sponsor:

Acceptance Rates

Overall Acceptance Rate 27 of 71 submissions, 38%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)7
  • Downloads (Last 6 weeks)1
Reflects downloads up to 08 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2021)A2W: Context-Aware Recommendation System for Mobile Augmented Reality Web BrowserProceedings of the 29th ACM International Conference on Multimedia10.1145/3474085.3475413(2447-2455)Online publication date: 17-Oct-2021
  • (2019)M2A: A Framework for Visualizing Information from Mobile Web to Mobile Augmented Reality2019 IEEE International Conference on Pervasive Computing and Communications (PerCom10.1109/PERCOM.2019.8767388(1-10)Online publication date: Mar-2019
  • (2017)Web-Based Augmented Reality with Natural Feature Tracking and Advanced Rendering2017 International Conference on New Trends in Computing Sciences (ICTCS)10.1109/ICTCS.2017.44(320-326)Online publication date: Oct-2017
  • (2014)Towards Augmented Reality Applications in a Mobile Web ContextProceedings of the 2014 Eighth International Conference on Next Generation Mobile Apps, Services and Technologies10.1109/NGMAST.2014.36(1-6)Online publication date: 10-Sep-2014
  • (2014)Augmented Reality Web Applications with Mobile Agents in the Internet of ThingsProceedings of the 2014 Eighth International Conference on Next Generation Mobile Apps, Services and Technologies10.1109/NGMAST.2014.24(54-59)Online publication date: 10-Sep-2014

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media