1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
4<head>
5    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6    <meta http-equiv="Content-Style-Type" content="text/css" />
7    <link rel="stylesheet" href="../../css/manpage.css" type="text/css" />
8</head>
9
10<body>
11
12<h1>camera - Stereo Demo</h1>
13
14<h2>Description</h2>
15
16<div class="section">
17    <p>This sample realizes stereoscopic view for the naked eye for input images from the two outer cameras.</p>
18</div>
19
20<h2>Required Environment</h2>
21
22<div class="section">
23    <p>A stereo camera is required if a TS board is used. This sample does not work without a stereo camera.</p>
24</div>
25
26<h2>How to Use</h2>
27
28<div class="section">
29    <table>
30        <thead>
31        <tr>
32            <th>Input</th>
33            <th>Operation</th>
34        </tr>
35        </thead>
36        <tr>
37            <td>Y Button.</td>
38            <td>Stops image capture while leaving the camera on.<BR> Press the Y Button again while capture is stopped to resume capture.</td>
39        </tr>
40        <tr>
41            <td>X Button.</td>
42            <td>Puts the camera in standby mode.<BR> Press the X Button again during standby mode to restart the camera.</td>
43        </tr>
44        <tr>
45            <td>Left and Right Outer Cameras</td>
46            <td>Gets input from the left and right outer cameras and displays it.</td>
47        </tr>
48        <tr>
49            <td>Close the system.</td>
50            <td>The system will enter Sleep Mode. Opening the system returns the screen to original status.</td>
51        </tr>
52        <tr>
53            <td>START</td>
54<td>Stops camera capture and shuts down the camera library. However, this does not shut down the library when stopping camera capture by pressing the X or Y Button.</td>
55        </tr>
56    </table>
57</div>
58
59<h2>Notes</h2>
60
61<div class="section">
62    <p>If you do not have a stereo camera and you run the demo, the following log is displayed in debug output, and the demo stops.</p>
63    <code>Panic: main.cpp:254<br /> Camera has broken.</code>
64</div>
65
66<h2>Execution Procedure</h2>
67
68<div class="section">
69    <p>When the demo is executed, it displays the following log in debug output.</p>
70    <pre class="code">Camera Demo: start
71Y button    : Stop/Restart capturing
72X button    : Deactivate/Activate camera
73Start button: Finalize camera library</pre>
74
75<h4>Upper screen</h4>
76<p>Gets input from the left and right outer cameras and displays it in 3D in real-time.<BR>Adjust the stereoscopic image with the 3D slider.</p>
77
78<h4>Lower screen</h4>
79<p>The following information is displayed on the lower screen.</p>
80    <p><img src="Fig/image2010_1202_1659_0.PNG"></p>
81    <ul>
82        <li>Frame: The total number of frames since the application started.</li>
83        <li>Left, Right: Frame rate of the left and right outer cameras.</li>
84        <li>Vsync timing diff: V-blank timing difference between the left and right outer cameras.</li>
85        <li>Camera capture:  Whether camera capture is enabled or disabled.</li>
86        <li>Camera device:  Indicates camera status (on or standby).</li>
87    </ul>
88</div>
89
90<h2>Revision History</h2>
91
92<div class="section">
93    <dl class="history">
94        <dt>2011/12/20</dt>
95<dd>Added description of operation when pressing the START Button.</dd>
96        <dt>2011/02/02</dt>
97        <dd>Initial version.</dd>
98    </dl>
99</div>
100
101
102<hr><p>CONFIDENTIAL</p></body>
103</html>