ETP 528 OCURA camera resolution test

Revision for “ETP 528 OCURA camera resolution test” created on December 19, 2015 @ 20:43:17

Title
ETP 528 OCURA camera resolution test
Content
<h6>1. PURPOSE / DESCRIPTION</h6> 1.1 To change the resolution of video streaming and capture 1.2 To measure the FPS of video streaming on OCURA <h6>2. TEST SET-UP</h6> 2.1 Brainbox application Apk 2.1.1 Version: 3839795 2.2 BrainBox and Android phone <h6>3. PROCEDURE</h6> 3.1 Build and launch the applications on OCURA (drone) and smartphone (client). More details please check “ETP-526 Set up BrainBox” 3.2 The resolution of the camera can be configured separately for preview mode (video streaming) and capture mode. 3.2.1 For video streaming: 3.2.1.1 Search “<strong><em>params.setPreviewSize</em></strong>” in <em>lib\src\main\java\com\mjpeg\server\CameraPreviewStreamer.java</em> 3.2.1.2 Modify the parameters defined in this function: <em>params.setPreviewSize(width, height)</em> 3.2.1.3 Rebuild the code and launch it to WiRa board. 3.2.1.4 The information of FPS is shown on the client APP. However, we need to print it out on the log to average the values. Add “<em>Log.w(this, “fps = ” + fps)</em>” after the line defined in <em>lib\src\main\java\com\mjpeg\FPSTracker.java</em> (See Fig. 3.2.1) <table> <tbody> <tr> <td><a href="http://wiki.vairdo.com/wp-content/uploads/2015/11/Fig321.png"><img class="alignnone wp-image-177 size-full" src="http://wiki.vairdo.com/wp-content/uploads/2015/11/Fig321.png" alt="Fig321" width="750" height="107" /></a></td> </tr> <tr> <td style="text-align: center;">Fig. 3.2.1</td> </tr> </tbody> </table> 3.2.1.5 Rebuild the code and launch it to smartphone. 3.2.1.6 Connect smartphone and OCURA (Please see ETP 526) 3.2.1.7 Check the log shown in Android Studio, and copy-paste the data in excel to calculate the avg. fps. 3.2.2 For capture: 3.2.2.1 Search “<strong><em>params.setPictureSize</em></strong>” in <em>lib\src\main\java\com\mjpeg\server\CameraPreviewStreamer.java</em> 3.2.2.2 Modify the parameters defined in this function:<em> params.setPictureSize(width, height)</em> 3.2.2.3 Rebuild the code and launch it to OCURA board. 3.2.2.4 Check the picture shown on client APP after capturing, the resolution should be changed 3.2.2.5 Note that at the writing time, the save function has not implemented yet.
Excerpt


OldNewDate CreatedAuthorActions
December 19, 2015 @ 20:43:17 admin
December 19, 2015 @ 20:43:07 [Autosave] admin
November 22, 2015 @ 05:17:49 admin
November 18, 2015 @ 15:13:24 Wanchen
November 18, 2015 @ 05:14:22 admin
November 17, 2015 @ 21:34:29 [Autosave] Wanchen
November 10, 2015 @ 19:06:29 Wanchen