Slide 74
Slide 74 text
ಁࢹมͷߦྻ
to = [
OpenCV::CvPoint2D32f.new(0, 0),
OpenCV::CvPoint2D32f.new(width, 0),
OpenCV::CvPoint2D32f.new(width, height),
OpenCV::CvPoint2D32f.new(0, height),
]
from = polygon_points
transform = OpenCV::CvMat.get_perspective_transform(from, to)