/FashionLens

Fashion Lens is an android app which detects clothes on given image/video and enables finding visually similar clothes to the found ones.

Primary LanguageJava

FashionLens

Fashion Lens is an android app 📱 which detects clothes 👕 on given image/video and enables finding 🔍 visually similar clothes to the found ones.

Build 🔨 and run 🚘

  1. App depends on external microservice which is responsible for detecting clothes on given image hence it is required to do one of the following things:
  • Pull docker image 🐳 from dockerhub repo by executing docker pull pbeza/clothes-detector
  • Build docker image 🐳 on your own by following these instructions
  1. Run docker container locally with docker run pbe/clothes-detector:latest or deploy it to the cloud ☁️
  2. In the root directory of cloned project create .env file with:
  • API_URL - url to your microservice concatenated with "/detect" string
  • API_KEY - token used when using Bearer Authentication 🔑 (it's not required if your API is publically accessible f.e. if running locally).

You can find examplary .env file below:

API_URL=http://192.168.1.55:8080/detect  
API_KEY=key
  1. Install app dependencies with npm install
  2. Run app 📱 on physical device or on emulator with Android with react-native run-android --variant=release