Git Product home page Git Product logo

clipdropclone's Introduction

Introduction

This app is a clone of the popular app ClipDrop, which allows you to remove the background from an image in real-time. This app was developed in Kotlin and utilizes the ClipDrop API to perform the background removal.

Features

  • Take a picture using your camera
  • Remove the background from the image in real-time
  • Save the resulting image to your device
  • Send the resulting image to a Python GUI app built with tkinter

Demo

Please check out the tweet here to view a video demo of the project.

Prerequisites

  • Android Studio
  • An API key for the ClipDrop API (sign up for one here)
  • A Python environment with Flask installed

Setup

  • Clone the repository and open the project in Android Studio: https://github.com/koushikjoshi/ClipDropClone
  • Create a file called keys.xml in the app/src/main/res/values directory of the project
  • In keys.xml, add the following code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="api_key">YOUR_API_KEY_HERE</string>
</resources>
  • Replace YOUR_API_KEY_HERE with your actual ClipDrop API key
  • Run the app on an emulator or device

Usage

  • Tap the "Take Picture" button to open your camera
  • Take a picture of an object with a clear background
  • The app will automatically remove the background in real-time
  • Tap the "Save" button to save the resulting image to your device
  • Click on the "send" button to send it to your PC.

Notes

  • Make sure the Python app app.py is running before attempting to send the image
  • The Python app must be on the same network as the device running the Android app

Built With

  • Android Studio - The mobile development platform used
  • Kotlin - The programming language used to build the android app
  • Python - Programming language used to build the Flask app
  • ClipDrop API - The API used to remove the background from the images

Libraries:

Python:

  • Python Flask - to communicate between the app and the PC
  • PIL

Android:

  • Retrofit - for API calls
  • OkHttp3: Used as the HTTP client for Retrofit.
  • Gson: Used for serialization and deserialization of the API response.

clipdropclone's People

Contributors

koushikjoshi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar Rushikesh Kamewar avatar Nwaeme Olisemeka avatar

Watchers

 avatar  avatar

Forkers

xolve wadelu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.