Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luckydonald/image_intensities
Python implementation of the great @derpibooru/image_intensities
https://github.com/luckydonald/image_intensities
Last synced: 30 days ago
JSON representation
Python implementation of the great @derpibooru/image_intensities
- Host: GitHub
- URL: https://github.com/luckydonald/image_intensities
- Owner: luckydonald
- License: gpl-3.0
- Created: 2020-08-02T14:49:58.000Z (over 4 years ago)
- Default Branch: deploy4
- Last Pushed: 2020-10-24T09:11:45.000Z (about 4 years ago)
- Last Synced: 2024-09-14T00:54:27.224Z (2 months ago)
- Language: C
- Homepage:
- Size: 424 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# image_intensities
Python implementation of the great [derpibooru/image_intensities](https://github.com/derpibooru/image_intensities/tree/8aa43674f61f77cfc756c23556b6ae45e1b210b1).# dependencies
### libpng
- MacOS: `brew install libpng` (tested to work with 1.6.37)
- Ubuntu: `sudo apt-get update && sudo apt-get install libpng-dev`
- Dockerfile, Ubuntu based: `apt-get update -y && apt-get install -y libpng-dev && apt-get clean && rm -rfv /var/lib/apt/lists/*````python
from image_intensities import rgb_luma_from_filename, Lumaluma = rgb_luma_from_filename('/path/to/image.png')
# returns something like
luma == Luma(nw=0.42, ne=0.44, sw=0.58, se=0.69)
```