Warp Perspective / Bird View [6] | OpenCV Python Tutorials for Beginners 2020

preview_player
Показать описание
In this video, we will learn how to use warp perspective in openCV to get a bird view of a Region of interest.

🚀🚀 My Urdu/Hindi AI YouTube Channel 🚀🚀

Code & Complete Course:

Premium Courses:
✔️ Computer Vision Game Development Course:
✔️ Computer Vision with Arduino Course:
✔️ Advanced Drone Programming Course:
✔️ Learn to Build Computer Vision Mobile Apps:
✔️ Jetson Nano Premium Course:

⚙️⚙️⚙️—-My Gear — ⚙️⚙️⚙️

Follow Me:

#ComputerVision
#OpenCV
#CVZone
Рекомендации по теме
Комментарии
Автор

Very impressive. Sir could you please make a video to show us a way to quantify the rotation of images, one is reference and the other one is deformed. Thank you in advance.

yuangchengyuancheng
Автор

This stuff is great Murtaza. Is there a good book on opnecv

SuperViktube
Автор

Awesome tutorial like the If I may add an info, in my case my opencv had a version problem, and I downgraded to an older version and it worked fine

LeonardoJPaes
Автор

With similar method, a body photograph taken from the front profile can be made to appear in perspective.
Kendi dilimle: ilham verdiğin için teşekkürler😊.

ozlemozbakr
Автор

Hi, I'm watching your videos and I have to measure the size of a foot on a sheet. I am following your tutorial on this subject, but in it all I can do is calculate if the object above is a square. Need to help me or indicate where to edit the code? Thanks in advance.

Mitolost
Автор

Sir please is it possible to do the same thing using the webcam instead???

aiforyounow
Автор

It does not take float32 points
And if we change it to np.array, then matrix element (getperspectivetransform)is not formed

awwabsiddiqui
Автор

On line 9, it should be (0, height) not the (height, 0), appreciate if you could include Image with Projects. Nice Concept and Thanks for your efforts

lookintoureyes
Автор

Recording this video @12 44 AM in the morning . Dedication level ultra pro max.

adityanjsg
Автор

Thank you for sharing the code. and how to find the object`s center point and the farthest distance from the center point, for example, the center of the egg and the top section can you make video

abu
Автор

do you know any resources/videos that code this by scratch? I am trying to implement this on my own and I don't know where to start

anonymoussloth
Автор

Can you make a video how to allign multiple images taken at a burst and then use the aligned image to increase resolution

smDonttakemeseriously
Автор

today, in february 1st, 2023, I ran into some errors... np.float32 seems to be deprecated... cv2.circle only accepts integers for the center parameter... but cv2.getPerspectiveTransform requires so I created the pts1 and pts2 matrices with np.array([coordinates], dtype=np.float32), and parsed to int inside np.circle call

williamscaramuzzi
Автор

Can you make video to calculating the Coordinates that Hard Code the points so instead of Hard Code how we can find Coordinates.
Thanks in Advance.

bilalzafar
Автор

Hello, I am getting this error: Traceback (most recent call last):
File "C:/Users/DOS/PycharmProjects/pythonProject/WarpPerspective.py", line 11, in <module>
cv2.circle(img, (pts1[x][0], pts1[x][1]), 5, (255, 0, 0), cv2.FILLED)
cv2.error: OpenCV(4.6.0) :-1: error: (-5:Bad argument) in function 'circle'
> Overload resolution failed:
> - Can't parse 'center'. Sequence item with index 0 has a wrong type
> - Can't parse 'center'. Sequence item with index 0 has a wrong type

bulletforcekurdish
Автор

If line no 9 in not working try using np.int16 instead of np.float32...so simple remove np.float32 it will work

Ak-kcqp
Автор

Traceback (most recent call last):
File "C:\Users\sklad\PycharmProjects\OpenCV\warpPrespective.py", line 9, in <module>
cv2.circle(img, (pts1[0][0], pts1[0][1]), 5, (0, 0, 255), cv2.FILLED)
cv2.error: OpenCV(4.5.5) :-1: error: (-5:Bad argument) in function 'circle'
> Overload resolution failed:
> - Can't parse 'center'. Sequence item with index 0 has a wrong type
> - Can't parse 'center'. Sequence item with index 0 has a wrong type

WHAT I MUST DO FOR THE RUN? PLEAS HELP MEE

jakubskladany
Автор

Warp perspective and the get perspective transform are not showing

mohammedsadiq
Автор

How can we apply perspective transformation using angle?

KoradiyaAbhay
Автор

The error:
Incorrect: pts2 = np.float32([[0, 0], [width, 0], [height, 0], [width, height]])
Correct: pts2 = np.float32([[0, 0], [width, 0], [0, height], [width, height]])
The change: Swap [height, 0] to [0, height]

xXMacedoniaNXx