1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315
|
From: Jochen Sprickerhof <jspricke@debian.org>
Date: Sun, 20 Oct 2019 19:19:38 +0200
Subject: Switch to Python 3
---
cfg/AddingImages.cfg | 2 +-
cfg/CamShift.cfg | 2 +-
cfg/ContourMoments.cfg | 2 +-
cfg/ConvexHull.cfg | 2 +-
cfg/CornerHarris.cfg | 2 +-
cfg/DiscreteFourierTransform.cfg | 2 +-
cfg/EdgeDetection.cfg | 2 +-
cfg/FBackFlow.cfg | 2 +-
cfg/FaceDetection.cfg | 2 +-
cfg/FaceRecognition.cfg | 2 +-
cfg/FindContours.cfg | 2 +-
cfg/GeneralContours.cfg | 2 +-
cfg/GoodfeatureTrack.cfg | 2 +-
cfg/HLSColorFilter.cfg | 2 +-
cfg/HSVColorFilter.cfg | 2 +-
cfg/HoughCircles.cfg | 2 +-
cfg/HoughLines.cfg | 2 +-
cfg/LKFlow.cfg | 2 +-
cfg/PeopleDetect.cfg | 2 +-
cfg/PhaseCorr.cfg | 2 +-
cfg/Pyramids.cfg | 2 +-
cfg/RGBColorFilter.cfg | 2 +-
cfg/SegmentObjects.cfg | 2 +-
cfg/SimpleFlow.cfg | 2 +-
cfg/Smoothing.cfg | 2 +-
cfg/Threshold.cfg | 2 +-
cfg/WatershedSegmentation.cfg | 2 +-
scripts/face_recognition_trainer.py | 2 +-
28 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/cfg/AddingImages.cfg b/cfg/AddingImages.cfg
index f7a8c05..f85be75 100755
--- a/cfg/AddingImages.cfg
+++ b/cfg/AddingImages.cfg
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
PACKAGE = "opencv_apps"
diff --git a/cfg/CamShift.cfg b/cfg/CamShift.cfg
index b7b2b9a..af8ba64 100755
--- a/cfg/CamShift.cfg
+++ b/cfg/CamShift.cfg
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Software License Agreement (BSD License)
#
# Copyright (c) 2014, Kei Okada.
diff --git a/cfg/ContourMoments.cfg b/cfg/ContourMoments.cfg
index 1921746..2511c7a 100755
--- a/cfg/ContourMoments.cfg
+++ b/cfg/ContourMoments.cfg
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Software License Agreement (BSD License)
#
# Copyright (c) 2014, Kei Okada.
diff --git a/cfg/ConvexHull.cfg b/cfg/ConvexHull.cfg
index a8fed5c..581a0f4 100755
--- a/cfg/ConvexHull.cfg
+++ b/cfg/ConvexHull.cfg
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Software License Agreement (BSD License)
#
# Copyright (c) 2014, Kei Okada.
diff --git a/cfg/CornerHarris.cfg b/cfg/CornerHarris.cfg
index 6c03285..b52b9c1 100755
--- a/cfg/CornerHarris.cfg
+++ b/cfg/CornerHarris.cfg
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
PACKAGE = "opencv_apps"
diff --git a/cfg/DiscreteFourierTransform.cfg b/cfg/DiscreteFourierTransform.cfg
index d73852b..ba2abb0 100755
--- a/cfg/DiscreteFourierTransform.cfg
+++ b/cfg/DiscreteFourierTransform.cfg
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
PACKAGE = "opencv_apps"
diff --git a/cfg/EdgeDetection.cfg b/cfg/EdgeDetection.cfg
index f6d41e3..604f92a 100755
--- a/cfg/EdgeDetection.cfg
+++ b/cfg/EdgeDetection.cfg
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Software License Agreement (BSD License)
#
# Copyright (c) 2014, Kei Okada.
diff --git a/cfg/FBackFlow.cfg b/cfg/FBackFlow.cfg
index 43dee85..e781fcb 100755
--- a/cfg/FBackFlow.cfg
+++ b/cfg/FBackFlow.cfg
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Software License Agreement (BSD License)
#
# Copyright (c) 2014, Kei Okada.
diff --git a/cfg/FaceDetection.cfg b/cfg/FaceDetection.cfg
index 498297c..c92ea3b 100755
--- a/cfg/FaceDetection.cfg
+++ b/cfg/FaceDetection.cfg
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Software License Agreement (BSD License)
#
# Copyright (c) 2014, Kei Okada.
diff --git a/cfg/FaceRecognition.cfg b/cfg/FaceRecognition.cfg
index 5950f4e..082ab47 100755
--- a/cfg/FaceRecognition.cfg
+++ b/cfg/FaceRecognition.cfg
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Software License Agreement (BSD License)
#
# Copyright (c) 2017, Yuki Furuta.
diff --git a/cfg/FindContours.cfg b/cfg/FindContours.cfg
index 59e1c92..8124953 100755
--- a/cfg/FindContours.cfg
+++ b/cfg/FindContours.cfg
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Software License Agreement (BSD License)
#
# Copyright (c) 2014, Kei Okada.
diff --git a/cfg/GeneralContours.cfg b/cfg/GeneralContours.cfg
index 8648384..2553ab3 100755
--- a/cfg/GeneralContours.cfg
+++ b/cfg/GeneralContours.cfg
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Software License Agreement (BSD License)
#
# Copyright (c) 2014, Kei Okada.
diff --git a/cfg/GoodfeatureTrack.cfg b/cfg/GoodfeatureTrack.cfg
index aac9c81..661c058 100755
--- a/cfg/GoodfeatureTrack.cfg
+++ b/cfg/GoodfeatureTrack.cfg
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Software License Agreement (BSD License)
#
# Copyright (c) 2014, Kei Okada.
diff --git a/cfg/HLSColorFilter.cfg b/cfg/HLSColorFilter.cfg
index 0e5e56a..58a4b80 100755
--- a/cfg/HLSColorFilter.cfg
+++ b/cfg/HLSColorFilter.cfg
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
PACKAGE = "opencv_apps"
diff --git a/cfg/HSVColorFilter.cfg b/cfg/HSVColorFilter.cfg
index 2df971b..7829608 100755
--- a/cfg/HSVColorFilter.cfg
+++ b/cfg/HSVColorFilter.cfg
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
PACKAGE = "opencv_apps"
diff --git a/cfg/HoughCircles.cfg b/cfg/HoughCircles.cfg
index 269b475..a530c40 100755
--- a/cfg/HoughCircles.cfg
+++ b/cfg/HoughCircles.cfg
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Software License Agreement (BSD License)
#
# Copyright (c) 2014, Kei Okada.
diff --git a/cfg/HoughLines.cfg b/cfg/HoughLines.cfg
index 1889083..cc8e6d7 100755
--- a/cfg/HoughLines.cfg
+++ b/cfg/HoughLines.cfg
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Software License Agreement (BSD License)
#
# Copyright (c) 2014, Kei Okada.
diff --git a/cfg/LKFlow.cfg b/cfg/LKFlow.cfg
index 7e945b9..1a7cfce 100755
--- a/cfg/LKFlow.cfg
+++ b/cfg/LKFlow.cfg
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Software License Agreement (BSD License)
#
# Copyright (c) 2014, Kei Okada.
diff --git a/cfg/PeopleDetect.cfg b/cfg/PeopleDetect.cfg
index b0a0be0..12b1615 100755
--- a/cfg/PeopleDetect.cfg
+++ b/cfg/PeopleDetect.cfg
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Software License Agreement (BSD License)
#
# Copyright (c) 2014, Kei Okada.
diff --git a/cfg/PhaseCorr.cfg b/cfg/PhaseCorr.cfg
index 956ced2..9008edb 100755
--- a/cfg/PhaseCorr.cfg
+++ b/cfg/PhaseCorr.cfg
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Software License Agreement (BSD License)
#
# Copyright (c) 2014, Kei Okada.
diff --git a/cfg/Pyramids.cfg b/cfg/Pyramids.cfg
index 57ccfa5..29297a5 100755
--- a/cfg/Pyramids.cfg
+++ b/cfg/Pyramids.cfg
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
PACKAGE = "opencv_apps"
diff --git a/cfg/RGBColorFilter.cfg b/cfg/RGBColorFilter.cfg
index f76c536..84d282f 100755
--- a/cfg/RGBColorFilter.cfg
+++ b/cfg/RGBColorFilter.cfg
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
PACKAGE = "opencv_apps"
diff --git a/cfg/SegmentObjects.cfg b/cfg/SegmentObjects.cfg
index 6bb3d9b..e35e309 100755
--- a/cfg/SegmentObjects.cfg
+++ b/cfg/SegmentObjects.cfg
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Software License Agreement (BSD License)
#
# Copyright (c) 2014, Kei Okada.
diff --git a/cfg/SimpleFlow.cfg b/cfg/SimpleFlow.cfg
index a7f06aa..69e56c0 100755
--- a/cfg/SimpleFlow.cfg
+++ b/cfg/SimpleFlow.cfg
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Software License Agreement (BSD License)
#
# Copyright (c) 2014, Kei Okada.
diff --git a/cfg/Smoothing.cfg b/cfg/Smoothing.cfg
index bb09ac8..bd5cf27 100755
--- a/cfg/Smoothing.cfg
+++ b/cfg/Smoothing.cfg
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
PACKAGE = "opencv_apps"
diff --git a/cfg/Threshold.cfg b/cfg/Threshold.cfg
index f7e335b..2fd64af 100755
--- a/cfg/Threshold.cfg
+++ b/cfg/Threshold.cfg
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
PACKAGE = "opencv_apps"
diff --git a/cfg/WatershedSegmentation.cfg b/cfg/WatershedSegmentation.cfg
index 79dda9a..dd7917b 100755
--- a/cfg/WatershedSegmentation.cfg
+++ b/cfg/WatershedSegmentation.cfg
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Software License Agreement (BSD License)
#
# Copyright (c) 2014, Kei Okada.
diff --git a/scripts/face_recognition_trainer.py b/scripts/face_recognition_trainer.py
index b62c5e3..74fb1e2 100755
--- a/scripts/face_recognition_trainer.py
+++ b/scripts/face_recognition_trainer.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Software License Agreement (BSD License)
#
# Copyright (c) 2017, Yuki Furuta.
|