Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 421a4a2a7583
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 1aedde9e3433
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Mar 21, 2018

  1. 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))
    ```
    Ma27 committed Mar 21, 2018
    Configuration menu
    Copy the full SHA
    c268641 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2018

  1. Merge pull request #37566 from Ma27/init-face-recognition

    pythonPackages.face_recognition: init at 1.2.1
    dotlambda committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    1aedde9 View commit details
    Browse the repository at this point in the history