Bottle Cap Control (Python - OpenCV - PyQt - Structural Similarity)