Twitter: @NorowaretaGemu License: MIT


ko-fi

Python
OpenCV
PowerShell Shell Batch

OpenGL-OpenCV-AR

How to Run:

Install Requirements

Using Python directly:

pip install -r requirements.txt

Or run:

  • install_requirements.bat

Run main.py

Using Python directly:

python main.py

Using provided scripts:

Windows:

  • .\run.bat or
  • .\run.ps1

Unix-like systems (Linux/macOS):

  • .\run.sh


Requirements:

opencv-contrib-python
Pillow

Intsallation Guide

  1. Make sure your OpenCV was installed using pip install opencv-contrib-python
  2. Install OpenGL using the following youtube tutuorial Install PyOpenGL + GLUT in Windows
  3. You will also need Pillow pip install Pillow
  4. The python pickle module was used to import camera parameters but you can edit that part to work with the camera you will use
  5. The code uses 4x4 aruco markers that you can print from the arucos.png file

© Cursed Entertainment

CursedEntertainment Logo