About 4,970,000 results
Open links in new tab
  1. Is it possible to find the bending point using opencv Python?

    Sep 27, 2022 · Get the curve points and find the slope along every point. Then find the change in slope from point to point. Find that point that has the maximum change in slope. More specifically see en.wikipedia.org/wiki/Curvature.

  2. python - Measuring true angle of a bended wire with OpenCV - Stack Overflow

    Jan 14, 2020 · Extract the bent and unbent wire by extracting the region (blobs) of different strength. Stronger edge will correspond to the unbent wire. Weaker edge will correspond to the bent wire. By using opencv blob analysis function minRectArea, we can obtain the angle, size and center position of the blobs. The angle value w.r.t. horizontal line.

  3. Irregular shape detection and measurement in python opencv

    At this point it seems like I have a choice to make. I could either binarise the image, and measure blobs above a threshold (i.e. max value pixels if the blobs are white), or continue with the edge detection by closing and filling contours more fully.

  4. Detecting Geometrical Shapes in an image using OpenCV

    May 22, 2020 · The contours are a useful tool for shape analysis and object detection and recognition. And got to learn how we can use it to find geometrical shapes in an image. Let’s start how it goes.

  5. Detecting curved line - Python - OpenCV

    Sep 8, 2021 · Essentially trying to find the closes continuous line to the points selected with the mouse. I’ve added below the result of a bit of pre-processing and running Canny edge detection. I’ve added a few arrows to point out the line that I want to detect.

  6. Python Image Analysis Guide - PyTutorial

    Apr 12, 2025 · Some popular libraries are OpenCV, PIL, and scikit-image. They help with tasks like filtering, segmentation, and object detection. Loading Images in Python. Before analyzing an image, you need to load it. Use the PIL library for this. Check our Python Loading Images Guide for more details. from PIL import Image # Load an image img = Image.open ...

  7. Detect an object with OpenCV-Python - GeeksforGeeks

    Apr 13, 2025 · OpenCV provides a simple way to implement object detection using Haar Cascades a classifier trained to detect objects based on positive and negative images. In this article we will focus on detecting objects using it which is …

  8. Python OpenCV cv2.findContours() Guide - PyTutorial

    Jan 15, 2025 · Learn how to use Python OpenCV cv2.findContours() for contour detection in images. Step-by-step guide with examples and code.

  9. Edge Detection in Images Using Canny Edge Detection

    Apr 22, 2025 · Now we’ll explore how Canny Edge Detection works and implement it using Python with OpenCV.Edge detection is a fundamental technique in image processing and Computer Vision, used to identify the boundaries of objects within an image. Canny Edge Detection stands out as one of the most robust and widely used techniques among the various edge ...

  10. Detect angle and rotate an image in Python - Stack Overflow

    Oct 13, 2017 · How can I do this in Python? You could use OpenCV with HoughLines to detect lines in the image. The angle of each of the lines can be found from this: cv2.line(img_before, (x1, y1), (x2, y2), (255, 0, 0), 3) angle = math.degrees(math.atan2(y2 - y1, x2 - x1)) angles.append(angle) This would give you an output as:

  11. Some results have been removed
Refresh