Skip to content

Commit

Permalink
Fix picamera release error (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
scottbarnesg committed Aug 9, 2023
1 parent f5485a0 commit 23c2047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/smart_sec_cam/streamer/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def capture_image(self):
return processed_image_data

def close(self):
self.camera.release()
self.camera.close()

def _set_resolution(self, resolution: Tuple[int, int]):
self.camera.resolution = resolution
Expand Down

0 comments on commit 23c2047

Please sign in to comment.