1. 程式人生 > >Augmented Reality in 10 Lines of HTML

Augmented Reality in 10 Lines of HTML

In this last step, we are going to add a camera. We include the preset ‘hiro’ (as in Hiro marker). Finally, we make it move as if it were your phone. Easy right?

Congratulations! You are done. You now have augmented reality, in only 10 lines of HTML, running fast on your phone and free of charge.

Check out this video version I made of the tutorial:

相關推薦

Augmented Reality in 10 Lines of HTML

In this last step, we are going to add a camera. We include the preset ‘hiro’ (as in Hiro marker). Finally, we make it move as if it were your phone. Easy

Writing Redux in 15 lines of code

Writing Redux in 15 lines of codeI was inspired to write this today after a colleague new to React complained about how much boilerplate is involved when u

From Scratch: AI Balancing Act in 50 Lines of Python

RL Crash CourseIf this is your first time in machine learning or reinforcement learning, I’ll cover some basics here so you’ll have grounding on the terms

Machine Learning in 100 Lines of JavaScript

The Fitness FunctionCamouflage is an important trait in the animal kingdom. It’s used by both predators and prey, and can be surprisingly sophisticated. So

Linear Regression in 6 lines of Python

Today to perform Linear Regression quickly, we will be using the library scikit-learn. If you don’t have it already you can install it using pip:pip instal

Handmade mutex in 28 lines of go

Mutexes and other lockers is used to protect access to data from different computation threads. Without protection you can get inconsistent state called ra

Deep Learning in 7 lines of code

By "higher-level" they mean higher abstraction level, which is what we're after. So we have our 7 lines of code for a multi-layer neural net. This is magni

Telegram Bot With Node.js in 30 Lines Of Code

PreparationYou need register your bot first and obtain a token. It can be done quite quickly, just add ‘@BotFather’ bot, start the conversation and follow

Top 5 Tools for Augmented Reality in Mobile Apps

Augmented Reality (AR) is about overlaying pieces of a virtual world over the real world (in contrast to Virtual Reality (VR) that

A machine and human’s perception of the world in Augmented Reality

A computer’s understanding of space for Augmented RealityThe goal of Augmented Reality is to superimpose the computer’s perception of space with human’s un

Data Classes in Kotlin: save a good bunch of lines of code (KAD 10)

We’ve already seen the classes in an earlier article, but data classes go a little further in helping us simplify our code. What are data classes? A

delete specific lines in a set of files in a folder

import os myinst = ['foo','bar'] def wipe_lines(folder): for (dirpath, dirnames, filenames) in os.walk('/Users/faramir/git/'+ folder):

Brain-Computer Interfaces and Augmented Reality: A State of the Art

Brain-Computer Interfaces and Augmented Reality: A State of the Art 腦機介面和增強現實:最先進的技術 文章目錄 Brain-Computer Interfaces and Augmented R

Harness the Power of Augmented Reality with Camera Effects Platform

Facebook has long been a place where people connect and communicate with one another by sharing personal stories, photos, and videos about their lives. Las

I Met Magic Leap's AI Assistant Mica & Saw the Future of Augmented Reality

Unlike VR, when you're talking about augmented reality, describing what an experience is like can be incredibly difficult -- primarily because the experien

10 Examples Of Customer Experience Innovation In Banking

Customer experience is often the deciding factor when it comes to banking. Today's customers want personalized interactions, simplified banking and access

Exploring the future of learning through virtual and augmented reality

At a recent on-campus symposium titled “VR, Sound and Cinema: Implications for Storytelling and Learning,” MIT Open Learning explored the future of storyte

The human eye’s understanding of space for Augmented Reality

From an engineering standpoint, our eyes are precision optical sensors and the structure of it has long been used as a blueprint to design cameras. Light e

Face Recognition with Python, in Under 25 Lines of Code – Real Python

In this article, we’ll look at a surprisingly simple way to get started with face recognition using Python and the open source library OpenCV. Before y

'Augmented reality' tools to help health care workers in war zones: Researchers have developed a unique approach using augmented

"The most critical challenge is to provide surgical expertise into the battlefield when it is most required," said Juan Wachs, Purdue's James A. and Sharo