What are the numbers in the the bracket? Are they rows and columns of the pixel matrix.Also how come the person know the exact position to copy the image of a ball inside of an image as for that you would have to be very accurate down to the pixel.
This is in the opencv-python tutorial below is the link.
"Here I am selecting the ball and copying it to another region in the image:
ball = img[280:340, 330:390]
330:390]
img[273:333, 100:160] = ball
"
Here is the link of the tutorial:http://docs.opencv.org/3.0-beta/doc/py_tutorials/py_core/py_basic_ops/py_basic_ops.html#basic-ops
Go to Image ROI
Thanks :)