{ "info": { "author": "Yu Liang", "author_email": "yu.liang@thekono.com", "bugtrack_url": null, "classifiers": [], "description": "thumbor_rekognition\n===========================================================\n\nEnable thumbor to use AWS rekognition to run face detection\n\n|Build Status| |Coverage Status| |PyPI version|\n\n`thumbor`_ is a smart imaging service. It enables on-demand crop,\nresizing and flipping of images. It also features a smart detection of\nimportant points in the image for better cropping and resizing, using\nopencv face detection algorithms.\n\n`AWS Rekognition`_ can quickly detect faces in image using sophisticated\ndeep learning-based visual search and image classification.\n\nthumbor\\_rekognition helps to use AWS Rekognition service to do face\ndetection in thumbor easily.\n\nInstallation\n------------\n\n.. code:: bash\n\n pip install thumbor_rekognition\n\nEnable detector\n---------------\n\nAdd ``thumbor_rekognition`` to your ``thumbor.conf``. Do not include\nthumbor\u2019s out-of-box face detector.\n\n.. code:: python\n\n DETECTORS = [\n # Do not use out-of-box face detector\n # 'thumbor.detectors.face_detector',\n\n # Include thumbor_rekognition\n 'thumbor_rekognition',\n 'thumbor.detectors.feature_detector',\n ]\n\nThe above configuration tells thumbor that it should run both the facial\ndetection and the feature detection. These are mutually exclusive,\nmeaning that if a face is detected, the feature detector won\u2019t be run.\n\nAWS Rekognition\n---------------\n\nAuthentication\n~~~~~~~~~~~~~~\n\nAuthentication is handled by botocore, see `Boto3 documentation`_.\n\nRegion\n~~~~~~\n\nTo set the region to use Rekognition service, add ``REKOGNITION_REGION``\nto your ``thumbor.conf``. Default is ``us-east-1``.\n\n.. code:: python\n\n # AWS region for the Rekognition service\n REKOGNITION_REGION = 'us-west-2'\n\nUsing it\n--------\n\nAfter installing thumbor\\_rekognition, you can test it by using the\nfollowing URL.\n\n::\n\n http://:/unsafe/300x300/smart/my.domain.com/picture.png\n\nIf you need to see what thumbor is seeing in your image, prepend\n``/debug`` to all the parameters.\n\n::\n\n http://:/unsafe/debug/300x300/smart/my.domain.com/picture.png\n\n.. _thumbor: https://github.com/thumbor/thumbor\n.. _AWS Rekognition: http://docs.aws.amazon.com/rekognition/latest/dg/what-is.html\n.. _Boto3 documentation: https://boto3.readthedocs.org/en/latest/guide/quickstart.html#configuration\n\n.. |Build Status| image:: https://travis-ci.org/yu-liang-kono/thumbor_rekognition.svg?branch=master\n :target: https://travis-ci.org/yu-liang-kono/thumbor_rekognition\n.. |Coverage Status| image:: https://coveralls.io/repos/github/yu-liang-kono/thumbor_rekognition/badge.svg?branch=master\n :target: https://coveralls.io/github/yu-liang-kono/thumbor_rekognition?branch=master\n.. |PyPI version| image:: https://badge.fury.io/py/thumbor_rekognition.svg\n :target: https://badge.fury.io/py/thumbor_rekognition", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/yu-liang-kono/thumbor_rekognition", "keywords": null, "license": "MIT License\n\nCopyright (c) 2017 Yu Liang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.", "maintainer": null, "maintainer_email": null, "name": "thumbor_rekognition", "package_url": "https://pypi.org/project/thumbor_rekognition/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/thumbor_rekognition/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/yu-liang-kono/thumbor_rekognition" }, "release_url": "https://pypi.org/project/thumbor_rekognition/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Enable thumbor to use AWS rekognition to run face detection", "version": "0.1.1" }, "last_serial": 2862298, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "65e5c00c5ce6ddab752773b597477fd9", "sha256": "645f8f09b92086269a54dc466a21d87a749a3fd213e3a1dbe6310e279156265c" }, "downloads": -1, "filename": "thumbor_rekognition-0.1.0.tar.gz", "has_sig": false, "md5_digest": "65e5c00c5ce6ddab752773b597477fd9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4433, "upload_time": "2017-05-09T16:55:41", "url": "https://files.pythonhosted.org/packages/16/37/0c64f2f9b246dbd34160e715fcb429a83945de56dd10afe6df07b7e024e9/thumbor_rekognition-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "c907ca82700b2988385bd189f2a9748f", "sha256": "769895c4384679e3d991ee93fde0115b44d700b8205d2188c756435cc8e64aa8" }, "downloads": -1, "filename": "thumbor_rekognition-0.1.1.tar.gz", "has_sig": false, "md5_digest": "c907ca82700b2988385bd189f2a9748f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4482, "upload_time": "2017-05-09T18:11:04", "url": "https://files.pythonhosted.org/packages/87/24/67a5f0ead679c5a81606e0dbbb2b84ee54ae8cd8e8ff27b22419c4cfa8e7/thumbor_rekognition-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c907ca82700b2988385bd189f2a9748f", "sha256": "769895c4384679e3d991ee93fde0115b44d700b8205d2188c756435cc8e64aa8" }, "downloads": -1, "filename": "thumbor_rekognition-0.1.1.tar.gz", "has_sig": false, "md5_digest": "c907ca82700b2988385bd189f2a9748f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4482, "upload_time": "2017-05-09T18:11:04", "url": "https://files.pythonhosted.org/packages/87/24/67a5f0ead679c5a81606e0dbbb2b84ee54ae8cd8e8ff27b22419c4cfa8e7/thumbor_rekognition-0.1.1.tar.gz" } ] }