add #/usr/bin/env python to all python files
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Utility for measuring python opencv API coverage by samples.
|
||||
'''
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Scans current directory for *.py files and reports
|
||||
ones with missing __doc__ string.
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Affine invariant feature-based image matching sample.
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
browse.py
|
||||
=========
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
import numpy as np
|
||||
import cv2
|
||||
import os
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Camshift tracker
|
||||
================
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Coherence-enhancing filtering example
|
||||
=====================================
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
import numpy as np
|
||||
import cv2
|
||||
from time import clock
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
This module contais some common routines used by other samples.
|
||||
'''
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
This program illustrates the use of findContours and drawContours.
|
||||
The original image is put up along with the image of drawn contours.
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Wiener deconvolution.
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Sample-launcher application.
|
||||
'''
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
SVM and KNearest digit recognition.
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Digit recognition adjustment.
|
||||
Grid search is used to find the best parameters for SVM and KNearest classifiers.
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
import numpy as np
|
||||
import cv2
|
||||
import os
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Distance transform sample.
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
This sample demonstrates Canny edge detection.
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
import numpy as np
|
||||
import cv2
|
||||
import cv2.cv as cv
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Feature homography
|
||||
==================
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Feature-based image matching sample.
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Robust line fitting.
|
||||
==================
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Floodfill sample.
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
gabor_threads.py
|
||||
=========
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
import numpy as np
|
||||
from numpy import random
|
||||
import cv2
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
''' This is a sample for histogram plotting for RGB images and grayscale images for better understanding of colour distribution
|
||||
|
||||
Benefit : Learn how to draw histogram of images
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Inpainting sample.
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
K-means clusterization sample.
|
||||
Usage:
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
''' An example of Laplacian Pyramid construction and merging.
|
||||
|
||||
Level : Intermediate
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
The sample demonstrates how to train Random Trees classifier
|
||||
(or Boosting classifier, or MLP, or Knearest, or Support Vector Machines) using the provided dataset.
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Lucas-Kanade homography tracker
|
||||
===============================
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Lucas-Kanade tracker
|
||||
====================
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Morphology operations.
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
MOSSE tracking sample
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
import numpy as np
|
||||
import cv2
|
||||
import video
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
#!/usr/bin/env python
|
||||
'''
|
||||
mouse_and_match.py [-i path | --input path: default ./]
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
MSER detector demo
|
||||
==================
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
import numpy as np
|
||||
import cv2
|
||||
import video
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
import numpy as np
|
||||
import cv2
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Planar augmented reality
|
||||
==================
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Multitarget planar tracking
|
||||
==================
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Simple "Square Detector" program.
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Simple example of stereo image matching and point cloud generation.
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Texture flow direction estimation.
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Multiscale Turing Patterns generator
|
||||
====================================
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Video capture sample.
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Data matrix detector sample.
|
||||
Usage:
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Multithreaded video processing sample.
|
||||
Usage:
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
'''
|
||||
Watershed segmentation
|
||||
=========
|
||||
|
Reference in New Issue
Block a user