Camera » History » Version 2
Hammel, 12 Nov 2019 21:03
1 | 1 | Hammel | h1. Camera |
---|---|---|---|
2 | |||
3 | 2 | Hammel | _This is only in the idea stage. No development on this has started._ |
4 | |||
5 | 1 | Hammel | 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. |
6 | |||
7 | table{align=center}. |
||
8 | 2 | Hammel | |!{width:640px}ironman-camera.png!| |
9 | 1 | Hammel | |={font-size:120%;margin-bottom:15px;background-color:#dff}. *High Level Camera Design* | |
10 | 2 | Hammel | |
11 | 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. |
||
12 | |||
13 | 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. |
||
14 | |||
15 | * Start recording |
||
16 | * Stop recording |
||
17 | * Play a recording |
||
18 | * Live view |
||
19 | |||
20 | 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/. |