Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.5 KB

RPI_Streaming.md

File metadata and controls

42 lines (33 loc) · 1.5 KB

Raspberry Pi Streaming

Installation

Setup Instructions or Full Setup Instructions

Manual Motorized Focus

Arducam Motorized Focus Pi Camera Code

  • Comment out system(runCameraCmd); and set flag = 1;

Manual Color and Exposure Control

No auto coloring

/usr/local/bin/mjpg_streamer -i "input_raspicam.so -x 1280 -y 720 -fps 15 -br 60 -co 30 -ex off -awb off -awbgainR 2.0 -awbgainB 2.0" -o "/usr/local/lib/mjpg-streamer/output_http.so -p 8085 -w /usr/local/share/mjpg-streamer/www"

Autocoloring

/usr/local/bin/mjpg_streamer -i "input_raspicam.so -x 1280 -y 720 -fps 15 -br 60 -co 30 -ex off -awb sun" -o "/usr/local/lib/mjpg-streamer/output_http.so -p 8085 -w /usr/local/share/mjpg-streamer/www"

Options to pass into input_raspicam.so via

raspistill

Python to turn off auto exposure after setup

Tutorial

from picamera import PiCamera
import time
time.sleep(30)
camera.exposure_mode = 'off'

Webcam input

/usr/local/bin/mjpg_streamer -i "/usr/local/lib/mjpg-streamer/input_uvc.so -n -f 10 -r 1280x720" -o "/usr/local/lib/mjpg-streamer/output_http.so -p 8085 -w /usr/local/share/mjpg-streamer/www"