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:
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
import sys
|
||||
import os.path
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
import sys, re
|
||||
|
||||
spaces = '[\s]*'
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
import sys, os, re
|
||||
|
||||
classes_ignore_list = (
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
import sys, re, os.path
|
||||
from string import Template
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
import os, sys, re, string, glob
|
||||
from optparse import OptionParser
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
from cv2.cv import *
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
import sys
|
||||
from string import Template
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
import hdr_parser, sys, re, os, cStringIO
|
||||
from string import Template
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
import cv2.cv as cv
|
||||
import unittest
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
import cv2.cv as cv
|
||||
import numpy as np
|
||||
cv.NamedWindow('Leak')
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
import cv2.cv as cv
|
||||
import numpy as np
|
||||
import time
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
import cv2.cv as cv
|
||||
import math
|
||||
import time
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
import cv2.cv as cv
|
||||
import math
|
||||
import time
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
import cv2.cv as cv
|
||||
|
||||
def precornerdetect(image):
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
import unittest
|
||||
import random
|
||||
import time
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
import urllib
|
||||
import cv2.cv as cv
|
||||
import Image
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
import unittest
|
||||
import random
|
||||
import time
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
# -*- coding: utf-8 -*-
|
||||
# transformations.py
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import testlog_parser, sys, os, xml, re
|
||||
from table_formatter import *
|
||||
from optparse import OptionParser
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import math, os, sys
|
||||
|
||||
webcolors = {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
from optparse import OptionParser
|
||||
import glob, sys, os, re
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import testlog_parser, sys, os, xml, re, glob
|
||||
from table_formatter import *
|
||||
from optparse import OptionParser
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import testlog_parser, sys, os, xml, glob, re
|
||||
from table_formatter import *
|
||||
from optparse import OptionParser
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import sys, re, os.path, cgi, stat
|
||||
from optparse import OptionParser
|
||||
from color import getColorizer
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#/usr/bin/env python
|
||||
|
||||
import sys, re, os.path
|
||||
from xml.dom.minidom import parse
|
||||
|
||||
|
||||
Reference in New Issue
Block a user