This is the code.
First part is for Telegram. Second part logging and directory folder creation. Third part detection of an image with CAFFE. After that we mark the pictu