From 446aaeb2f7165f859ec367dd849eb789a0597def Mon Sep 17 00:00:00 2001 From: Kshitij Date: Mon, 21 Oct 2024 22:36:13 +0530 Subject: [PATCH] Added code for pi camera (assignment 5) --- Practical/Assignment-5/IoT - Code-5.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 Practical/Assignment-5/IoT - Code-5.sh diff --git a/Practical/Assignment-5/IoT - Code-5.sh b/Practical/Assignment-5/IoT - Code-5.sh new file mode 100755 index 0000000..607e68b --- /dev/null +++ b/Practical/Assignment-5/IoT - Code-5.sh @@ -0,0 +1,16 @@ +: ' +THIS CODE HAS BEEN TESTED ON RASPBERRY PI 3B, 4B AND IS FULLY OPERATIONAL. + +Problem Statement: Picamera + +Code from InternetOfThingsAndEmbeddedSystems (SPPU - Third Year - Computer Engineering - Content) repository on KSKA Git: https://git.kska.io/sppu-te-comp-content/InternetOfThingsAndEmbeddedSystems +' + +# BEGINNING OF CODE + +cd /home/$(whoami)/Desktop/ # Changing current working directory to Desktop +raspicam-still -o test.jpg # Image +libcamera-vid --codec h254 vid.h264 + +# END OF CODE +