Various attempts at scanning aerial imagery to detect baseball diamonds.
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
seed_area.py

README.md

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:

https://www.flickr.com/photos/yellowbkpk/14457773107/sizes/o/