Metadata-Version: 2.1
Name: bgAna
Version: 0.0.0
Summary: Background Analyzer. Heuristics to get the background color of any image.
Home-page: https://github.com/Madoshakalaka/bgAna
Author: Matt Yan
Author-email: syan4@ualberta.ca
License: UNKNOWN
Project-URL: Bug Reports, https://github.com/Madoshakalaka/bgAna/issues
Project-URL: Funding, https://github.com/Madoshakalaka/bgAna
Project-URL: Say Thanks!, https://github.com/Madoshakalaka/bgAna
Project-URL: Source, https://github.com/Madoshakalaka/bgAna
Keywords: computer vision
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >=3.5
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: opencv-python
Requires-Dist: scipy

# bgAna - Background Analyzer
![travis-badge](https://travis-ci.org/Madoshakalaka/bgAna.svg?branch=master)

Heuristics to get the background color of any image

It's useful when you want to embed image in a bigger frame. This can be used to determine the color of the bigger frame.

## Showcase

## How to Use

It supports python 3.5 3.6 3.7 and most possibly future versions

`pip install bgAna`

```python
from bgAna import analyze_bg
img = cv2.imread('/home/matt/studyResource/.secretWeebFolder/waifu_no_435.jpg')
res = analyze_bg(img) # caution: color is in BGR


>>> print(type(res), res)
np.ndarray [125,125,125]
```

It also creates command line executable entry point by default

You should be able to run the following commands anywhere.

- `$ bgAna thonk.png`
    - output: `(125, 125, 125)`

- `$ iconGen -h` for more help



