sift_keypoints.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 
4 import cv2
5 from scipy.misc import lena
6 
7 import imagesift
8 
9 
10 def main():
11  img = lena()
12 
13  frames, desc = imagesift.get_sift_keypoints(img)
14 
15  out = imagesift.draw_sift_frames(img, frames)
16 
17  cv2.imshow('sift image', out)
18  cv2.waitKey(0)
19 
20 
21 if __name__ == '__main__':
22  main()
def draw_sift_frames(img, frames)
Definition: __init__.py:36
def get_sift_keypoints(img)
Definition: __init__.py:11


imagesift
Author(s): Rosen Diankov (rdiankov@cs.cmu.edu), Kei Okada
autogenerated on Mon May 3 2021 03:03:10