Book Image

OpenCV 3 Blueprints

Book Image

OpenCV 3 Blueprints

Overview of this book

Table of Contents (14 chapters)
OpenCV 3 Blueprints
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Further improvement


In this section, we will show some improvements that you can consider while creating a fully featured panorama application.

First, you can make a better user interface for the user to capture a panorama image. The current user interface doesn't show that the application can capture images in both directions. A suggestion is to use the motion sensors (accelerometer and gyroscope) in the Android API to obtain the rotation of the device and adjust the position of the overlay image.

Note

Motion Sensors API documentation is available at http://developer.android.com/guide/topics/sensors/sensors_motion.html.

Secondly, the current application resizes the captured image to decrease computation time. You may want to change some parameters of the Stitcher to have better performance. We suggest that you look at the documentation of the stitching module for more details. In our implementation, we will use the Stitcher class for simplification. However, there is a detailed sample in the...