RajPShinde / Augmented-Reality-AR-Drawing_images_and_3D_cubes_on_fiducials

Pipeline to superimpose and draw images and 3D cubes on AR tag on floor in a video sequence

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Augmented Reality(AR) | Drawing images & 3D cubes on fiducials

License MIT

Authors

Output

Output

Tag ID

Dependencies

  • Ubuntu 16
  • Python 3.7
  • OpenCV 4.2
  • Numpy
  • copy
  • sys
  • argparse

Run

To run the detection, lena super impose and to draw a cube on a video with single tag -

python3.7 singleTag.py --vid Tag0.mp4 --func 1

For video with multiple tags, run the below command -

python3.7 multiTag.py --vid multipleTags.mp4 --func 1

Options for "vid" argument -

  • path to the video file

Options for "func" argument -

  • 1 - to detect tag id and orientation
  • 2 - to superimpose lena
  • 3 - to draw a virtual cube on top of the tag

Input 1 or 0 in the command window (when prompted) to save into a video file

Reference

About

Pipeline to superimpose and draw images and 3D cubes on AR tag on floor in a video sequence

License:MIT License


Languages

Language:Python 100.0%