├── .github └── workflows │ ├── ci.yml │ └── codeql-analysis.yml ├── .gitignore ├── CONTRIBUTING.md ├── LICENSE ├── LICENSE-3RD-PARTY.txt ├── MANIFEST.in ├── Makefile ├── README.md ├── autocrop ├── __init__.py ├── __version__.py ├── autocrop.py ├── cli.py ├── constants.py └── haarcascade_frontalface_default.xml ├── changelog.md ├── docs └── .gitkeep ├── examples └── visual_tests.ipynb ├── pytest.ini ├── requirements-dev.txt ├── requirements.txt ├── setup.cfg ├── setup.py ├── tests ├── __init__.py ├── conftest.py ├── data │ ├── README.md │ ├── duncan.jpg │ ├── expo_67.png │ ├── king.jpg │ ├── kwong.png │ ├── macbeth.jpg │ ├── mccormack.jpg │ ├── noise.png │ ├── obama.jpg │ ├── remba-gardner.gif │ ├── smith.jpg │ └── vezina.jpg ├── test_autocrop.py └── test_cli.py └── tox.ini /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/LICENSE -------------------------------------------------------------------------------- /LICENSE-3RD-PARTY.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/LICENSE-3RD-PARTY.txt -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/README.md -------------------------------------------------------------------------------- /autocrop/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/autocrop/__init__.py -------------------------------------------------------------------------------- /autocrop/__version__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/autocrop/__version__.py -------------------------------------------------------------------------------- /autocrop/autocrop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/autocrop/autocrop.py -------------------------------------------------------------------------------- /autocrop/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/autocrop/cli.py -------------------------------------------------------------------------------- /autocrop/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/autocrop/constants.py -------------------------------------------------------------------------------- /autocrop/haarcascade_frontalface_default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/autocrop/haarcascade_frontalface_default.xml -------------------------------------------------------------------------------- /changelog.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/changelog.md -------------------------------------------------------------------------------- /docs/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/visual_tests.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/examples/visual_tests.ipynb -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/pytest.ini -------------------------------------------------------------------------------- /requirements-dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/requirements-dev.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | numpy>=1.10 2 | opencv-python-headless>=3, <5 3 | Pillow>=9.0.0 4 | -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/data/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/tests/data/README.md -------------------------------------------------------------------------------- /tests/data/duncan.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/tests/data/duncan.jpg -------------------------------------------------------------------------------- /tests/data/expo_67.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/tests/data/expo_67.png -------------------------------------------------------------------------------- /tests/data/king.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/tests/data/king.jpg -------------------------------------------------------------------------------- /tests/data/kwong.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/tests/data/kwong.png -------------------------------------------------------------------------------- /tests/data/macbeth.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/tests/data/macbeth.jpg -------------------------------------------------------------------------------- /tests/data/mccormack.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/tests/data/mccormack.jpg -------------------------------------------------------------------------------- /tests/data/noise.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/tests/data/noise.png -------------------------------------------------------------------------------- /tests/data/obama.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/tests/data/obama.jpg -------------------------------------------------------------------------------- /tests/data/remba-gardner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/tests/data/remba-gardner.gif -------------------------------------------------------------------------------- /tests/data/smith.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/tests/data/smith.jpg -------------------------------------------------------------------------------- /tests/data/vezina.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/tests/data/vezina.jpg -------------------------------------------------------------------------------- /tests/test_autocrop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/tests/test_autocrop.py -------------------------------------------------------------------------------- /tests/test_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/tests/test_cli.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leblancfg/autocrop/HEAD/tox.ini --------------------------------------------------------------------------------