About 1,090,000 results
Open links in new tab
  1. Irregular shape detection and measurement in python opencv

    Here's what an (incomplete) idealised output would look like, each crystal is identified, annotated and measured (pretty sure I can tackle the measurement when I get that far). Abridged the …

  2. python - The best fit triangle in cv2 - Stack Overflow

    Nov 10, 2020 · TLDR: I am looking to fit a triangle to a boomerang-shaped object in order to detect its "head", potentially using python's opencv. I have a collection of boomerang-shape …

  3. algorithm - Fit a shape to points - Stack Overflow

    Mar 19, 2019 · My current method is to define a custom fit function for each shape and pass it to a third-party optimisation function: fitness = get_fitness(shape_parameters, points) …

  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 …

  5. OpenCV shape detection - PyImageSearch

    Feb 8, 2016 · This tutorial demonstrates how to detect simple geometric shapes (such as squares, circles, rectangles, & pentagons) in images using Python and OpenCV.

  6. Draw a unstructured triangular grid as lines or markers in Python

    Jun 8, 2020 · Unstructured Triangular Grid can be drawn from an irregularly shaped polygon using the Ruppert's algorithm. Here the task is to draw a unstructured triangular grid as lines …

  7. Best-fit Surfaces for 3-Dimensional Data - Inversion Labs

    Mar 21, 2016 · The following code generates best-fit planes for 3-dimensional data using linear regression techniques (1st-order and 2nd-order polynomials). Although I recently developed …

  8. [Python] Fitting plane/surface to a set of data points · GitHub

    Feb 24, 2025 · Python version of the MATLAB code in this Stack Overflow post: https://stackoverflow.com/a/18648210/97160. The example shows how to determine the best …

  9. seanys/2D-Irregular-Packing-Algorithm - GitHub

    This repository contains algorithms for 2D irregular packing and a simple tutorial to the algorithms. If you discover any issues with the code, you are welcome to fork the repository and initiate a …

  10. numpy.polyfit — NumPy v2.2 Manual

    Fit a polynomial p(x) = p[0] * x**deg +... + p[deg] of degree deg to points (x, y). Returns a vector of coefficients p that minimises the squared error in the order deg , deg-1 , … 0 .

Refresh