Fixed the shebang lines on the Python scripts.
authorRoman Donchenko <roman.donchenko@itseez.com>
Thu, 11 Apr 2013 14:34:04 +0000 (18:34 +0400)
committerRoman Donchenko <roman.donchenko@itseez.com>
Thu, 11 Apr 2013 14:37:23 +0000 (18:37 +0400)
Also, removed the one from modules/python/src2/cv.py and cleared its
executable bit, since it's not a script.

82 files changed:
doc/check_docs.py
doc/check_docs2.py
doc/conf.py
doc/ocv.py
doc/patch_refman_latex.py
doc/pattern_tools/gen_pattern.py
doc/pattern_tools/svgfig.py
doc/reformat.py
modules/contrib/doc/facerec/src/create_csv.py
modules/gpu/misc/mark_nvidia.py
modules/java/check-tests.py
modules/java/generator/gen_java.py
modules/java/generator/gen_javadoc.py
modules/java/generator/rst_parser.py
modules/python/src2/cv.py [changed mode: 0755->0644]
modules/python/src2/gen.py
modules/python/src2/gen2.py
modules/python/src2/hdr_parser.py
modules/python/test/calchist.py
modules/python/test/camera_calibration.py
modules/python/test/findstereocorrespondence.py
modules/python/test/goodfeatures.py
modules/python/test/leak1.py
modules/python/test/leak2.py
modules/python/test/leak3.py
modules/python/test/leak4.py
modules/python/test/precornerdetect.py
modules/python/test/test.py
modules/python/test/test2.py
modules/python/test/ticket_6.py
modules/python/test/tickets.py
modules/python/test/transformations.py
modules/ts/misc/testlog_parser.py
samples/python2/_coverage.py
samples/python2/_doc.py
samples/python2/asift.py
samples/python2/browse.py
samples/python2/calibrate.py
samples/python2/camshift.py
samples/python2/coherence.py
samples/python2/color_histogram.py
samples/python2/common.py
samples/python2/contours.py
samples/python2/deconvolution.py
samples/python2/demo.py
samples/python2/dft.py
samples/python2/digits.py
samples/python2/digits_adjust.py
samples/python2/digits_video.py
samples/python2/distrans.py
samples/python2/edge.py
samples/python2/facedetect.py
samples/python2/feature_homography.py
samples/python2/find_obj.py
samples/python2/fitline.py
samples/python2/floodfill.py
samples/python2/gabor_threads.py
samples/python2/gaussian_mix.py
samples/python2/hist.py
samples/python2/inpaint.py
samples/python2/kmeans.py
samples/python2/lappyr.py
samples/python2/letter_recog.py
samples/python2/lk_homography.py
samples/python2/lk_track.py
samples/python2/morphology.py
samples/python2/mosse.py
samples/python2/motempl.py
samples/python2/mouse_and_match.py
samples/python2/mser.py
samples/python2/opt_flow.py
samples/python2/peopledetect.py
samples/python2/plane_ar.py
samples/python2/plane_tracker.py
samples/python2/squares.py
samples/python2/stereo_match.py
samples/python2/texture_flow.py
samples/python2/turing.py
samples/python2/video.py
samples/python2/video_dmtx.py
samples/python2/video_threaded.py
samples/python2/watershed.py

index 2d87993..8ab5fce 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import sys, glob
 
index 8092c68..ca99a50 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import os, sys, fnmatch, re
 
index 7b9b02e..4c7a15c 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 # -*- coding: utf-8 -*-
 #
index 4ff8a6d..8fcef40 100755 (executable)
@@ -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.
index 352c46c..ff762fc 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import sys
 
index 45b45af..3643b6d 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 """gen_pattern.py
 To run:
index bf182a8..86afa59 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 # svgfig.py copyright (C) 2008 Jim Pivarski <jpivarski@gmail.com>
 #
index 00e4aae..017efeb 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import os, sys, re
 
index 71d773c..c4de778 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import sys
 import os.path
index e8cc3e8..08743fb 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import sys, re
 
index 4cb80ff..c4d34f6 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import sys, os, re
 
index c0da34f..1da5cb6 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import sys, re, os.path
 from string import Template
index 71372d3..dfa591a 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import os, sys, re, string, glob
 from optparse import OptionParser
index 33dae44..d32323a 100755 (executable)
@@ -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"]
old mode 100755 (executable)
new mode 100644 (file)
index 4238d05..2d4daf0
@@ -1,3 +1 @@
-#/usr/bin/env python
-
 from cv2.cv import *
index 65cafc9..40879e5 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import sys
 from string import Template
index 5061b11..69a0d36 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import hdr_parser, sys, re, os, cStringIO
 from string import Template
index 4c81b04..14da887 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import os, sys, re, string
 
index 0a52258..287e22f 100755 (executable)
@@ -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
index 488dd15..8ffc5b1 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import sys
 import math
index 8f11738..40a9603 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import sys
 import cv2.cv as cv
index 6290777..5ccd5b4 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import cv2.cv as cv
 import unittest
index dde5608..dbd6040 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import cv2.cv as cv
 import numpy as np
index af1cb05..5182264 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import cv2.cv as cv
 import numpy as np
index f72afbb..d763c40 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import cv2.cv as cv
 import math
index dcfc5cf..9e58640 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import cv2.cv as cv
 import math
index 29a6ca1..97aa906 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import cv2.cv as cv
 
index 7c511e4..48138cb 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import unittest
 import random
index 703d2ed..a96be4f 100644 (file)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import unittest
 import random
index 533027f..7249ff2 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import urllib
 import cv2.cv as cv
index 1e756bc..de51e7a 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import unittest
 import random
index 1f63bce..5dce6b0 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 # -*- coding: utf-8 -*-
 # transformations.py
index f61b47b..7ae6aa5 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import sys, re, os.path
 from xml.dom.minidom import parse
index 1d0f041..80edffb 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Utility for measuring python opencv API coverage by samples.
index 71c9faa..fe2b6f3 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Scans current directory for *.py files and reports
index 09894dd..61fca80 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Affine invariant feature-based image matching sample.
index da2c98d..1ea31c0 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 browse.py
index 54aba8a..11ab813 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import numpy as np
 import cv2
index 43543dc..4ce005b 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Camshift tracker
index 082a7c6..d2de154 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Coherence-enhancing filtering example
index c27744e..ebb4b64 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import numpy as np
 import cv2
index 4c6f800..f3c4101 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 This module contais some common routines used by other samples.
index daa13b2..f8cc12c 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 This program illustrates the use of findContours and drawContours.
index 5e3becc..e9c4f44 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Wiener deconvolution.
index a9c1070..068d1ee 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Sample-launcher application.
index 32a91e3..73df84d 100644 (file)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import cv2
 import numpy as np
index c84bc24..e68ec04 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 SVM and KNearest digit recognition.
index 72805d3..3147310 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Digit recognition adjustment.
index ef62826..473d545 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import numpy as np
 import cv2
index 386ea8a..fc2e3d1 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Distance transform sample.
index 9ce3457..4abc942 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 This sample demonstrates Canny edge detection.
index 27a7895..5154711 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import numpy as np
 import cv2
index 4dd8ddf..a9e0d32 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Feature homography
index 7a875ca..66c971d 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Feature-based image matching sample.
index c19dbdc..5960f2c 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Robust line fitting.
index 177e380..33978c1 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Floodfill sample.
index 9582bdb..7b8766e 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 gabor_threads.py
index de714fa..704d30c 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import numpy as np
 from numpy import random
index 47fdb56..1f32b0e 100755 (executable)
@@ -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
 
index d2b8c84..8e91406 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Inpainting sample.
index 4418a46..0656fa7 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 K-means clusterization sample.
index 232ec54..5501362 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 ''' An example of Laplacian Pyramid construction and merging.
 
index 73eeff3..ef8c722 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 The sample demonstrates how to train Random Trees classifier
index 9996764..5f63897 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Lucas-Kanade homography tracker
index f0d0439..794cb10 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Lucas-Kanade tracker
index 0980981..99e6344 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Morphology operations.
index aecb423..671b33f 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 MOSSE tracking sample
index 4f78eba..3ded78e 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import numpy as np
 import cv2
index a9fa882..b55b002 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 #!/usr/bin/env python
 '''
index 73e0a4f..d640ea4 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 MSER detector demo
index d0bc5c5..b476b01 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import numpy as np
 import cv2
index f4bd467..f8d5e6f 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 import numpy as np
 import cv2
index dc2d5d5..4b12dfe 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Planar augmented reality
index 189f50b..4b7d395 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Multitarget planar tracking
index a247c35..36676b4 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Simple "Square Detector" program.
index 0e46c26..0803a3d 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Simple example of stereo image matching and point cloud generation.
index 66eb58f..8b20faf 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Texture flow direction estimation.
index 101f22c..e847f01 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Multiscale Turing Patterns generator
index 2cdcb2a..7e90ded 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Video capture sample.
index 1ed06c4..bcb5785 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Data matrix detector sample.
index 6fce334..7bead03 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Multithreaded video processing sample.
index d4ab22a..9740e38 100755 (executable)
@@ -1,4 +1,4 @@
-#/usr/bin/env python
+#!/usr/bin/env python
 
 '''
 Watershed segmentation