Cat facial detection and landmark recognition with Python
- Pillow
- requests
- scikit-image
Use catfd.py
to detect cat faces and facial landmarks in individual images or
an entire folder. The repository comes pre-trained, but can be re-trained using
the train.py
tool.
A Dockerfile
is provided to avoid having to install all dependencies manually,
which can be quite tedious. First make sure that you have Docker installed on
your system, and then to use the image, build it using the build.sh
script,
and then run it using the run.sh
script from within the repository directory.
If you would like to do this manually, you can run the following:
-
Clone and enter the repository:
git clone [email protected]:marando/pycatfd.git cd pycatfd
-
Build the image:
docker build -t pycatfd .
-
Then issue this command to run it:
docker run -it --rm -v "$PWD":/app pycatfd /bin/bash