Skip to content

Optimus-prime2004/Haskell-Programming-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

import picamera

Initialize the camera

camera = picamera.PiCamera()

Set the resolution of the stream

camera.resolution = (640, 480)

Start the stream

camera.start_stream()

Get the RTSP URL

rtsp_url = "rtsp://" + camera.host + ":" + str(camera.stream_port) + "/"

Stop the stream and release the camera resources

camera.stop_stream() camera.close()

Print the RTSP URL

print(rtsp_url)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published