AlbertoCenzato / Autoport

1 stars 0 forks source link

Position estimation #1

Closed AlbertoCenzato closed 7 years ago

AlbertoCenzato commented 7 years ago

Position estimation hasn't enough accuracy and could be written in a more straightforward way using getPerspectiveTransform(). See http://www.pyimagesearch.com/2014/08/25/4-point-opencv-getperspective-transform-example/ http://docs.opencv.org/3.0-beta/modules/imgproc/doc/geometric_transformations.html#getrectsubpix http://docs.opencv.org/3.1.0/da/d54/group__imgproc__transform.html#ga15302cbff82bdcddb70158a58b73d981

AlbertoCenzato commented 7 years ago

Using solvePnPRansac() which is best suited for this task.