Fashion Lens is an android app 📱 which detects clothes 👕 on given image/video and enables finding 🔍 visually similar clothes to the found ones.
- 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
- Run docker container locally with
docker run pbe/clothes-detector:latest
or deploy it to the cloud ☁️ - In the root directory of cloned project create
.env
file with:
API_URL
- url to your microservice concatenated with "/detect" stringAPI_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
- Install app dependencies with
npm install
- Run app 📱 on physical device or on emulator with Android with
react-native run-android --variant=release