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

add #/usr/bin/env python to all python files

This commit is contained in:
marina.kolpakova
2012-11-23 22:57:22 +04:00
parent 8579666b03
commit 285d6320be
92 changed files with 183 additions and 1 deletions
@@ -1,3 +1,5 @@
#/usr/bin/env python
import sys
import os.path
+2
View File
@@ -1,3 +1,5 @@
#/usr/bin/env python
import sys, re
spaces = '[\s]*'
+2
View File
@@ -1,3 +1,5 @@
#/usr/bin/env python
import sys, os, re
classes_ignore_list = (
+2
View File
@@ -1,3 +1,5 @@
#/usr/bin/env python
import sys, re, os.path
from string import Template
+2
View File
@@ -1,3 +1,5 @@
#/usr/bin/env python
import os, sys, re, string, glob
from optparse import OptionParser
+2
View File
@@ -1,3 +1,5 @@
#/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"]
verbose = False
+2
View File
@@ -1 +1,3 @@
#/usr/bin/env python
from cv2.cv import *
+2
View File
@@ -1,3 +1,5 @@
#/usr/bin/env python
import sys
from string import Template
+2
View File
@@ -1,3 +1,5 @@
#/usr/bin/env python
import hdr_parser, sys, re, os, cStringIO
from string import Template
+2
View File
@@ -1,3 +1,5 @@
#/usr/bin/env python
import os, sys, re, string
# the list only for debugging. The real list, used in the real OpenCV build, is specified in CMakeLists.txt
+2 -1
View File
@@ -1,5 +1,6 @@
# Calculating and displaying 2D Hue-Saturation histogram of a color image
#/usr/bin/env python
# Calculating and displaying 2D Hue-Saturation histogram of a color image
import sys
import cv2.cv as cv
@@ -1,3 +1,5 @@
#/usr/bin/env python
import sys
import math
import time
@@ -1,3 +1,5 @@
#/usr/bin/env python
import sys
import cv2.cv as cv
+2
View File
@@ -1,3 +1,5 @@
#/usr/bin/env python
import cv2.cv as cv
import unittest
+2
View File
@@ -1,3 +1,5 @@
#/usr/bin/env python
import cv2.cv as cv
import numpy as np
cv.NamedWindow('Leak')
+2
View File
@@ -1,3 +1,5 @@
#/usr/bin/env python
import cv2.cv as cv
import numpy as np
import time
+2
View File
@@ -1,3 +1,5 @@
#/usr/bin/env python
import cv2.cv as cv
import math
import time
+2
View File
@@ -1,3 +1,5 @@
#/usr/bin/env python
import cv2.cv as cv
import math
import time
+2
View File
@@ -1,3 +1,5 @@
#/usr/bin/env python
import cv2.cv as cv
def precornerdetect(image):
+2
View File
@@ -1,3 +1,5 @@
#/usr/bin/env python
import unittest
import random
import time
+2
View File
@@ -1,3 +1,5 @@
#/usr/bin/env python
import urllib
import cv2.cv as cv
import Image
+2
View File
@@ -1,3 +1,5 @@
#/usr/bin/env python
import unittest
import random
import time
+2
View File
@@ -1,3 +1,5 @@
#/usr/bin/env python
# -*- coding: utf-8 -*-
# transformations.py
+2
View File
@@ -1,3 +1,5 @@
#!/usr/bin/env python
import testlog_parser, sys, os, xml, re
from table_formatter import *
from optparse import OptionParser
+2
View File
@@ -1,3 +1,5 @@
#!/usr/bin/env python
import math, os, sys
webcolors = {
+2
View File
@@ -1,3 +1,5 @@
#!/usr/bin/env python
from optparse import OptionParser
import glob, sys, os, re
+2
View File
@@ -1,3 +1,5 @@
#!/usr/bin/env python
import testlog_parser, sys, os, xml, re, glob
from table_formatter import *
from optparse import OptionParser
+2
View File
@@ -1,3 +1,5 @@
#!/usr/bin/env python
import sys, os, platform, xml, re, tempfile, glob, datetime, getpass, shutil
from optparse import OptionParser
from subprocess import Popen, PIPE
+2
View File
@@ -1,3 +1,5 @@
#!/usr/bin/env python
import testlog_parser, sys, os, xml, glob, re
from table_formatter import *
from optparse import OptionParser
+2
View File
@@ -1,3 +1,5 @@
#!/usr/bin/env python
import sys, re, os.path, cgi, stat
from optparse import OptionParser
from color import getColorizer
+2
View File
@@ -1,3 +1,5 @@
#/usr/bin/env python
import sys, re, os.path
from xml.dom.minidom import parse