{"id":20619955,"url":"https://github.com/mafda/augmented_reality_101","last_synced_at":"2025-04-15T12:13:42.325Z","repository":{"id":37223184,"uuid":"263728540","full_name":"mafda/augmented_reality_101","owner":"mafda","description":"Introduction to Augmented Reality (AR) with Python 3 and OpenCV 4.2.","archived":false,"fork":false,"pushed_at":"2023-08-23T15:13:24.000Z","size":10773,"stargazers_count":129,"open_issues_count":4,"forks_count":29,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-15T12:13:07.913Z","etag":null,"topics":["augmented-reality","opencv","opencv-python","python3"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mafda.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-13T19:49:03.000Z","updated_at":"2025-03-31T02:35:23.000Z","dependencies_parsed_at":"2024-11-20T11:04:26.893Z","dependency_job_id":null,"html_url":"https://github.com/mafda/augmented_reality_101","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mafda%2Faugmented_reality_101","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mafda%2Faugmented_reality_101/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mafda%2Faugmented_reality_101/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mafda%2Faugmented_reality_101/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mafda","download_url":"https://codeload.github.com/mafda/augmented_reality_101/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249067778,"owners_count":21207396,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["augmented-reality","opencv","opencv-python","python3"],"created_at":"2024-11-16T12:12:59.060Z","updated_at":"2025-04-15T12:13:42.305Z","avatar_url":"https://github.com/mafda.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Augmented Reality 101\n\nThe development of areas such as computer vision, image processing, and computer graphics, allow the introduction of technologies such as **Augmented Reality**.\n\n[Azuma](https://www.cs.unc.edu/~azuma/ARpresence.pdf) defines **Augmented Reality** as *\"a technology that adds computer-generated virtual content to real-world views through devices\"*.\n\n## Introduction\n\nThe purpose of these map is to give you an idea about **Augmented Reality** and to guide you through the main features that surround this technology.\n\n![augmented reality by mafda](img/augmented_reality_by_mafda_01.png)\n\n\u003e Read complete post in [AR 101 — Augmented Reality](https://medium.com/@mafda_/ar-101-augmented-reality-6bc92a863b2e).\n\n### Definition and basic features\n\n![augmented reality by mafda](img/augmented_reality_by_mafda_02.png)\n\n\u003e Read complete post in [AR 101 — A brief summary (Part 1)](https://medium.com/@mafda_/ar-101-a-brief-summary-part-1-a5b43fad8e4).\n\n### Horizontal and vertical trends\n\n![augmented reality by mafda](img/augmented_reality_by_mafda_03.png)\n\n\u003e Read complete post in [AR 101 — Augmented Reality Trends (Part 2)](https://medium.com/@mafda_/ar-101-augmented-reality-trends-part-2-9c5f86ca0de1).\n\n### Basic process and main components\n\n![augmented reality by mafda](img/augmented_reality_by_mafda_04.png)\n\n\u003e Read complete post in [AR 101 — Components of the Augmented Reality System (Part 3)](https://medium.com/@mafda_/ar-101-components-of-the-augmented-reality-system-part-3-878c71e68069).\n\n## Augmented Reality Application\n\n In this repository, I want to present a **basic implementation** that projects on the screen a 3D model aligned (orientation and translation) to a predefined flat surface.\n\nHowever, currently the industry is investing in different frameworks as [ARCore](https://developers.google.com/ar/discover), [ARKit](https://developer.apple.com/augmented-reality/), and [Vuforia](https://developer.vuforia.com/), among others, which provide the community more accessible technologies with more realistic results and experiences.\n\nThe repository has two parts:\n\n1. [Image](src/ar_python3_opencv4.ipynb) is the implementation, step by step, with some basic definitions, to add a 3D model to a flat image.\n2. [Video](src/ar_python3_opencv4.py)  is the implementation to have the experience in real-time through a camera.\n\n### Instalation\n\n```\ngit clone git@github.com:mafda/augmented_reality_101.git\n```\n\n\n### Environment\n\nThe tools we will use are Python 3 and OpenCV 4.2.\n\n1. Create virtual environment:\n\n```\npython -m venv /path/to/new/virtual/environment\n```\n\n2. Activate environment:\n\n```\nsource /path/to/new/virtual/environment/bin/activate\n```\n\n3. Install requirements.txt file:\n\n```\npip install -r requirements.txt\n```\n\n4. For [Image](src/ar_python3_opencv4.ipynb)\n\n```\npython -m jupyter notebook\n```\n\n5. For [Video](src/ar_python3_opencv4.py)\n\n```\npython ar_python3_opencv4.py\n```\n\n### Model 3D\n\n* [Chair](https://clara.io/view/67bc637b-c528-44a0-bfbc-84335d12bcfa) from [Clara.io](https://clara.io/scenes)\n\n### Results\n\n![augmented reality python3 opencv2](results/sourceImage_results.png)\n \n\n## Repository References\n\n* JE Solem, *Programming Computer Vision with Python: Tools and algorithms for analyzing images*. O'Reilly Media, Inc.\n* [Programming Computer Vision with Python](http://programmingcomputervision.com/)\n* [Open source Python module for computer vision ](https://github.com/jesolem/PCV)\n* [Augmented reality with Python and OpenCV](https://bitesofcode.wordpress.com/2017/09/12/augmented-reality-with-python-and-opencv-part-1/)\n* [augmented-reality](https://github.com/juangallostra/augmented-reality)\n* [OBJFileLoader](https://github.com/yarolig/OBJFileLoader)\n\n## Map References\n\n* Azuma, R. T. (1997). *A survey of augmented reality*. Presence: Teleoper. Virtual Environ., 6(4):355–385. [Paper](https://www.cs.unc.edu/~azuma/ARpresence.pdf) \n\n* Chatzopoulos, D., Bermejo, C., Huang, Z., and Hui, P. (2017). *Mobile augmented reality survey: From where we are to where\nwe go.* IEEE Access, 5:6917–6950. [Paper](https://ieeexplore.ieee.org/document/7912316)\n\n* Craig, A. (2013). *Understanding Augmented Reality: Concepts and Applications.* Elsevier Science, 1 edition. [Book](https://www.sciencedirect.com/book/9780240824086/understanding-augmented-reality)\n\n* Fleck, P., Arth, C., Pirchheim, C., and Schmalstieg, D. (2015).   *Tracking and mapping with a swarm of heterogeneous clients*. In 2015 IEEE International Symposium on Mixed and Augmented Reality, pages 136–139. [Paper](https://ieeexplore.ieee.org/document/7328080)\n\n* Huang, Z., Hui, P., Peylo, C., and Chatzopoulos, D. (2013). *Mobile augmented reality survey: a bottom-up approach.* CoRR. [Paper](https://arxiv.org/pdf/1309.4413.pdf)\n\n* Lehiani, Y., Maidi, M., Preda, M., and Ghorbel, F. (2015). *Object identification and tracking for steady registration in mobile augmented reality*. In 2015 IEEE International Conference on Signal and Image Processing Applications (ICSIPA), pages 54–59. [Paper](https://ieeexplore.ieee.org/document/7412163)\n\n* Ling, H. (2017). *Augmented reality in reality*. IEEE MultiMedia, 24(3):10–15. [Paper](https://ieeexplore.ieee.org/document/7999155)\n\n* Papagiannis, H. (2017). *Augmented Human: How Technology Is Shaping the New Reality.* O’Reilly Media. [Book](https://www.augmentedhuman.co/)\n\n* Peddie, J. (2017). *Augmented Reality: Where We Will All Live.* Springer International Publishing. [Book](https://www.springer.com/gp/book/9783319545011)\n\n* Roberto, R., Lima, J. P., and Teichrieb, V. (2016). *Tracking for mobile devices: A systematic mapping study.* Computers \u0026 Graphics, 56:20 – 30. [Paper](https://www.cin.ufpe.br/~in1123/2017-1/leitura/roberto.pdf)\n\n---\n\nmade with 💙 by [mafda](https://mafda.github.io/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmafda%2Faugmented_reality_101","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmafda%2Faugmented_reality_101","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmafda%2Faugmented_reality_101/lists"}