Skip to content

Releases: LazyBusyYang/CatStream

v0.2.0

12 Apr 01:41
a9b2eee
Compare
Choose a tag to compare
[Feature] Scene control by votes (#3)

### Key Updates

1. **BiliInteractReader**: Integrated with the Bilibili live platform's danmu system, viewers can vote by sending specific danmu messages. Each danmu message is converted into a certain number of votes, with super users and users with higher follower levels receiving additional votes.

2. **DetectionProcessor**: A new Detection Processor class has been added, which reads video frames from multiple RTSP network cameras and uses YOLOv5 or OpenCV for cat detection. The detection results are used for voting and affect the scene switching in OBS.

3. **Scene Switching Logic**: The main program controls OBS to switch scenes based on the scene with the most votes in each loop. This allows the live content to be adjusted in real-time according to the preferences of the viewers.

4. **User Interface Improvements**: Program's running state is displayed on OBS stream.

5. **Code Optimization**: The code has been optimized to improve the efficiency and stability of the program. This includes improvements to asynchronous operations and enhanced exception handling.