How to Detect Shapes with OpenCV [Python]

  Рет қаралды 28,353

CreepyD

CreepyD

Күн бұрын

Пікірлер: 19
@damjanstojkovic5749
@damjanstojkovic5749 Жыл бұрын
What to do if i have shapes that overlap, or intersect?
@lbirkert
@lbirkert 3 жыл бұрын
Very helpful!
@xitheindianpooh
@xitheindianpooh Жыл бұрын
only detecting rectangle or circle(circle because of if else). Can not understand what is going wrong! Update: if i put only single shape pictures, then it is working, I think there is some problem with bordering the individual shapes.
@tnt_popcorn__
@tnt_popcorn__ Жыл бұрын
How to make detection different for square and rectangle ?
@Minecraft6728Vn
@Minecraft6728Vn 3 ай бұрын
in line : x, y, w, h= cv2.boundingRect(approx) (x,y) , (x+w,y) (x,y+h) , (x+w,y+h) is 4 corner => use mathematics to check it
@aksimaksi2789
@aksimaksi2789 2 жыл бұрын
Thank you!
@karanmishra3235
@karanmishra3235 2 жыл бұрын
Can i get coordinates of this shape??
@MrRobotLong
@MrRobotLong Жыл бұрын
Can I use this code as a template for a commercial project? I don't want to get into legal stuffs so that is why I want to ask. Thank you!
@CreepyD246
@CreepyD246 Жыл бұрын
Of course, it is a tutorial after all. You'd have to check what OpenCV's rules and policies are on using their software though. I believe OpenCV allows commercial use, but do some more research on it. Hope all goes well
@MrRobotLong
@MrRobotLong Жыл бұрын
Thank you so much!
@sevindaherath
@sevindaherath 3 жыл бұрын
It's been awhile 😌
@CreepyD246
@CreepyD246 3 жыл бұрын
It has been yeah, but thanks for sticking around :D More videos ready, as well as entertainment-based videos.
@piotrek6948
@piotrek6948 2 жыл бұрын
Can I define own shape?
@CreepyD246
@CreepyD246 2 жыл бұрын
You could try using haar-cascades. They're basically files that you train for detecting special objects. You could train one to search for the special shape you want. It's a bit complex though and can't be explained over a comment, so I suggest watching some tutorials on setting up haar cascades. I used a tool called Cascade Trainer which worked pretty well. Hope this helps.
@khakishark
@khakishark 3 жыл бұрын
Let's goo!
@JohananHazard
@JohananHazard 3 ай бұрын
How undercover
@sshere4617
@sshere4617 Жыл бұрын
Good but too fast
@CreepyD246
@CreepyD246 Жыл бұрын
Thanks for the feedback 💪🏻
@ShimoNova-R.H.D
@ShimoNova-R.H.D 3 жыл бұрын
Nices
How to Detect Text in OpenCV [Python]
6:26
CreepyD
Рет қаралды 35 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Image Processing with OpenCV and Python
20:38
Rob Mulla
Рет қаралды 194 М.
Real time Shape Detection using Contours [9] | OpenCV Python Tutorials for Beginners 2020
20:24
Murtaza's Workshop - Robotics and AI
Рет қаралды 160 М.
Detect Simple Geometric Shapes using OpenCV in Python شرح عربي
16:47
Ball Detection Using OpenCV in Python
13:23
CodeSavant
Рет қаралды 47 М.
5 Python Libraries You Should Know in 2025!
22:30
Keith Galli
Рет қаралды 85 М.
Has Generative AI Already Peaked? - Computerphile
12:48
Computerphile
Рет қаралды 1 МЛН
A new way to generate worlds (stitched WFC)
10:51
Watt
Рет қаралды 554 М.
OpenCV Python Tutorial #1 - Introduction & Images
14:52
Tech With Tim
Рет қаралды 377 М.
God-Tier Developer Roadmap
16:42
Fireship
Рет қаралды 7 МЛН
Detect Edges with OpenCV and Python | Computer Vision Tutorial
20:47
Nicholas Renotte
Рет қаралды 32 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН