Commit Graph

2 Commits

Author SHA1 Message Date
SoftArmpit
9847a7f33f feat: pass whole images and auto-detect shapes
We add auto-detection of mask shapes, enabling the ability to put whole
images in the input folder. This is done through OpenCV by checking for
large contours (>150) matching the mask color.

Depends: https://github.com/deeppomf/DeepMindBreak/pull/8
2018-06-15 16:59:22 +01:00
Soft Armpit
c698c124a9 build: add dockerfile
We add a Python 3 Dockerfile. Example usage:

```bash
docker build -t dmb . && docker run dmb
docker cp $(docker ps -alq):/app/decensor_output/ ./
```

In addition we add `requirements.txt` and `.gitignore` files for
convenience.

Closes: https://github.com/deeppomf/DeepMindBreak/issues/6
Closes: https://github.com/deeppomf/DeepMindBreak/issues/7
2018-06-14 18:22:18 +01:00