How to check if an image contains an element I am searchig for

Chris Angelico rosuav at gmail.com
Wed Jun 16 16:07:59 EDT 2021


On Thu, Jun 17, 2021 at 6:06 AM Arak Rachael <arakelthedragon at gmail.com> wrote:
>
> Hi guys,
>
> I have an image from google maps to say and I need to check if it has road markings, in order to do that, I believe I need to change the effects on the image so the markings and road can be white or something and the things I don't need like cars, trees and so on to be black.
>
> images should contain only road surface and/or road markings (lines, zebras, stripes.
>
> Can anyone help me on this, I already have the crop code, I just need to check if the cropped part contains what I need.

How well can you define the things you're looking for?

https://xkcd.com/1425/

ChrisA


More information about the Python-list mailing list