How to check if an image contains an element I am searchig for
Arak Rachael
arakelthedragon at gmail.com
Wed Jun 16 16:18:54 EDT 2021
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
More information about the Python-list
mailing list