added 0xFF & in front of every waitKey so that it works on linux

This commit is contained in:
Gary Bradski
2012-03-14 21:46:34 +00:00
parent ade7394e77
commit 9164ccbaaf
22 changed files with 25 additions and 25 deletions

View File

@@ -99,4 +99,4 @@ if __name__ == '__main__':
# neighbours, so r_threshold is decreased
cv2.imshow('find_obj SURF', vis_brute)
cv2.imshow('find_obj SURF flann', vis_flann)
cv2.waitKey()
0xFF & cv2.waitKey()