From: Roman Donchenko Date: Thu, 11 Apr 2013 14:34:04 +0000 (+0400) Subject: Fixed the shebang lines on the Python scripts. X-Git-Tag: accepted/tizen/ivi/20140515.103456~1^2~818^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=57d4c86b2bd86be5811b35fc4ccaf653e7939e0e;p=profile%2Fivi%2Fopencv.git Fixed the shebang lines on the Python scripts. Also, removed the one from modules/python/src2/cv.py and cleared its executable bit, since it's not a script. --- diff --git a/doc/check_docs.py b/doc/check_docs.py index 2d87993..8ab5fce 100755 --- a/doc/check_docs.py +++ b/doc/check_docs.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import sys, glob diff --git a/doc/check_docs2.py b/doc/check_docs2.py index 8092c68..ca99a50 100755 --- a/doc/check_docs2.py +++ b/doc/check_docs2.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import os, sys, fnmatch, re diff --git a/doc/conf.py b/doc/conf.py index 7b9b02e..4c7a15c 100755 --- a/doc/conf.py +++ b/doc/conf.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python # -*- coding: utf-8 -*- # diff --git a/doc/ocv.py b/doc/ocv.py index 4ff8a6d..8fcef40 100755 --- a/doc/ocv.py +++ b/doc/ocv.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python # -*- coding: utf-8 -*- """ ocv domain, a modified copy of sphinx.domains.cpp + shpinx.domains.python. diff --git a/doc/patch_refman_latex.py b/doc/patch_refman_latex.py index 352c46c..ff762fc 100755 --- a/doc/patch_refman_latex.py +++ b/doc/patch_refman_latex.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import sys diff --git a/doc/pattern_tools/gen_pattern.py b/doc/pattern_tools/gen_pattern.py index 45b45af..3643b6d 100755 --- a/doc/pattern_tools/gen_pattern.py +++ b/doc/pattern_tools/gen_pattern.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python """gen_pattern.py To run: diff --git a/doc/pattern_tools/svgfig.py b/doc/pattern_tools/svgfig.py index bf182a8..86afa59 100755 --- a/doc/pattern_tools/svgfig.py +++ b/doc/pattern_tools/svgfig.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python # svgfig.py copyright (C) 2008 Jim Pivarski # diff --git a/doc/reformat.py b/doc/reformat.py index 00e4aae..017efeb 100755 --- a/doc/reformat.py +++ b/doc/reformat.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import os, sys, re diff --git a/modules/contrib/doc/facerec/src/create_csv.py b/modules/contrib/doc/facerec/src/create_csv.py index 71d773c..c4de778 100755 --- a/modules/contrib/doc/facerec/src/create_csv.py +++ b/modules/contrib/doc/facerec/src/create_csv.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import sys import os.path diff --git a/modules/gpu/misc/mark_nvidia.py b/modules/gpu/misc/mark_nvidia.py index e8cc3e8..08743fb 100755 --- a/modules/gpu/misc/mark_nvidia.py +++ b/modules/gpu/misc/mark_nvidia.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import sys, re diff --git a/modules/java/check-tests.py b/modules/java/check-tests.py index 4cb80ff..c4d34f6 100755 --- a/modules/java/check-tests.py +++ b/modules/java/check-tests.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import sys, os, re diff --git a/modules/java/generator/gen_java.py b/modules/java/generator/gen_java.py index c0da34f..1da5cb6 100755 --- a/modules/java/generator/gen_java.py +++ b/modules/java/generator/gen_java.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import sys, re, os.path from string import Template diff --git a/modules/java/generator/gen_javadoc.py b/modules/java/generator/gen_javadoc.py index 71372d3..dfa591a 100755 --- a/modules/java/generator/gen_javadoc.py +++ b/modules/java/generator/gen_javadoc.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import os, sys, re, string, glob from optparse import OptionParser diff --git a/modules/java/generator/rst_parser.py b/modules/java/generator/rst_parser.py index 33dae44..d32323a 100755 --- a/modules/java/generator/rst_parser.py +++ b/modules/java/generator/rst_parser.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import os, sys, re, string, fnmatch allmodules = ["core", "flann", "imgproc", "ml", "highgui", "video", "features2d", "calib3d", "objdetect", "legacy", "contrib", "gpu", "androidcamera", "java", "python", "stitching", "ts", "photo", "nonfree", "videostab", "ocl", "superres"] diff --git a/modules/python/src2/cv.py b/modules/python/src2/cv.py old mode 100755 new mode 100644 index 4238d05..2d4daf0 --- a/modules/python/src2/cv.py +++ b/modules/python/src2/cv.py @@ -1,3 +1 @@ -#/usr/bin/env python - from cv2.cv import * diff --git a/modules/python/src2/gen.py b/modules/python/src2/gen.py index 65cafc9..40879e5 100755 --- a/modules/python/src2/gen.py +++ b/modules/python/src2/gen.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import sys from string import Template diff --git a/modules/python/src2/gen2.py b/modules/python/src2/gen2.py index 5061b11..69a0d36 100755 --- a/modules/python/src2/gen2.py +++ b/modules/python/src2/gen2.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import hdr_parser, sys, re, os, cStringIO from string import Template diff --git a/modules/python/src2/hdr_parser.py b/modules/python/src2/hdr_parser.py index 4c81b04..14da887 100755 --- a/modules/python/src2/hdr_parser.py +++ b/modules/python/src2/hdr_parser.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import os, sys, re, string diff --git a/modules/python/test/calchist.py b/modules/python/test/calchist.py index 0a52258..287e22f 100755 --- a/modules/python/test/calchist.py +++ b/modules/python/test/calchist.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python # Calculating and displaying 2D Hue-Saturation histogram of a color image import sys diff --git a/modules/python/test/camera_calibration.py b/modules/python/test/camera_calibration.py index 488dd15..8ffc5b1 100755 --- a/modules/python/test/camera_calibration.py +++ b/modules/python/test/camera_calibration.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import sys import math diff --git a/modules/python/test/findstereocorrespondence.py b/modules/python/test/findstereocorrespondence.py index 8f11738..40a9603 100755 --- a/modules/python/test/findstereocorrespondence.py +++ b/modules/python/test/findstereocorrespondence.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import sys import cv2.cv as cv diff --git a/modules/python/test/goodfeatures.py b/modules/python/test/goodfeatures.py index 6290777..5ccd5b4 100755 --- a/modules/python/test/goodfeatures.py +++ b/modules/python/test/goodfeatures.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import cv2.cv as cv import unittest diff --git a/modules/python/test/leak1.py b/modules/python/test/leak1.py index dde5608..dbd6040 100755 --- a/modules/python/test/leak1.py +++ b/modules/python/test/leak1.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import cv2.cv as cv import numpy as np diff --git a/modules/python/test/leak2.py b/modules/python/test/leak2.py index af1cb05..5182264 100755 --- a/modules/python/test/leak2.py +++ b/modules/python/test/leak2.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import cv2.cv as cv import numpy as np diff --git a/modules/python/test/leak3.py b/modules/python/test/leak3.py index f72afbb..d763c40 100755 --- a/modules/python/test/leak3.py +++ b/modules/python/test/leak3.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import cv2.cv as cv import math diff --git a/modules/python/test/leak4.py b/modules/python/test/leak4.py index dcfc5cf..9e58640 100755 --- a/modules/python/test/leak4.py +++ b/modules/python/test/leak4.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import cv2.cv as cv import math diff --git a/modules/python/test/precornerdetect.py b/modules/python/test/precornerdetect.py index 29a6ca1..97aa906 100755 --- a/modules/python/test/precornerdetect.py +++ b/modules/python/test/precornerdetect.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import cv2.cv as cv diff --git a/modules/python/test/test.py b/modules/python/test/test.py index 7c511e4..48138cb 100755 --- a/modules/python/test/test.py +++ b/modules/python/test/test.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import unittest import random diff --git a/modules/python/test/test2.py b/modules/python/test/test2.py index 703d2ed..a96be4f 100644 --- a/modules/python/test/test2.py +++ b/modules/python/test/test2.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import unittest import random diff --git a/modules/python/test/ticket_6.py b/modules/python/test/ticket_6.py index 533027f..7249ff2 100755 --- a/modules/python/test/ticket_6.py +++ b/modules/python/test/ticket_6.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import urllib import cv2.cv as cv diff --git a/modules/python/test/tickets.py b/modules/python/test/tickets.py index 1e756bc..de51e7a 100755 --- a/modules/python/test/tickets.py +++ b/modules/python/test/tickets.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import unittest import random diff --git a/modules/python/test/transformations.py b/modules/python/test/transformations.py index 1f63bce..5dce6b0 100755 --- a/modules/python/test/transformations.py +++ b/modules/python/test/transformations.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python # -*- coding: utf-8 -*- # transformations.py diff --git a/modules/ts/misc/testlog_parser.py b/modules/ts/misc/testlog_parser.py index f61b47b..7ae6aa5 100755 --- a/modules/ts/misc/testlog_parser.py +++ b/modules/ts/misc/testlog_parser.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import sys, re, os.path from xml.dom.minidom import parse diff --git a/samples/python2/_coverage.py b/samples/python2/_coverage.py index 1d0f041..80edffb 100755 --- a/samples/python2/_coverage.py +++ b/samples/python2/_coverage.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Utility for measuring python opencv API coverage by samples. diff --git a/samples/python2/_doc.py b/samples/python2/_doc.py index 71c9faa..fe2b6f3 100755 --- a/samples/python2/_doc.py +++ b/samples/python2/_doc.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Scans current directory for *.py files and reports diff --git a/samples/python2/asift.py b/samples/python2/asift.py index 09894dd..61fca80 100755 --- a/samples/python2/asift.py +++ b/samples/python2/asift.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Affine invariant feature-based image matching sample. diff --git a/samples/python2/browse.py b/samples/python2/browse.py index da2c98d..1ea31c0 100755 --- a/samples/python2/browse.py +++ b/samples/python2/browse.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' browse.py diff --git a/samples/python2/calibrate.py b/samples/python2/calibrate.py index 54aba8a..11ab813 100755 --- a/samples/python2/calibrate.py +++ b/samples/python2/calibrate.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import numpy as np import cv2 diff --git a/samples/python2/camshift.py b/samples/python2/camshift.py index 43543dc..4ce005b 100755 --- a/samples/python2/camshift.py +++ b/samples/python2/camshift.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Camshift tracker diff --git a/samples/python2/coherence.py b/samples/python2/coherence.py index 082a7c6..d2de154 100755 --- a/samples/python2/coherence.py +++ b/samples/python2/coherence.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Coherence-enhancing filtering example diff --git a/samples/python2/color_histogram.py b/samples/python2/color_histogram.py index c27744e..ebb4b64 100755 --- a/samples/python2/color_histogram.py +++ b/samples/python2/color_histogram.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import numpy as np import cv2 diff --git a/samples/python2/common.py b/samples/python2/common.py index 4c6f800..f3c4101 100755 --- a/samples/python2/common.py +++ b/samples/python2/common.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' This module contais some common routines used by other samples. diff --git a/samples/python2/contours.py b/samples/python2/contours.py index daa13b2..f8cc12c 100755 --- a/samples/python2/contours.py +++ b/samples/python2/contours.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' This program illustrates the use of findContours and drawContours. diff --git a/samples/python2/deconvolution.py b/samples/python2/deconvolution.py index 5e3becc..e9c4f44 100755 --- a/samples/python2/deconvolution.py +++ b/samples/python2/deconvolution.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Wiener deconvolution. diff --git a/samples/python2/demo.py b/samples/python2/demo.py index a9c1070..068d1ee 100755 --- a/samples/python2/demo.py +++ b/samples/python2/demo.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Sample-launcher application. diff --git a/samples/python2/dft.py b/samples/python2/dft.py index 32a91e3..73df84d 100644 --- a/samples/python2/dft.py +++ b/samples/python2/dft.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import cv2 import numpy as np diff --git a/samples/python2/digits.py b/samples/python2/digits.py index c84bc24..e68ec04 100755 --- a/samples/python2/digits.py +++ b/samples/python2/digits.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' SVM and KNearest digit recognition. diff --git a/samples/python2/digits_adjust.py b/samples/python2/digits_adjust.py index 72805d3..3147310 100755 --- a/samples/python2/digits_adjust.py +++ b/samples/python2/digits_adjust.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Digit recognition adjustment. diff --git a/samples/python2/digits_video.py b/samples/python2/digits_video.py index ef62826..473d545 100755 --- a/samples/python2/digits_video.py +++ b/samples/python2/digits_video.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import numpy as np import cv2 diff --git a/samples/python2/distrans.py b/samples/python2/distrans.py index 386ea8a..fc2e3d1 100755 --- a/samples/python2/distrans.py +++ b/samples/python2/distrans.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Distance transform sample. diff --git a/samples/python2/edge.py b/samples/python2/edge.py index 9ce3457..4abc942 100755 --- a/samples/python2/edge.py +++ b/samples/python2/edge.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' This sample demonstrates Canny edge detection. diff --git a/samples/python2/facedetect.py b/samples/python2/facedetect.py index 27a7895..5154711 100755 --- a/samples/python2/facedetect.py +++ b/samples/python2/facedetect.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import numpy as np import cv2 diff --git a/samples/python2/feature_homography.py b/samples/python2/feature_homography.py index 4dd8ddf..a9e0d32 100755 --- a/samples/python2/feature_homography.py +++ b/samples/python2/feature_homography.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Feature homography diff --git a/samples/python2/find_obj.py b/samples/python2/find_obj.py index 7a875ca..66c971d 100755 --- a/samples/python2/find_obj.py +++ b/samples/python2/find_obj.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Feature-based image matching sample. diff --git a/samples/python2/fitline.py b/samples/python2/fitline.py index c19dbdc..5960f2c 100755 --- a/samples/python2/fitline.py +++ b/samples/python2/fitline.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Robust line fitting. diff --git a/samples/python2/floodfill.py b/samples/python2/floodfill.py index 177e380..33978c1 100755 --- a/samples/python2/floodfill.py +++ b/samples/python2/floodfill.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Floodfill sample. diff --git a/samples/python2/gabor_threads.py b/samples/python2/gabor_threads.py index 9582bdb..7b8766e 100755 --- a/samples/python2/gabor_threads.py +++ b/samples/python2/gabor_threads.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' gabor_threads.py diff --git a/samples/python2/gaussian_mix.py b/samples/python2/gaussian_mix.py index de714fa..704d30c 100755 --- a/samples/python2/gaussian_mix.py +++ b/samples/python2/gaussian_mix.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import numpy as np from numpy import random diff --git a/samples/python2/hist.py b/samples/python2/hist.py index 47fdb56..1f32b0e 100755 --- a/samples/python2/hist.py +++ b/samples/python2/hist.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' This is a sample for histogram plotting for RGB images and grayscale images for better understanding of colour distribution diff --git a/samples/python2/inpaint.py b/samples/python2/inpaint.py index d2b8c84..8e91406 100755 --- a/samples/python2/inpaint.py +++ b/samples/python2/inpaint.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Inpainting sample. diff --git a/samples/python2/kmeans.py b/samples/python2/kmeans.py index 4418a46..0656fa7 100755 --- a/samples/python2/kmeans.py +++ b/samples/python2/kmeans.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' K-means clusterization sample. diff --git a/samples/python2/lappyr.py b/samples/python2/lappyr.py index 232ec54..5501362 100755 --- a/samples/python2/lappyr.py +++ b/samples/python2/lappyr.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' An example of Laplacian Pyramid construction and merging. diff --git a/samples/python2/letter_recog.py b/samples/python2/letter_recog.py index 73eeff3..ef8c722 100755 --- a/samples/python2/letter_recog.py +++ b/samples/python2/letter_recog.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' The sample demonstrates how to train Random Trees classifier diff --git a/samples/python2/lk_homography.py b/samples/python2/lk_homography.py index 9996764..5f63897 100755 --- a/samples/python2/lk_homography.py +++ b/samples/python2/lk_homography.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Lucas-Kanade homography tracker diff --git a/samples/python2/lk_track.py b/samples/python2/lk_track.py index f0d0439..794cb10 100755 --- a/samples/python2/lk_track.py +++ b/samples/python2/lk_track.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Lucas-Kanade tracker diff --git a/samples/python2/morphology.py b/samples/python2/morphology.py index 0980981..99e6344 100755 --- a/samples/python2/morphology.py +++ b/samples/python2/morphology.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Morphology operations. diff --git a/samples/python2/mosse.py b/samples/python2/mosse.py index aecb423..671b33f 100755 --- a/samples/python2/mosse.py +++ b/samples/python2/mosse.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' MOSSE tracking sample diff --git a/samples/python2/motempl.py b/samples/python2/motempl.py index 4f78eba..3ded78e 100755 --- a/samples/python2/motempl.py +++ b/samples/python2/motempl.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import numpy as np import cv2 diff --git a/samples/python2/mouse_and_match.py b/samples/python2/mouse_and_match.py index a9fa882..b55b002 100755 --- a/samples/python2/mouse_and_match.py +++ b/samples/python2/mouse_and_match.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python #!/usr/bin/env python ''' diff --git a/samples/python2/mser.py b/samples/python2/mser.py index 73e0a4f..d640ea4 100755 --- a/samples/python2/mser.py +++ b/samples/python2/mser.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' MSER detector demo diff --git a/samples/python2/opt_flow.py b/samples/python2/opt_flow.py index d0bc5c5..b476b01 100755 --- a/samples/python2/opt_flow.py +++ b/samples/python2/opt_flow.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import numpy as np import cv2 diff --git a/samples/python2/peopledetect.py b/samples/python2/peopledetect.py index f4bd467..f8d5e6f 100755 --- a/samples/python2/peopledetect.py +++ b/samples/python2/peopledetect.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python import numpy as np import cv2 diff --git a/samples/python2/plane_ar.py b/samples/python2/plane_ar.py index dc2d5d5..4b12dfe 100755 --- a/samples/python2/plane_ar.py +++ b/samples/python2/plane_ar.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Planar augmented reality diff --git a/samples/python2/plane_tracker.py b/samples/python2/plane_tracker.py index 189f50b..4b7d395 100755 --- a/samples/python2/plane_tracker.py +++ b/samples/python2/plane_tracker.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Multitarget planar tracking diff --git a/samples/python2/squares.py b/samples/python2/squares.py index a247c35..36676b4 100755 --- a/samples/python2/squares.py +++ b/samples/python2/squares.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Simple "Square Detector" program. diff --git a/samples/python2/stereo_match.py b/samples/python2/stereo_match.py index 0e46c26..0803a3d 100755 --- a/samples/python2/stereo_match.py +++ b/samples/python2/stereo_match.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Simple example of stereo image matching and point cloud generation. diff --git a/samples/python2/texture_flow.py b/samples/python2/texture_flow.py index 66eb58f..8b20faf 100755 --- a/samples/python2/texture_flow.py +++ b/samples/python2/texture_flow.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Texture flow direction estimation. diff --git a/samples/python2/turing.py b/samples/python2/turing.py index 101f22c..e847f01 100755 --- a/samples/python2/turing.py +++ b/samples/python2/turing.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Multiscale Turing Patterns generator diff --git a/samples/python2/video.py b/samples/python2/video.py index 2cdcb2a..7e90ded 100755 --- a/samples/python2/video.py +++ b/samples/python2/video.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Video capture sample. diff --git a/samples/python2/video_dmtx.py b/samples/python2/video_dmtx.py index 1ed06c4..bcb5785 100755 --- a/samples/python2/video_dmtx.py +++ b/samples/python2/video_dmtx.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Data matrix detector sample. diff --git a/samples/python2/video_threaded.py b/samples/python2/video_threaded.py index 6fce334..7bead03 100755 --- a/samples/python2/video_threaded.py +++ b/samples/python2/video_threaded.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Multithreaded video processing sample. diff --git a/samples/python2/watershed.py b/samples/python2/watershed.py index d4ab22a..9740e38 100755 --- a/samples/python2/watershed.py +++ b/samples/python2/watershed.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python ''' Watershed segmentation