detect-baseball-diamonds

Various attempts at scanning aerial imagery to detect baseball diamonds.

MIT License

Stars
17

detect-baseball-diamonds

Various attempts at scanning aerial imagery to detect baseball diamonds.

Neural network

Based on a friend's suggestion, I'm going to try training a neural network to detect baseball diamonds from aerial imagery.

Finding source images

To start with, I wrote a script that finds baseball diamonds in OSM and then extracts them from the NationalMap's Orthoimagery ImageServer. The seed_area.py script is the start of this.

Once I grabbed a suitable number of images (a small area around Minneapolis turned up ~1000 images), I got tired of looking through them one-by-one and used ImageMagick's montage tool to put them together into a pretty neat image like this:

montage diamond*.jpg montage.jpg

Resulting in:

Related Projects