Chapter 1. Setting Up OpenCV
This chapter is a quick guide to setting up a development environment for Android and OpenCV. We will also look at the OpenCV sample applications, documentation, and community.
By the end of this chapter, our development environment will include the following components:
- Java Development Kit (JDK) 7: This includes tools for Java programming. JDK 7 is the exact version that we require. The more recent version, JDK 8, is not yet supported for Android development.
- Cygwin 1.7 or greater (Windows only): This is a compatibility layer that provides Unix-like programming tools on Windows. We need it in order to develop in C++ on Android.
- Android Software Development Kit (Android SDK) r24.0.2 or greater: This includes tools for ...