[Python] Detect objects similar to a given pattern on different background in an image using...

Discussão em 'Python' iniciado por Stack, Maio 2, 2025.

  1. Stack

    Stack Membro Participativo

    I would like to use python to detect the size and position of objects in images based on some given pattern. For example, find "U" shape in image (2 examples are attached). The background, other objects in the image, shape size, height and width ratio can vary from image to image. Also the contrast of the image, and the colors of the object and background can differ between images If it makes things easier, it can be assumed that the rotation is not changing, there is exactly one instance of the object in any image, the size of the object is significant in the image, and the object is on the darker scale in the image. Preferably the solution should run fast on large number (1000s) of images, be light and easy and not involve CNN.

    I will appreciate any related python code or direction

    [​IMG] [​IMG]

    Continue reading...

Compartilhe esta Página