Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/std-microblock/marsbot

Telegram 频道查重 Bot
https://github.com/std-microblock/marsbot

Last synced: 7 days ago
JSON representation

Telegram 频道查重 Bot

Awesome Lists containing this project

README

        

# MarsBot
## Telegram 频道查重 Bot

For [心惊报 Bot](https://github.com/chr233/XinjingdailyBot/)

#### 纯 phash

![image](https://github.com/MicroCBer/MarsBot/assets/66859419/dc0e6fbb-7706-4e8b-b90f-0a078501eb26)

#### 视频抽帧 phash

![image](https://github.com/MicroCBer/MarsBot/assets/66859419/b07f1859-81ab-4ff0-8e5f-b577ca4474f8)

#### OCR + AI 字符串表意匹配

![image](https://github.com/MicroCBer/MarsBot/assets/66859419/9424e3c8-c3d2-485b-9811-c9e947503a3c)

#### OpenCV 特征提取匹配

![image](https://github.com/MicroCBer/MarsBot/assets/66859419/3793c6d0-290b-40a9-a827-bd0793019f68)

### 倡导和平有爱共处,反对建政开盒互怼

### 安装
1. Clone 仓库
2. 安装 Node.js
3. 安装 Yarn:`npm i -g yarn`
4. 安装库文件(在项目文件夹内):`yarn`

AI/OpenCV:

1. cd ./ai
2. pip install -r requirements.txt

视频抽帧:

1. 安装 FFmpeg 并放入 Path 中

### 配置
1. 登录 SelfBot:打开命令行,输入 `yarn start`,按提示登录

### 运行(保活)

打开命令行,输入 `yarn run keep`

AI/OpenCV:
1. cd ./ai
2. python api.py