Python Open CV Helper Class