Skip to content

Copy objects from real life and directly paste them on a background image using only your phone's camera

Notifications You must be signed in to change notification settings

github-anis-snoussi/CutCat

Repository files navigation

CutCat

Black and White Logos CutCat is an app that lets you copy objects from real life and directly paste them on a background using the magic of OpenCV SIFT and a pre-trained U^2 Net model

Video demo 📱 👨‍💻

first_demo.mp4

General Architecture

General Architecture

How to use ?

Everything you need to run CutCat is already dockerized and ready to go.

  1. Clone the repo
git clone git@github.com:ansnoussi/CutCat.git && cd CutCat
  1. Run all the backend services (Running this for the first time will take a while to pull the docker images)
docker-compose up
  1. Now that everything is running, grab the ip of the gunicorn application server
docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' cutcat-web

and replace it in the React Native app in mobile-client/Components/Main.js in line 47 const SERVER_IP = "192.168.1.19"

  1. Start the React Native app using
cd mobile-client && expo start

and navigate to http://localhost:5000 in your web browser to start using CutCat.

Want to contribute ?

This was a side project that I finished in parallel with other side projects and a full-time job, so it's far from perfect :

  • the flask server is extensivly using slow file i/o
  • image resizing/compressing could be done in React Native to reduce execution time
  • the UI could benefit from some changes
  • ...

so any contribution will be appreciated, just open a PR and I will be more than happy to respond.

About

Copy objects from real life and directly paste them on a background image using only your phone's camera

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy