import sysimport osimport subprocessfrom PyQt5.QtWidgets import QApplication, QWidget, QVBoxLayout, QPushButton, QFileDialog, QLabelfrom PyQt5.QtCore import Qtimport cv2import numpy as npimport platformdef apply_shading(image, alpha=1.0, beta=50): shaded_image = cv2.convertScaleAbs(image, alpha=alpha, beta=beta) return shaded_imagedef add_frame_number(image, frame_number): font = cv2.FO..