About 686,000 results
Open links in new tab
  1. python - How to detect lines in OpenCV? - Stack Overflow

    Jul 26, 2017 · One nice and robust technique to detect line segments is LSD (line segment detector), available in openCV since openCV 3. Here's some simple basic C++ code, which …

  2. Line detection in python with OpenCV | Houghline method

    Jul 25, 2024 · OpenCV-Python is a library of Python bindings designed to solve computer vision problems. cv2.line() method is used to draw a line on any image. Syntax: cv2.line(image, …

  3. A good approach for detecting lines in an image?

    One possible solution is to take all the edge points that you obtain from the canny edge detection and fit a line using linear least sqaures (maybe iterative) on these points. This way you always …

  4. Object Detection with OpenCV: A Step-by-Step Tutorial

    Mar 30, 2024 · OpenCV, a popular open-source computer vision library, can be used with pre-trained models like TensorFlow’s SSD to perform object detection by setting confidence …

  5. Detect an object with OpenCV-Python - GeeksforGeeks

    Apr 13, 2025 · Object detection refers to identifying and locating objects within images or videos. OpenCV provides a simple way to implement object detection using Haar Cascades a …

  6. Detecting Lines in OpenCV using Python 3 - DNMTechs

    Sep 7, 2024 · In this article, we will explore how to detect lines in OpenCV using Python 3. Before we dive into the implementation, let’s understand some key concepts related to line detection …

  7. Python OpenCV cv2.HoughLines() Guide - PyTutorial

    Jan 16, 2025 · In this guide, we will explore how to use the cv2.HoughLines() function in Python OpenCV. This function is used to detect lines in an image using the Hough Transform …

  8. Thresholding, Edge, Contour and Line Detection with OpenCV

    Jun 13, 2022 · Now we’re going to use the OpenCV’s function called cv2.threshold. It takes in five parameters: the image we want to the threshold, threshold value, maximum pixel value after …

  9. Line Detection in Python OpenCV with HoughLines - Codeloop

    May 24, 2024 · In OpenCV cv2.HoughLines function is used to detect lines in an image using the Hough transform. It takes as input the edge-detected image (commonly obtained using Canny …

  10. How to Detect Line in Python OpenCV - Delft Stack

    Feb 2, 2024 · This tutorial will discuss detecting lines in an image using the HoughLines() and HoughLinesP() function of OpenCV in Python. The HoughLines() function of OpenCV is used …

Refresh