❮ DogNellaf
RU EN DE
Discuss a project
Case study

AI photo coloring bot

Telegram bot for coloring images with a neural network and dialogue via OpenAI API

Python OpenCV OpenAI
Open project ↗
Case study cover “AI photo coloring bot”

01 Task

I wanted a bot that revives old black-and-white photographs directly in correspondence without a separate application, registrations and fuss with photo editors

02 Solution

The Python bot does the coloring with a neural network via OpenCV DNN with a pre-trained Caffe model, plus it has added communication via the OpenAI API so that you can just chat with the bot

03 Solved tasks

  • Made a Telegram bot for coloring photos in Python
  • Connected a neural network based on OpenCV DNN with the Caffe model for colorization
  • I attached the dialogue via OpenAI API
  • Implemented everything inside Telegram without a separate application

04 Result

You upload a photo, after a few seconds you receive a color version, everything is inside Telegram. No need to install anything

Need a similar project?

Tell me about your task — I'll reply within a day.

Discuss a project