Augmented reality card based application with Python, numpy, OpenCV and Gooey
pip3 install -r requirements.txt
python src/ar_main.py
Due to the usage of Gooey Parser we can't pass arguments directly to the CLI but if you want to do that then must replace custom_args() in ar_main.py with default_args().
Performance issue and large file when generate executable files with PyInstaller (~300MB) we would rather you compile the program for better experience.
--rectangle,-r: Draws the projection of the reference surface on the video frame as a green rectangle.--matches,-m: Draws matches between reference surface and video frame.--number_matches,-nm: Set number of minimum matches to consider recognition valid.--object,-obj: Choose model to draw on surface.--surface,-s: Choose surface which model will be drawn on.
If you get the message:
Unable to capture video
Check if your camera working correctly and simply restart the program.
My project is based on https://github.com/juangallostra/augmented-reality
:) really appreciate & special thanks to the original author