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