├── mask.jpg ├── meluha.jpg ├── meluha_from_webcam.jpg ├── FeatureDetection.py ├── README.md ├── FeatureMatching.py └── ImageAugmentation.py /mask.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoaryan/Augmented-Reality-from-scratch/HEAD/mask.jpg -------------------------------------------------------------------------------- /meluha.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoaryan/Augmented-Reality-from-scratch/HEAD/meluha.jpg -------------------------------------------------------------------------------- /meluha_from_webcam.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoaryan/Augmented-Reality-from-scratch/HEAD/meluha_from_webcam.jpg -------------------------------------------------------------------------------- /FeatureDetection.py: -------------------------------------------------------------------------------- 1 | #Code written by : Aryan Verma (infoaryan) 2 | #Full explanation video link : https://youtu.be/lU4zgDe1x6Y 3 | 4 | import cv2 5 | import numpy as np 6 | 7 | #Getting the Image ready for feature detection 8 | input_image = cv2.imread('meluha.jpg') 9 | input_image = cv2.resize(input_image, (400,550),interpolation=cv2.INTER_AREA) 10 | gray_image = cv2.cvtColor(input_image, cv2.COLOR_BGR2GRAY) 11 | # Initiate ORB object 12 | orb = cv2.ORB_create(nfeatures=1000) 13 | 14 | # find the keypoints with ORB 15 | keypoints, descriptors = orb.detectAndCompute(gray_image, None) 16 | 17 | # draw only the location of the keypoints without size or 18 | final_keypoints = cv2.drawKeypoints(gray_image, keypoints,input_image,(0,255,0)) 19 | 20 | cv2.imshow('ORB keypoints', final_keypoints) 21 | cv2.waitKey() 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Augmented-Reality-from-scratch 2 | In this project series we are going to implement a series of project files, where at the end we will make a Final Software which will be capable to take 3 | a picture from us and augment any 3-D model or any other picture to the live video stream.

4 |

First Module Details : (FEATURE DETECTION)

5 | 6 | 13 | 14 |

Second Module Details: (FEATURE MATCHING)

15 |