Skip to content

Commit

Permalink
camera lighting issue 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
LJMU-JackMallo committed Jan 9, 2024
1 parent 362edb1 commit 4af0e78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Import libraries
from utils import *

VERSION = "2.0.2.2"
VERSION = "2.0.2.3"

# Create a new Socket.IO server with specified port
sio = socketio.AsyncServer(cors_allowed_origins='*')
Expand Down
8 changes: 3 additions & 5 deletions utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@
import subprocess
import os


# Initialise camera instance
try:
cam = Picamera2()
except Exception:
print("Error opening camera instance")

cam = Picamera2()

def getCaptureSpec(data,capture_mode):

# Set default values
Expand Down

0 comments on commit 4af0e78

Please sign in to comment.