summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/face_recognition (follow)
Commit message (Expand)AuthorAgeFilesLines
* treewide: remove stdenv where not neededPavol Rusnak2021-01-251-1/+1
* treewide: with stdenv.lib; in meta -> with lib;•••Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix Profpatsch2021-01-111-2/+2
* treewide: Per RFC45, remove all unquoted URLsMichael Reilly2020-04-101-1/+1
* python3Packages.face_recognition: 1.2.3 -> 1.3.0•••https://pypi.org/project/face-recognition/1.3.0/ Maximilian Bosch2020-02-211-3/+3
* pythonPackages.face_recognition: 1.2.2 -> 1.2.3•••There's no git tag for 1.2.3, hence we need to pin to the corresponding revision because we build from a git source. After recent breakage on Hydra[1], the tests were disabled. Although some build machines don't support AVX, we shouldn't use a DLib without AVX as the builder's result is also used on modern machines with AVX support. Before merging changes, maintainers should run the check phase locally in a `nix-shell`. [1] https://hydra.nixos.org/build/89533530 Maximilian Bosch2019-03-031-3/+12
* python.pkgs.face_recognition: remove tox from checkInputsRobert Schütz2018-07-261-2/+2
* pythonPackages.face_recognition: 1.2.1 -> 1.2.2•••The following fixes have been applied according to the changelog (https://github.com/ageitgey/face_recognition/releases) - Added the face_detection CLI command - Removed dependencies on scipy to make installation easier - Cleaned up KNN example and fixed a bug with drawing fonts to label detected faces in the demo Furthermore the maintainer switched to actual GIT tags for PyPI releases as discussed in ageitgey/face_recognition#417 and #37566 Maximilian Bosch2018-04-031-5/+5
* 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)) ``` Maximilian Bosch2018-03-211-0/+33