diff options
| author | Maximilian Bosch <maximilian@mbosch.me> | 2018-03-21 14:44:41 +0100 |
|---|---|---|
| committer | Maximilian Bosch <maximilian@mbosch.me> | 2018-03-21 23:22:45 +0100 |
| commit | c26864122d7c6304fc2ce372075e7a91e0f10714 (patch) | |
| tree | 43d71df159af2f7840bbc7a5c626ea11e0096832 /pkgs/development/python-modules/rangehttpserver | |
| parent | 7e44f19fceaae77422b04f74407f600c404e8ab2 (diff) | |
pythonPackages.face_recognition: init at 1.2.1
Adds the python package `face_recognition` and its dependency
`face_recognition_models`.
This package is a wrapper for `dlib` which is able to detect faces in a
given image. I checked the package with the following expression:
```
with import ./. { };
stdenv.mkDerivation {
name = "facetest";
src = null;
buildInputs = with pythonPackages; [ face_recognition ];
}
```
The package works perfectly fine in a `nix-shell`:
```
$ nix-shell
[nix-shell:~]$ python
Python 2.7.14 (default, Sep 16 2017, 17:49:51)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import face_recognition
>>> img = face_recognition.load_image_file("/home/ma27/me.jpg")
>>> print(face_recognition.face_locations(img))
```
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
