SlideShare a Scribd company logo
Pi Camera
Bhavesh Agrawal
Raspberry Pi Camera Module
• The Raspberry Pi Camera Module v2 replaced the
original Camera Module in April 2016.
• The v2 Camera Module has a Sony IMX219 8-
megapixel sensor (compared to the 5-megapixel
OmniVision OV5647 sensor of the original camera).
• The Camera Module can be used to take high-
definition video, as well as stills photographs. It’s easy
to use for beginners, but has plenty to offer advanced
users if you’re looking to expand your knowledge.
• You can also use the libraries we bundle with the
camera to create effects.
Raspberry Pi Camera Module
• You can read all the gory details about IMX219
and the Exmor Rback-illuminated sensor
architecture on Sony’s website, but suffice to
say this is more than just a resolution upgrade:
it’s a leap forward in image quality, colour
fidelity, and low-light performance.
• It supports 1080p30, 720p60 and VGA90 video
modes, as well as still capture. It attaches via a
15cm ribbon cable to the CSI port on the
Raspberry Pi.
Raspberry Pi Camera Module
• The camera works with all models of
Raspberry Pi 1, 2, and 3.
• It can be accessed through the MMAL and
V4L APIs, and there are numerous third-
party libraries built for it, including the
Picamera Python library.
• The camera module is very popular in
home security applications, and in wildlife
camera traps.
Pi Camera
Connecting the Pi Camera
Open Raspberry Pi Configuration
Enable the Camera interface
Camera preview
Rotating the Camera
You can rotate the image by 90, 180, or 270
degrees, or you can set it to 0 to reset.
Change transperancy
Storing the image
Taking five pictures in a row
Recording a Video
Converting and Playing Video
• The video format need to get converted
to MP4. So install gpac.
sudo apt-get install gpac
• Now convert the video to MP4:
MP4Box -fps 30 -add video.h264 video.mp4
Effects
• The resolution of the capture is configurable.
• By default it’s set to the resolution of your monitor,
but the maximum resolution is 2592 x 1944 for still
photos and 1920 x 1080 for video recording.
• Try the following example to set the resolution to
max.
• Note that you’ll also need to set the frame rate to
15 to enable this maximum resolution:
• The minimum resolution allowed is 64 x 64. Try
taking one at that resolution.
Effects: Frame rate and Resolution
Effects: Text Annotation
Effects: Brightness
Annotation Text Sizes
• You can set the annotation text size with
the following code:
camera.annotate_text_size = 50
• Valid sizes are 6 to 160. The default is 32.
Annotation Colors
• You can also alter the annotation colours.
First of all, ensure that Color is imported
by amending your import line at the top:
from picamera import PiCamera, Color
• Then amend the rest of your code as
follows:
Image Effects
•
•
• You can use camera.image_effect to apply a
particular image effect.
The options are: none, negative, solarize, sketch,
denoise, emboss, oilpaint, hatch, gpen, pastel,
watercolor, film, blur, saturation, colorswap,
washedout, posterise, colorpoint, colorbalance,
cartoon, deinterlace1, and deinterlace2.
The default is none.
Image Effects
Looping various Effects
AWB mode
• You can use camera.awb_mode to set the auto white
balance to a preset mode to apply a particular effect.
• The options are: off, auto, sunlight, cloudy, shade,
tungsten, fluorescent, incandescent, flash, and horizon.
The default is auto.
Exposure mode
• You can use camera.exposure_mode to set the exposure
to a preset mode to apply a particular effect.
• The options are: off, auto, night, nightpreview,
backlight, spotlight, sports, snow, beach, verylong,
fixedfps, antishake, and fireworks. The default is auto.
Live streaming
tushar@tusharkute.com
Thank you
This presentation is created using LibreOffice Impress 5.3.2.2, can be used freely as per GNU General Public License
Blogs
http://digitallocha.blogspot.in
http://kyamputar.blogspot.in
Web Resources
http://mitu.co.in
http://tusharkute.com
/mITuSkillologies @mitu_group

More Related Content

Similar to 05-Pi-Camera.pptx

Equipment and software
Equipment and softwareEquipment and software
Equipment and software
megansimpson288
 
Free video editing software
Free video editing softwareFree video editing software
Free video editing software
SmartPixel
 
HD CCTV BACOM SOLUTION.pptx
HD CCTV BACOM SOLUTION.pptxHD CCTV BACOM SOLUTION.pptx
HD CCTV BACOM SOLUTION.pptx
PawachMetharattanara
 
FS Presentation CCTV solution smartshop.pptx
FS Presentation CCTV solution smartshop.pptxFS Presentation CCTV solution smartshop.pptx
FS Presentation CCTV solution smartshop.pptx
PawachMetharattanara
 
Gigapixel Photography: RCAHMW
Gigapixel Photography: RCAHMWGigapixel Photography: RCAHMW
Gigapixel Photography: RCAHMWRCAHMW
 
Surveon IP Camera Spec-in Guide
Surveon IP Camera Spec-in Guide Surveon IP Camera Spec-in Guide
Surveon IP Camera Spec-in Guide
Surveon Technology Inc.
 
Smart Wireless Surveillance Monitoring using RASPBERRY PI
Smart Wireless Surveillance Monitoring using RASPBERRY PISmart Wireless Surveillance Monitoring using RASPBERRY PI
Smart Wireless Surveillance Monitoring using RASPBERRY PI
Krishna Kumar
 
Ip Cam
Ip CamIp Cam
Ip Cam
Robert Bosch
 
Producing Effective Screencasts
Producing Effective ScreencastsProducing Effective Screencasts
Producing Effective Screencasts
Richard Harrington
 
Equipment
EquipmentEquipment
Equipment
ilanrubens
 
How to get the perfect camera exposure with PTZOptics
How to get the perfect camera exposure with PTZOpticsHow to get the perfect camera exposure with PTZOptics
How to get the perfect camera exposure with PTZOptics
Paul Richards
 
Canon hd legria hf s21
Canon hd legria hf s21Canon hd legria hf s21
Canon hd legria hf s21tom70
 
NCET Tech Bite - Photoshop - July 2015
NCET Tech Bite - Photoshop - July 2015NCET Tech Bite - Photoshop - July 2015
NCET Tech Bite - Photoshop - July 2015
Archersan
 
Chapter 6 : VIDEO
Chapter 6 : VIDEOChapter 6 : VIDEO
Chapter 6 : VIDEO
azira96
 
Chapter 6
Chapter 6Chapter 6
Chapter 6
nooramirahazmn
 
In-Depth: 
4K Mirrorless Cameras: Sony A7 Series, Panasonic GH4, and More
In-Depth: 
4K Mirrorless Cameras: Sony A7 Series, Panasonic GH4, and MoreIn-Depth: 
4K Mirrorless Cameras: Sony A7 Series, Panasonic GH4, and More
In-Depth: 
4K Mirrorless Cameras: Sony A7 Series, Panasonic GH4, and More
Richard Harrington
 

Similar to 05-Pi-Camera.pptx (20)

Equipment and software
Equipment and softwareEquipment and software
Equipment and software
 
Free video editing software
Free video editing softwareFree video editing software
Free video editing software
 
HD CCTV BACOM SOLUTION.pptx
HD CCTV BACOM SOLUTION.pptxHD CCTV BACOM SOLUTION.pptx
HD CCTV BACOM SOLUTION.pptx
 
FS Presentation CCTV solution smartshop.pptx
FS Presentation CCTV solution smartshop.pptxFS Presentation CCTV solution smartshop.pptx
FS Presentation CCTV solution smartshop.pptx
 
Gigapixel Photography: RCAHMW
Gigapixel Photography: RCAHMWGigapixel Photography: RCAHMW
Gigapixel Photography: RCAHMW
 
Equipment
Equipment Equipment
Equipment
 
Surveon IP Camera Spec-in Guide
Surveon IP Camera Spec-in Guide Surveon IP Camera Spec-in Guide
Surveon IP Camera Spec-in Guide
 
Production skills
Production skillsProduction skills
Production skills
 
Smart Wireless Surveillance Monitoring using RASPBERRY PI
Smart Wireless Surveillance Monitoring using RASPBERRY PISmart Wireless Surveillance Monitoring using RASPBERRY PI
Smart Wireless Surveillance Monitoring using RASPBERRY PI
 
Ip Cam
Ip CamIp Cam
Ip Cam
 
hcm381-481_oi.pdf
hcm381-481_oi.pdfhcm381-481_oi.pdf
hcm381-481_oi.pdf
 
Producing Effective Screencasts
Producing Effective ScreencastsProducing Effective Screencasts
Producing Effective Screencasts
 
Equipment
EquipmentEquipment
Equipment
 
How to get the perfect camera exposure with PTZOptics
How to get the perfect camera exposure with PTZOpticsHow to get the perfect camera exposure with PTZOptics
How to get the perfect camera exposure with PTZOptics
 
Canon hd legria hf s21
Canon hd legria hf s21Canon hd legria hf s21
Canon hd legria hf s21
 
NCET Tech Bite - Photoshop - July 2015
NCET Tech Bite - Photoshop - July 2015NCET Tech Bite - Photoshop - July 2015
NCET Tech Bite - Photoshop - July 2015
 
Chapter 6 : VIDEO
Chapter 6 : VIDEOChapter 6 : VIDEO
Chapter 6 : VIDEO
 
Chapter 6
Chapter 6Chapter 6
Chapter 6
 
In-Depth: 
4K Mirrorless Cameras: Sony A7 Series, Panasonic GH4, and More
In-Depth: 
4K Mirrorless Cameras: Sony A7 Series, Panasonic GH4, and MoreIn-Depth: 
4K Mirrorless Cameras: Sony A7 Series, Panasonic GH4, and More
In-Depth: 
4K Mirrorless Cameras: Sony A7 Series, Panasonic GH4, and More
 
Video Streaming
Video StreamingVideo Streaming
Video Streaming
 

More from bhaveshagrawal35

quadcopterintroshare160125-181211064657.pptx
quadcopterintroshare160125-181211064657.pptxquadcopterintroshare160125-181211064657.pptx
quadcopterintroshare160125-181211064657.pptx
bhaveshagrawal35
 
Media_604616_smxx.pptx
Media_604616_smxx.pptxMedia_604616_smxx.pptx
Media_604616_smxx.pptx
bhaveshagrawal35
 
projectppt-141127001908-conversion-gate02.pptx
projectppt-141127001908-conversion-gate02.pptxprojectppt-141127001908-conversion-gate02.pptx
projectppt-141127001908-conversion-gate02.pptx
bhaveshagrawal35
 
MergeResult_2023_04_02_05_26_56.pptx
MergeResult_2023_04_02_05_26_56.pptxMergeResult_2023_04_02_05_26_56.pptx
MergeResult_2023_04_02_05_26_56.pptx
bhaveshagrawal35
 
ece480_dt5_final_presentation.ppt
ece480_dt5_final_presentation.pptece480_dt5_final_presentation.ppt
ece480_dt5_final_presentation.ppt
bhaveshagrawal35
 
bionics_4.ppt
bionics_4.pptbionics_4.ppt
bionics_4.ppt
bhaveshagrawal35
 
lecture2-mcu_and_io.pptx
lecture2-mcu_and_io.pptxlecture2-mcu_and_io.pptx
lecture2-mcu_and_io.pptx
bhaveshagrawal35
 
BHAVESH AGRAWAL.pptx
BHAVESH AGRAWAL.pptxBHAVESH AGRAWAL.pptx
BHAVESH AGRAWAL.pptx
bhaveshagrawal35
 
222116610_2 Assiment.pptx
222116610_2 Assiment.pptx222116610_2 Assiment.pptx
222116610_2 Assiment.pptx
bhaveshagrawal35
 
micro manit.pptx
micro manit.pptxmicro manit.pptx
micro manit.pptx
bhaveshagrawal35
 
Unit 3.pptx
Unit 3.pptxUnit 3.pptx
Unit 3.pptx
bhaveshagrawal35
 
Actuators.pptx
Actuators.pptxActuators.pptx
Actuators.pptx
bhaveshagrawal35
 
facedetectionandrecosignationwithpi-200430225418.pptx
facedetectionandrecosignationwithpi-200430225418.pptxfacedetectionandrecosignationwithpi-200430225418.pptx
facedetectionandrecosignationwithpi-200430225418.pptx
bhaveshagrawal35
 
Lecture-1-Smart-Sensor.ppt
Lecture-1-Smart-Sensor.pptLecture-1-Smart-Sensor.ppt
Lecture-1-Smart-Sensor.ppt
bhaveshagrawal35
 
mdml.pptx
mdml.pptxmdml.pptx
mdml.pptx
bhaveshagrawal35
 
mdml.pptx
mdml.pptxmdml.pptx
mdml.pptx
bhaveshagrawal35
 
rs.pptx
rs.pptxrs.pptx
pptr.pptx
pptr.pptxpptr.pptx
pptr.pptx
bhaveshagrawal35
 

More from bhaveshagrawal35 (18)

quadcopterintroshare160125-181211064657.pptx
quadcopterintroshare160125-181211064657.pptxquadcopterintroshare160125-181211064657.pptx
quadcopterintroshare160125-181211064657.pptx
 
Media_604616_smxx.pptx
Media_604616_smxx.pptxMedia_604616_smxx.pptx
Media_604616_smxx.pptx
 
projectppt-141127001908-conversion-gate02.pptx
projectppt-141127001908-conversion-gate02.pptxprojectppt-141127001908-conversion-gate02.pptx
projectppt-141127001908-conversion-gate02.pptx
 
MergeResult_2023_04_02_05_26_56.pptx
MergeResult_2023_04_02_05_26_56.pptxMergeResult_2023_04_02_05_26_56.pptx
MergeResult_2023_04_02_05_26_56.pptx
 
ece480_dt5_final_presentation.ppt
ece480_dt5_final_presentation.pptece480_dt5_final_presentation.ppt
ece480_dt5_final_presentation.ppt
 
bionics_4.ppt
bionics_4.pptbionics_4.ppt
bionics_4.ppt
 
lecture2-mcu_and_io.pptx
lecture2-mcu_and_io.pptxlecture2-mcu_and_io.pptx
lecture2-mcu_and_io.pptx
 
BHAVESH AGRAWAL.pptx
BHAVESH AGRAWAL.pptxBHAVESH AGRAWAL.pptx
BHAVESH AGRAWAL.pptx
 
222116610_2 Assiment.pptx
222116610_2 Assiment.pptx222116610_2 Assiment.pptx
222116610_2 Assiment.pptx
 
micro manit.pptx
micro manit.pptxmicro manit.pptx
micro manit.pptx
 
Unit 3.pptx
Unit 3.pptxUnit 3.pptx
Unit 3.pptx
 
Actuators.pptx
Actuators.pptxActuators.pptx
Actuators.pptx
 
facedetectionandrecosignationwithpi-200430225418.pptx
facedetectionandrecosignationwithpi-200430225418.pptxfacedetectionandrecosignationwithpi-200430225418.pptx
facedetectionandrecosignationwithpi-200430225418.pptx
 
Lecture-1-Smart-Sensor.ppt
Lecture-1-Smart-Sensor.pptLecture-1-Smart-Sensor.ppt
Lecture-1-Smart-Sensor.ppt
 
mdml.pptx
mdml.pptxmdml.pptx
mdml.pptx
 
mdml.pptx
mdml.pptxmdml.pptx
mdml.pptx
 
rs.pptx
rs.pptxrs.pptx
rs.pptx
 
pptr.pptx
pptr.pptxpptr.pptx
pptr.pptx
 

Recently uploaded

Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
symbo111
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
Kamal Acharya
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
Fundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptxFundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptx
manasideore6
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
anoopmanoharan2
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
ssuser7dcef0
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 

Recently uploaded (20)

Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
Fundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptxFundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptx
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 

05-Pi-Camera.pptx

  • 2. Raspberry Pi Camera Module • The Raspberry Pi Camera Module v2 replaced the original Camera Module in April 2016. • The v2 Camera Module has a Sony IMX219 8- megapixel sensor (compared to the 5-megapixel OmniVision OV5647 sensor of the original camera). • The Camera Module can be used to take high- definition video, as well as stills photographs. It’s easy to use for beginners, but has plenty to offer advanced users if you’re looking to expand your knowledge. • You can also use the libraries we bundle with the camera to create effects.
  • 3. Raspberry Pi Camera Module • You can read all the gory details about IMX219 and the Exmor Rback-illuminated sensor architecture on Sony’s website, but suffice to say this is more than just a resolution upgrade: it’s a leap forward in image quality, colour fidelity, and low-light performance. • It supports 1080p30, 720p60 and VGA90 video modes, as well as still capture. It attaches via a 15cm ribbon cable to the CSI port on the Raspberry Pi.
  • 4. Raspberry Pi Camera Module • The camera works with all models of Raspberry Pi 1, 2, and 3. • It can be accessed through the MMAL and V4L APIs, and there are numerous third- party libraries built for it, including the Picamera Python library. • The camera module is very popular in home security applications, and in wildlife camera traps.
  • 7. Open Raspberry Pi Configuration
  • 8. Enable the Camera interface
  • 10. Rotating the Camera You can rotate the image by 90, 180, or 270 degrees, or you can set it to 0 to reset.
  • 15. Converting and Playing Video • The video format need to get converted to MP4. So install gpac. sudo apt-get install gpac • Now convert the video to MP4: MP4Box -fps 30 -add video.h264 video.mp4
  • 16. Effects • The resolution of the capture is configurable. • By default it’s set to the resolution of your monitor, but the maximum resolution is 2592 x 1944 for still photos and 1920 x 1080 for video recording. • Try the following example to set the resolution to max. • Note that you’ll also need to set the frame rate to 15 to enable this maximum resolution: • The minimum resolution allowed is 64 x 64. Try taking one at that resolution.
  • 17. Effects: Frame rate and Resolution
  • 20. Annotation Text Sizes • You can set the annotation text size with the following code: camera.annotate_text_size = 50 • Valid sizes are 6 to 160. The default is 32.
  • 21. Annotation Colors • You can also alter the annotation colours. First of all, ensure that Color is imported by amending your import line at the top: from picamera import PiCamera, Color • Then amend the rest of your code as follows:
  • 22. Image Effects • • • You can use camera.image_effect to apply a particular image effect. The options are: none, negative, solarize, sketch, denoise, emboss, oilpaint, hatch, gpen, pastel, watercolor, film, blur, saturation, colorswap, washedout, posterise, colorpoint, colorbalance, cartoon, deinterlace1, and deinterlace2. The default is none.
  • 25. AWB mode • You can use camera.awb_mode to set the auto white balance to a preset mode to apply a particular effect. • The options are: off, auto, sunlight, cloudy, shade, tungsten, fluorescent, incandescent, flash, and horizon. The default is auto.
  • 26. Exposure mode • You can use camera.exposure_mode to set the exposure to a preset mode to apply a particular effect. • The options are: off, auto, night, nightpreview, backlight, spotlight, sports, snow, beach, verylong, fixedfps, antishake, and fireworks. The default is auto.
  • 28. tushar@tusharkute.com Thank you This presentation is created using LibreOffice Impress 5.3.2.2, can be used freely as per GNU General Public License Blogs http://digitallocha.blogspot.in http://kyamputar.blogspot.in Web Resources http://mitu.co.in http://tusharkute.com /mITuSkillologies @mitu_group