Skip to content

Android app for object isolation or swapping in photos or videos. Based on a neural network.

License

Notifications You must be signed in to change notification settings

GiorgioGhisotti/gotcha

Repository files navigation

GOTCHA

Table of contents

Description

Gotcha is an Android app that finds and extracts objects from pictures, allowing the user to export the resulting image as a png file. It uses OpenCV deep neural networks to distinguish objects and the GrabCut algorithm to extract objects accurately.

Examples

example0
example1
example2
example3
example4
example5
example6

Building and running

To run this you'll need to install the OpenCV Manager 3.4.3 app on your phone. Only the armeabi-v7a and x86 versions are supported, other APKs will not work.

Minimum SDK: 21

To build this project you'll need the OpenCV-android-sdk folder (extracted from the sdk zip) in the root directory of the project. You can also modify the CMakeLists.txt file to use a different path.

Android >10


Due to changes to the way Android allows access to external directories the weights download feature does not work properly on android versions above 10. I may fix this in the future but in the meanwhile this problem can be circumvented by downloading the files manually and copying them to Android/data/giorgioghisotti.unipr.it.gotcha/files/weights.

WORK IN PROGRESS

About

Android app for object isolation or swapping in photos or videos. Based on a neural network.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages