shainis
shainis

Reputation: 3

Auto cropping and resizing images

I'd like to write a python script that does the following manipulation for a bulk of images:

chessboard manipulation example

This example was achieved using CamScanner's auto-crop. I'd like to mimic it. What it does? It takes an image of a chessboard taken on mobile phone, and crops it to the dims of the chessboard, as well as resizing it to a view from the upper side.

I've tried opencv camera caliberation algorithm but that didn't work out quite well. https://docs.opencv.org/4.x/dc/dbb/tutorial_py_calibration.html

Thanks in advance!

Upvotes: 0

Views: 59

Answers (0)

Related Questions