How to Crop and Resize Images [3] | OpenCV Python Tutorials for Beginners

preview_player
Показать описание
In this video, we will look at how an image can be resized and cropped. We will also learn about the convention of the OpenCV image matrices.

🚀🚀 My Urdu/Hindi AI YouTube Channel 🚀🚀

Code & Complete Course:
coming soon

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
Рекомендации по теме
Комментарии
Автор

Hei Murtaza, I need an advice fo my bachelor project. I follow your amazing course, please help me as your loyal follower. I will create an obscure view detection model that detects the loss of vision in cameras of autonomous vehicles caused by fog, condensation, and blaze, especially for sea vehicles. Can you suggest a model, thesis, article, dataset on this subject, please?

datascienceandmachinelearn
Автор

Thank You 😊 So Much Your Video Is Helpful!!!

rajeshprajapati
Автор

How to find x and y values for cropping?

sanjaybalasubramanian
Автор

Hello Sir, nice one, can we do this in a tkinter gui? Kindly share.

shaqeelmohds
Автор

Bro what is the configuration of your system

vinaybhargav
Автор

Hi, can you plzs help
That how to define a method for cropping image and Using that method in Button . In Tkinter

riyapalkar
Автор

can anyone tell me why this code is not working, it says process finished but no image shows up .(doc is present in resources folder)
import cv2
path = 'resources/doc.jpg'
img = cv2.imread(path)
print(img.shape)
width, height = 400, 400
imgresize= cv2.resize(img, (width, height))
print(imgresize.shape)
cv2.imshow('doc', img)
cv2.imshow('resizedImg', imgresize)
cv2.waitKey(0)

ishankrajpal
Автор

AttributeError: 'NoneType' object has no attribute 'shape'

following attrib not defined yet how it works?

jerickfermo
Автор

Thank you for this Sir.By the way Sir can you help about this error that I've encounter. Thanks :)


Traceback (most recent call last):
File "C:/Users/Spring/PycharmProjects/OpenCV/venv/ResizeCropImage.py", line 5, in <module>
print(img.shape)
AttributeError: 'NoneType' object has no attribute 'shape'

prilaogniler
Автор

Hey how to apply thickening on a binary image in opencv

DarshanGhorpade
Автор

Hi sir, why my program doesn't open the image? Is it because I'm using a mac?

shrijanmaram
Автор

I got this error:
TypeError: 'numpy.ndarray' object is not callable

armagan_gok
Автор

Sir, How to add a border to the image without losing any information

Dentechnocollection
Автор

just go to notification and then snipping tool 🤓⬆
i made clas h of clans edit lol with opencv

DevAjays
Автор

my pycharm keep showing many lena pictures from previous tutorials... help

haniefknight