An Android demonstration segments image using Grab-Cut algorithm.
Notes:
- You should download the OpenCV4Android SDK and import it to the project manully. Here is the guide on how to import the library: OpenCV in Android Studio
- A known issue is that this application cannot process images too big, or you will get a
std::bad_alloc
exception. I recommend using images that are no larger than 700*500.