Skip to content

Commit

Permalink
Add "#!/usr/bin/python" to the top of overlay examples
Browse files Browse the repository at this point in the history
This means they can run directly without having to invoke the Python
interpreter explicitly (like the other examples).

Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
  • Loading branch information
davidplowman authored and chrisruk committed Apr 5, 2022
1 parent 697ecf7 commit adaec85
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/overlay_drm.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/python3

from picamera2.picamera2 import *
import numpy as np
import time
Expand Down
2 changes: 2 additions & 0 deletions examples/overlay_gl.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/python3

from picamera2.picamera2 import *
import numpy as np
import time
Expand Down
2 changes: 2 additions & 0 deletions examples/overlay_null.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/python3

from picamera2.picamera2 import *
import numpy as np
import time
Expand Down
2 changes: 2 additions & 0 deletions examples/overlay_qt.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/python3

from picamera2.picamera2 import *
import numpy as np
import time
Expand Down

0 comments on commit adaec85

Please sign in to comment.