Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 597 Bytes

File metadata and controls

23 lines (14 loc) · 597 Bytes

Telegram bot for webcam

This Telegram bot allows you to get a picture from a webcam on command.

Installation and Configuration

  1. Make sure that Python 3 is installed on your computer.
  2. Install the necessary libraries using pip:
pip install opencv-python-headless telebot pyTelegramBotAPI
  1. Copy the code from this repository to a file main.py and replace `YOUR_TOKEN_BOT" with your Telegram bot token.

Usage

Launch the bot using Python:

In the Telegram bot, you can use the following commands:

  • /start - Welcome message
  • `/webcam' - Get a picture from a webcam