Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benholmen/great-lakes-horizons
https://github.com/benholmen/great-lakes-horizons
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/benholmen/great-lakes-horizons
- Owner: benholmen
- Created: 2019-09-27T23:34:56.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-27T23:48:25.000Z (about 5 years ago)
- Last Synced: 2024-11-05T09:42:25.530Z (about 2 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Great Lakes Horizons Project
I've been taking photos of Great Lakes horizons (mostly Superior, to be honest) in an effort to document and record the light and weather conditions from hour to hour. My intention is to create a large gallery - physical or digital - of the great lake, the sky, and the huge variety of conditions that you find on the lakes.
## What this code does
I'd like to automate the rotation and cropping of the original photos. They are all within a few degrees of a nominal horizon, and have similar crops, but I want them to be exactly the same. This code is experimental and a learning experience.
### First attempt - Algorithmia
I first tried using Algorithmia as documented [here](https://blog.algorithmia.com/how-to-rotate-images-in-python-using-a-horizon-detection-algorithm). I found that it did not reliably detect the horizon with enough accuracy. It might work for you and it's free for hobby use because they give a generous number of monthly credits.
### Second attempt - cv2 Canny/HoughLinesP
This seems much more accurate for the types of images I am using.