Skip to content

Commit 6a3b60b

Browse files
author
SzabolcsGergely
committed
Update examples with python shebang and executable permission
1 parent c9a23c4 commit 6a3b60b

31 files changed

+42
-0
lines changed

examples/Camera/camera_undistort.py

100644100755
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
import depthai as dai
24
import cv2
35

examples/Camera/thermal_cam.py

100644100755
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
import depthai as dai
24
import cv2
35
import numpy as np

examples/Cast/cast_blur.py

100644100755
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
import depthai as dai
24
import cv2
35
from pathlib import Path

examples/Cast/cast_concat.py

100644100755
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
import numpy as np
24
import cv2
35
import depthai as dai

examples/Cast/cast_diff.py

100644100755
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
import cv2
24
import depthai as dai
35
from pathlib import Path

examples/ColorCamera/rgb_scene.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
import cv2
24
import depthai as dai
35
from itertools import cycle

examples/ColorCamera/rgb_undistort.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
import cv2
24
import depthai as dai
35
import numpy as np

examples/CrashReport/capture_diagnostic.py

100644100755
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
import depthai as dai
24
import zipfile
35
from json import dump, JSONEncoder

examples/FeatureTracker/feature_motion_estimation.py

100644100755
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
import numpy as np
24
import cv2
35
from collections import deque

examples/ImageAlign/depth_align.py

100644100755
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
import numpy as np
24
import cv2
35
import depthai as dai

0 commit comments

Comments
 (0)