1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Misc. ./samples typos

Found via `codespell -q 3 --skip="./3rdparty" -I ../opencv-whitelist.txt`
This commit is contained in:
luz.paz
2018-02-08 05:51:54 -05:00
parent 0c07836fba
commit dbb57cd0ae
36 changed files with 60 additions and 60 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ if __name__ == '__main__':
cv.setMouseCallback("gray", onmouse)
'''Loop through all the images in the directory'''
for infile in glob.glob( os.path.join(path, '*.*') ):
ext = os.path.splitext(infile)[1][1:] #get the filename extenstion
ext = os.path.splitext(infile)[1][1:] #get the filename extension
if ext == "png" or ext == "jpg" or ext == "bmp" or ext == "tiff" or ext == "pbm":
print(infile)