You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello
i'm trying examples in programming computer vision with python.
when I try sift example in page 95, I have error as follow
Traceback (most recent call last):
File "C:\Users\admin\Desktop\tasdfasdfasfd\ch3_panorama.py", line 25, in
l[i],d[i] = sift.read_features_from_file(featname[i])
File "C:\Users\admin\Desktop\tasdfasdfasfd\sift.py", line 25, in read_features_from_file
f = loadtxt(filename)
File "C:\Python27\lib\site-packages\numpy\lib\npyio.py", line 896, in loadtxt
fh = iter(open(fname, 'U'))
IOError: [Errno 2] No such file or directory: 'Univ1.sift'
how can I solve this problem???
The text was updated successfully, but these errors were encountered:
try this with opencv3.4 and opencv contrilb python
detector = cv2.xfeatures2d_SIFT.create()
im1 = array(Image.open('C:\0007.png'))
keypoints1 = detector.detect(im1,None)
kp1,des1 = detector.detectAndCompute(im1, None) # get all info of feature points.
points2fA = cv2.KeyPoint_convert(keypoints1) # transfer all the xy coordinates to decimal
In this way you can get the xy location and other feature info.
hello
i'm trying examples in programming computer vision with python.
when I try sift example in page 95, I have error as follow
Traceback (most recent call last):
File "C:\Users\admin\Desktop\tasdfasdfasfd\ch3_panorama.py", line 25, in
l[i],d[i] = sift.read_features_from_file(featname[i])
File "C:\Users\admin\Desktop\tasdfasdfasfd\sift.py", line 25, in read_features_from_file
f = loadtxt(filename)
File "C:\Python27\lib\site-packages\numpy\lib\npyio.py", line 896, in loadtxt
fh = iter(open(fname, 'U'))
IOError: [Errno 2] No such file or directory: 'Univ1.sift'
how can I solve this problem???
The text was updated successfully, but these errors were encountered: