OpenCV 4.5.3(日本語機械翻訳)
samples/tapi/squares.cpp

A program using pyramid scaling, Canny, contours and contour simplification to find squares in the input image.