Computer Vision with Python and OpenCV - Perspective Transform

preview_player
Показать описание
In this video, we will learn how to apply perspective transformation on an image.

The link to the github repository for the code examples is as follows,

I teach Programming, Electronics, Science, and Mathematics on Udemy.

#OpenCV #Python #PerspectiveTransform

Credits:
Рекомендации по теме
Комментарии
Автор

hi Ashwin!
if:
pP1=np.float32([[0, 0], [1, 0], [0, 1], [1, 1]])
pP2=np.float32([[0, 0], [s, 0], [0, s], [s, s]])
P=cv2.getPerspectiveTransform(pP1, pP2)
imgOut=cv2.warpPerspective(imgIN, P, (d1, d2))



Based on my experience
d1, d2 are the size of imgOut :)
s is the zoom

I want to thank you for all your hard work!
your tutorials are very helpful :)

adishumely
Автор

how we can scale the size of object in an image for eg we have the object cat in an image and we need to scale it in terms of width height? how we can do that???

kunalchalotra
Автор

What do the arguments in no.float(32) mean?

lirdulce
Автор

No good information provided. Please do not post videos that convey wrong information. Perspective transformation is used for a lot of different applications.

pallawirajendra