Tired of not knowing what to write on a Hinge profile ? Then this project may help you. This is a bot which uses Android to send like & message to a person who looks like one of the person you may like based on a given set of images. It uses the baklava lib which is just a wrapper over the InsightFace library.
- Create a folder output with 3 within the repository
- output/cropped
- output/description
- output/cropped_description
- output/sources
- output/tmp
- Setup your OpenAI API Key in the environment variable
export OPENAI_API_KEY=... - Install
adb&opencv - Connect an android device. The device must have the hinge app open. For this project the Galaxy S8 is being used.
- Run the project with
DYLD_LIBRARY_PATH=<InspireFace lib path> cargo run --release
To run this project it's necessary to first run the command below. This'll allow to build the InsightFace dependency and produce the dynamic library used by the face recognition dependency. It may taks a bit of time at the beginning.
cargo build --releaseOnce this is done you can run the command
cargo run --release