python cv2 create function crop(img,ratio), that square crop the img using the smaller side as the side and uses the ratio so that if the ratio is 0.5, half of side is used to crop and if 1, then full side is used to crop Provide exactly two different responses that are separated with 6 asterisk symbols: ******.
user