This research aims to analyze public sentiment towards traffic jams in Palembang City using the K-Nearest Neighbors (KNN) algorithm and then video recordings using YOLOv8 followed by KNN. The method used includes data collection from social media platforms and videos about traffic jams, followed by analysis using object detection and sentiment classification techniques. calculation of video rec…