So, i use template matching to find corners of a table in the larger document, and than i need to cut it, and save as an image. But i could't find any function or lesson that could help me in it. Maybe someone can help or show a few useful links? C:\fakepath\screenshot1.jpg C:\fakepath\screenshot1.jpg