I'm new to OpenCV. What is the Python function which act the same as cv::clone() in C++?
I just try to get a rect by
rectImg = img[10:20, 10:20]
but when I draw a line on it, I find the line appear both on img and the rectImage, so, how can I get this done?