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.
This commit is contained in:
Roman Donchenko
2013-04-11 18:34:04 +04:00
parent ca56e99a62
commit 57d4c86b2b
82 changed files with 81 additions and 83 deletions

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Utility for measuring python opencv API coverage by samples.

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Scans current directory for *.py files and reports

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Affine invariant feature-based image matching sample.

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
browse.py

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
import numpy as np
import cv2

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Camshift tracker

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Coherence-enhancing filtering example

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
import numpy as np
import cv2

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
This module contais some common routines used by other samples.

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
This program illustrates the use of findContours and drawContours.

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Wiener deconvolution.

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Sample-launcher application.

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
import cv2
import numpy as np

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
SVM and KNearest digit recognition.

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Digit recognition adjustment.

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
import numpy as np
import cv2

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Distance transform sample.

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
This sample demonstrates Canny edge detection.

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
import numpy as np
import cv2

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Feature homography

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Feature-based image matching sample.

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Robust line fitting.

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Floodfill sample.

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
gabor_threads.py

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
import numpy as np
from numpy import random

View File

@@ -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

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Inpainting sample.

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
K-means clusterization sample.

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
''' An example of Laplacian Pyramid construction and merging.

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
The sample demonstrates how to train Random Trees classifier

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Lucas-Kanade homography tracker

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Lucas-Kanade tracker

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Morphology operations.

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
MOSSE tracking sample

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
import numpy as np
import cv2

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
#!/usr/bin/env python
'''

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
MSER detector demo

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
import numpy as np
import cv2

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
import numpy as np
import cv2

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Planar augmented reality

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Multitarget planar tracking

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Simple "Square Detector" program.

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Simple example of stereo image matching and point cloud generation.

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Texture flow direction estimation.

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Multiscale Turing Patterns generator

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Video capture sample.

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Data matrix detector sample.

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Multithreaded video processing sample.

View File

@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
Watershed segmentation