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

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


On Thu, Jun 17, 2021 at 6:44 AM Arak Rachael <arakelthedragon at gmail.com> wrote:
>
> On Wednesday, 16 June 2021 at 22:08:31 UTC+2, Chris Angelico wrote:
> > On Thu, Jun 17, 2021 at 6:06 AM Arak Rachael <arakelt... 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
> Hi Chris,
>
> what do you mean?
>
> Here is the image, I need to separate the road and markings from the rest and divide the image into squares of 100x100 pixels, for each square I need to check if it contains a road and markings:
>
> https://www.dropbox.com/s/iduxj0j8w0ic616/SatelliteProcessing_Image.png?dl=0
>

How will a program know if something contains a road? Are you trying
to solve captchas?

ChrisA


More information about the Python-list mailing list