Added code for pi camera (assignment 5)
This commit is contained in:
parent
1197a79bcb
commit
446aaeb2f7
16
Practical/Assignment-5/IoT - Code-5.sh
Executable file
16
Practical/Assignment-5/IoT - Code-5.sh
Executable file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user