No description
  • Kotlin 94.1%
  • Dockerfile 5.9%
Find a file
2022-07-24 15:08:14 +02:00
docker Initial docker build support 2021-02-26 14:59:24 +01:00
gradle/wrapper Update dependencies 2022-07-24 14:33:26 +02:00
src/main/kotlin Update dependencies 2022-07-24 14:33:26 +02:00
.gitignore Config support 2021-02-07 14:53:55 +01:00
.gitlab-ci.yml Initial docker build support 2021-02-26 14:59:24 +01:00
build.gradle.kts Update dependencies 2022-07-24 14:33:26 +02:00
config.toml.example Add example config 2021-02-23 16:36:56 +01:00
docker-compose.yml Basic face zoom functionality 2021-02-22 20:53:29 +01:00
gradle.properties Inital commit 2021-01-30 16:03:57 +01:00
gradlew Inital commit 2021-01-30 16:03:57 +01:00
gradlew.bat Inital commit 2021-01-30 16:03:57 +01:00
README.md Add README 2022-07-24 15:08:14 +02:00
settings.gradle.kts Reduce dependencies 2021-02-24 01:44:12 +01:00

FaceZoomBot

This is a Telegram Bot which you can send images of people, and it will send only their enlarged faces back. If you want to try it send a message to: @face_zoom_bot on Telegram. Why? Just for fun! You can start multiple instances of this bot on many systems, as long as they can connect to the same RabbitMQ broker and MongoDB.

Requirements

  • Kotlin
  • OpenCV with Java Support
  • RabbitMQ
  • MongoDB

Running

  • Install OpenCV for Java
  • Create a config.toml based on the config.toml.example
  • Run ./gradlew run --args="-c /path/to/config.toml --telegram" to start as Telegram Bot API Handler
  • Run ./gradlew run --args="-c /path/to/config.toml --consumer" to start as consumer
  • The consumers will do the processing of the received pictures using OpenCV. You can start as many as you want.

If you want a complete environment to run the bot look at the Dockerfile in the docker folder. Just run ./gradlew build and copy the tar file in the docker folder. Then run docker build.