Hello I have the following c++ code and want to convert it to to python code but with cv2 the opencv function are not avaiable in python. How can I transform it? This is onl