# OpenCV Python Tutorial For Beginners 29 – Hough Line Transform using HoughLines method in OpenCV

///OpenCV Python Tutorial For Beginners 29 – Hough Line Transform using HoughLines method in OpenCV

## OpenCV Python Tutorial For Beginners 29 – Hough Line Transform using HoughLines method in OpenCV

code –
In this video on OpenCV Python Tutorial For Beginners, we are going to see Hough Line Transform using HoughLines method in OpenCV.
OpenCV implements two kind of Hough Line Transforms
The Standard Hough Transform (HoughLines method)
The Probabilistic Hough Line Transform (HoughLinesP method)

lines = cv.HoughLines(image, rho, theta, threshold)
image : source image.
lines : Output vector of lines. Each line is represented by a 2 or 3 element vector (ρ,θ) or (ρ,θ,votes) .
ρ is the distance from the coordinate origin (0,0) (top-left corner of the image). θ is the line rotation angle in radians . votes is the value of accumulator.
rho : Distance resolution of the accumulator in pixels.
theta : Angle resolution of the accumulator in radians.
threshold : Accumulator threshold parameter. Only those lines are returned that get enough votes ( greater then threshold ).

OpenCV is an image processing library created by Intel and later supported by Willow Garage and now maintained by Itseez. opencv is available on Mac, Windows, Linux. Works in C, C++, and Python.
it is Open Source and free. opencv is easy to use and install.

Starting with an overview of what the course will be covering, we move on to discussing morphological operations and practically learn how they work on images. We will then learn contrast enhancement using equalization and contrast limiting. Finally we will learn 3 methods to subtract the background from the video and implement them using OpenCV.

At the end of this course, you will have a firm grasp of Computer Vision techniques using OpenCV libraries. This course will be your gateway to the world of data science.

Feel the real power of Python and programming! The course offers you a unique approach of learning how to code by solving real world problems.

References:

#ProgrammingKnowledge #ComputerVision #OpenCV
★★★Top Online Courses From ProgrammingKnowledge ★★★
Python Programming Course ➡️ ⚫️
Java Programming Course ➡️ ⚫️
Bash Shell Scripting Course ➡️ ⚫️
Linux Command Line Tutorials ➡️ ⚫️
C Programming Course ➡️ ⚫️
C++ Programming Course ➡️ ⚫️
PHP Programming Course ➡️ ⚫️
Android Development Course ➡️ ⚫️
C# Programming Course ➡️ ⚫️
JavaFx Programming Course ➡️ ⚫️
NodeJs Programming Course ➡️ ⚫️
Jenkins Course For Developers and DevOps ➡️ ⚫️
Scala Programming Tutorial Course ➡️ ⚫️
Bootstrap Responsive Web Design Tutorial ➡️ ⚫️
MongoDB Tutorial Course ➡️ ⚫️
QT C++ GUI Tutorial For Beginners ➡️

★★★ Online Courses to learn ★★★
Get 2 FREE Months of Unlimited Classes from skillshare –
Data Science – |
Machine Learning – |
Artificial Intelligence – |
MERN Stack E-Degree Program – |
DevOps E-degree – |
Data Analytics with R – |
AWS Certification Training – |
Projects in Java – |
Machine Learning With TensorFlow – |
Angular 8 – Complete Essential Guide –
Kotlin Android Development Masterclass –
Learn iOS Programming Building Advance Projects –

My Website –

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!

source

By |2020-03-24T02:32:42+00:00March 24th, 2020|Python Video Tutorials|10 Comments

1. Moiz Kachwala March 24, 2020 at 2:32 am - Reply

Thanks for the great content. Please don't put advertisements in between the video it breaks the attention. If you need please add at starting or ending of the video.

2. Salma Moora March 24, 2020 at 2:32 am - Reply

Can you share the code to display the coordinates of the results of the Hough Transform Lines?

thanks bro……..

4. Bing Sheridan March 24, 2020 at 2:32 am - Reply

我也想知道这个数字1000是怎么来的？有点迷

5. mstfa March 24, 2020 at 2:32 am - Reply

6. Andy Ruiz Y Garramones March 24, 2020 at 2:32 am - Reply

First of all thank you for the amazing video
I just want to ask you why you use the 1000 number in the equation for finding the x0,x1,y1,y2 ?
I see the equation using r and the cos and sin of theta, but why exactly the number 1000?

7. Anoop Jacob March 24, 2020 at 2:32 am - Reply

Hi Friend
I am also a YouTuber. I like to know one thing.

8. L. MorningStar March 24, 2020 at 2:32 am - Reply

Hi Bro , Can You make one on attendence sheet for count total,
E.g. 10Days attendence of 15 Students
I tried But not all boxes are Detected.