Skip to content

Commit

Permalink
Add camera statistics (stat_pass)
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Tidey committed Oct 17, 2015
1 parent 41f8e17 commit e8da262
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Web based interface for controlling the Raspberry Pi Camera, includes motion detection, time lapse, and image and video recording.
Current version 6.0.10
Current version 6.0.11
All information on this project can be found here: http://www.raspberrypi.org/forums/viewtopic.php?f=43&t=63276

The wiki page can be found here:
Expand Down
Binary file modified bin/raspimjpeg
Binary file not shown.
1 change: 1 addition & 0 deletions etc/raspimjpeg/raspimjpeg.1
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ sensor_region_w 65536
sensor_region_h 65536
shutter_speed 0
raw_layer false
stat_pass 0

# camera_num 0 - no selection. 1/2 selects first or second camera on compute module
camera_num 0
Expand Down
2 changes: 1 addition & 1 deletion www/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
define('LBASE_DIR',dirname(__FILE__));
//Global defines and utility functions
// version string
define('APP_VERSION', 'v6.0.10');
define('APP_VERSION', 'v6.0.11');

// name of this application
define('APP_NAME', 'RPi Cam Control');
Expand Down
5 changes: 5 additions & 0 deletions www/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
$options_mx = array('Internal' => '0', 'External' => '1');
$options_mf = array('Off' => '0', 'On' => '1');
$options_cn = array('First' => '1', 'Second' => '2');
$options_st = array('Off' => '0', 'On' => '1');

function initCamPos() {
$tr = fopen("pipan_bak.txt", "r");
Expand Down Expand Up @@ -307,6 +308,10 @@ function getImgWidth() {
<input type="button" value="OK" onclick="set_ce();">
</td>
</tr>
<tr>
<td>Image Statistics, default 'Off':</td>
<td><select onchange="send_cmd('st ' + this.value)"><?php makeOptions($options_st, 'stat_pass'); ?></select></td>
</tr>
<tr>
<td>Rotation, default 0:</td>
<td><select onchange="send_cmd('ro ' + this.value)"><?php makeOptions($options_ro, 'rotation'); ?></select></td>
Expand Down
1 change: 1 addition & 0 deletions www/schedule.php
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ function cmdHelp() {
echo "<tr><td>sc</td><td>1</td><td>Rescan for video and image indexes</td></tr>";
echo "<tr><td>sy</td><td>macro</td><td>Execute macro</td></tr>";
echo "<tr><td>cn</td><td>1/2</td><td>Select camera (Compute model only)</td></tr>";
echo "<tr><td>st</td><td>0/1</td><td>Camera statistics</td></tr>";
echo "</table>";
echo "</div>";
echo "</div>";
Expand Down

0 comments on commit e8da262

Please sign in to comment.