Giter VIP home page Giter VIP logo

augmented-reality-webcam's Introduction

Live Augmented Reality using April Tags (OpenCV)

By Sudharsan Ananth

Table of Contents
  1. About this Project
  2. Dependencies
  3. Prerequisites
  4. How to run
  5. License

About this Project

This repo contains simple python script to create augmented reality using OpenCV and april tags. Camera calibration must be done in order to get stable AR results. For this purpose capture_calibration_images.py and camera_calibration.py is also also provided which captures images with a button press and produces calibration data with the images in a directory respectively.

Augmented Reality on Live Webcam

Img_output_demo

Dependencies

This project is built with the below given major frameworks and libraries. The code is primarily based on python.

Prerequisites

conda environment is ideal for creating environments with the right packages. Pip is required to install the dependencies.

Run the code

Simply clone the repo cd into the right directory and run the code. Step-by-Step instructions given below.

  1. Clone the repository using

    git clone https://github.com/sudharsan-007/Augmented-reality-webcam.git
  2. cd into the directory Augmented-reality-webcam

    cd Augmented-reality-webcam
  3. Create a Environment using

    conda create -n ar_april_tag
    conda activate ar_april_tag
  4. Install Dependencies

    pip install opencv-python
  5. Run capture_calibration_images.py and capture some images for calibration.

    python capture_calibration_images.py
  6. Run camera_calibration.py to generate calibration matrix and distortion index.

    python camera_calibration.py
  7. Run ar_april_tag.py to generate calibration matrix and distortion index.

    python ar_april_tag.py -t DICT_4X4_100

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

augmented-reality-webcam's People

Contributors

sudharsan-007 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.