Project

General

Profile

Camera » History » Revision 2

Revision 1 (Hammel, 12 Nov 2019 20:40) → Revision 2/5 (Hammel, 12 Nov 2019 21:03)

h1. Camera 

 _This is only in the idea stage.    No development on this has started._ 

 Making remote camera controlled by Ironman has been an interesting problem.    Many solutions use Arduinos.    But then I ran across an interesting idea using a "RPi Zero W set inside a dummy camera housing":https://youtu.be/H7p5YEOrlSc.    That led me to think about how I can use PiBox directly instead of using an Arduino based solution. 

 table{align=center}. 
 |!{width:640px}ironman-camera.png!| |!{width:640px}!| 
 |={font-size:120%;margin-bottom:15px;background-color:#dff}. *High Level Camera Design* | 

 The camera is based on a RPi Zero W running a new PiBox Lite release (PiBox stripped of X and other unnecessary components).    A web API is built using Mongoose (web server written in C and easily extendable) that basically just starts up mjpeg-streamer just as the PiCam app current does.    mjpeg-streamer provides a URL that the monitor will access. 

 The monitor is the standard Ironman Monitor with the addition of a new app: IMCameras.    This is based on PiCam but supports selection of which camera to visually monitor.    It also supports the following commands issued to selected monitors. 

 * Start recording 
 * Stop recording 
 * Play a recording 
 * Live view 

 A stretch goal is to allow display of up to four cameras at once.    This would work only if omxplayer can be convinced to display only into a subsection of the framebuffer.    Alternatively, a "different player with hardware acceleration":https://www.raspberrypi.org/forums/viewtopic.php?t=199775 might be found, such as "mpv":https://mpv.io/.