AR-Python-OpenCV

Twitter: @NorowaretaGemu License: MIT


ko-fi


Python
OpenCV
Git PowerShell Shell Batch


AR-Python-OpenCV


Augmented Reality with Python: Aruco Markers & OpenCV

Documentation

Environment Setup/Install Dependencies

python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt

Using Python directly:

pip install -r requirements.txt

Or run:

Run main.py

Using Python directly:

python main.py

Using provided scripts:

Windows:

Unix-like systems (Linux/macOS):

https://github.com/CursedPrograms/OpenGL-Wheels-3.1.7-cp312-Archive/tree/main

pip install opencv-python
pip install opencv-contrib-python
pip install matplotlib
pip install pygame
pip install PyOpenGL-3.1.7-cp12-cp12m-win_amd64.whl
pip install PyOpenGL_accelerate-3.1.7-cp12-cp12m-win_amd64.whl
pip install objloader
pip install Cython==3.0.11
pip install --upgrade pip setuptools wheel
pip install path_to_downloaded_wheel.whl
pip install PyOpenGL PyOpenGL_accelerate
pip install Cython==3.0.11
pip install --upgrade pip setuptools wheel
pip install path_to_downloaded_wheel.whl
pip install PyOpenGL PyOpenGL_accelerate

Requirements:

Package               Version
--------------------- -----------
contourpy             1.3.3
cycler                0.12.1
Cython                3.0.11
fonttools             4.62.1
glcontext             3.0.0
kiwisolver            1.5.0
matplotlib            3.10.8
moderngl              5.12.0
numpy                 2.4.4
objloader             0.2.0
opencv-contrib-python 4.13.0.92
opencv-python         4.13.0.92
packaging             26.0
pillow                12.2.0
pip                   26.0.1
pygame                2.6.1
PyOpenGL              3.1.10
PyOpenGL-accelerate   3.1.10
pyparsing             3.3.2
python-dateutil       2.9.0.post0
setuptools            82.0.1
six                   1.17.0
wheel                 0.46.3


© Cursed Entertainment


CursedEntertainment Logo