Skip to content

Instantly share code, notes, and snippets.

View benni347's full-sized avatar

Cédric Skwar benni347

View GitHub Profile
#!/usr/bin/env python3
from picamera2.encoders import H264Encoder
from picamera2 import Picamera2, Preview
import time
import threading
from datetime import date
import PySimpleGUI as sg
picam2 = Picamera2()
camera_config = picam2.create_video_configuration()
#!/usr/bin/env python3
from picamera2 import Picamera2, Preview
import time
import threading
from datetime import date
def get_user_input():
while True:
user_input = input()
if user_input.lower() == 's':
#!/usr/bin/env python3
from picamera2.encoders import H264Encoder
from picamera2 import Picamera2, Preview
import time
import threading
from datetime import date
def get_user_input():
while True:
user_input = input()

Keybase proof

I hereby claim:

  • I am benni347 on github.
  • I am benny345 (https://keybase.io/benny345) on keybase.
  • I have a public key ASBvhHBb81XENxadZEvAWcWMDjY4nU-fRH6SB6AP79KxjAo

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am benny347 on github.
* I am benny345 (https://keybase.io/benny345) on keybase.
* I have a public key ASAIRZTsvu_5DMaUuORb4Vu1nBhAG22mjizffOBGb-hd4go
To claim this, I am signing this object:
<html>
<head>
<style>
h1 {
font-family: "Lucida Console", "Courier New", monospace;
text-align: center;
font-size: 20px;
margin-top: 0px;
}
</style>
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
p {
font-family: "Lucida Console", "Courier New", monospace;
text-align: center;
font-size: 20px;
margin-top: 0px;